• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1###############################################################################
2#Board Variants and Versions are defined below:
3#BOARD_VARIANT_NXPREF    0x01
4#BOARD_NXPREF_VERSIONS(0x01, 0x02)
5
6#BOARD_VARIANT_CUSTREF1  0x2A
7#BOARD_CUSTREF1_VERSIONS(0x01,0x02,0x03)
8
9UWB_BOARD_VARIANT_CONFIG=0x01
10UWB_BOARD_VARIANT_VERSION=0x01
11
12###############################################################################
13#Extended ConfigID
14#DELAY_CALIBRATION_VALUE    E400
15#AOA_CALIBRATION_CTRL       E401
16#DPD_WAKEUP_SRC             E402
17#WTX_COUNT_CONFIG           E403
18#DPD_ENTRY_TIMEOUT          E404
19#WIFI_COEX_FEATURE          E405
20  ##Note: WIFI COEX CONFIG Disabled by default, if required add the
21  ##      config (E4, 05, 04, 00, 3C, 1E, 1E) and update the
22  ##      Lentgh and number of parameter accordingly in the header part.
23  ##      WIFI COEX feature supports only in user binary.
24#GPIO_USAGE_CONFIG          E408
25  ##Note: Configure the GPIO for multiple purposes depending on usecase ID
26  ##      config(E4, 08, 03, 00, 00, 00)
27  ##      Length and number of parameter accordingly in the header part.
28#CLK_CONFIG_CTRL            E430
29  ##Note: Config for clock source selection and refer UCI specification
30  ##      for more information.
31#UWB_WLAN_5GHZ_CHANNEL_INTERFERENCE_LIST  E432
32  ##Note: List of problematic channels in 5GHz Range, if required add
33  ##      config (E4, 32, 03, 120, 124, 128) and update the
34  ##      Length and number of parameters accordingly in header part.
35#TX_PULSE_SHAPE_CONFIG      E428
36# Refer the NXP UCI specification for below configs
37#ANTENNA_RX_IDX_DEFINE   E460
38#ANTENNA_TX_IDX_DEFINE   E461
39#ANTENNA_RX_PAIR_DEFINE  E462
40#WIFI_CO_EX_CH_CFG       E464
41#ANTENNAS_CONFIGURATION_RX E465
42 ## Note: Select wifi co-ex channel config
43 ##       b0: Channel 5, Set to 1 enable Wifi Co-ex on Channel 5
44 ##       b1: Channel 6, Set to 1 enable Wifi Co-ex on Channel 6
45 ##       b2: Channel 8, Set to 1 enable Wifi Co-ex on Channel 8
46 ##       b3: Channel 9, Set to 1 enable Wifi Co-ex on Channel 9
47 ##       b4:b7 - RFU
48 ##       WIFI_CO_EX_CH_CFG to be set when WIFI_COEX_FEATURE is enabled.
49 ##       If required, add config(E4, 64, 01, 01) to update Wifi Co-ex for
50 ##       all the channels and update the lentgh and number of parameter
51 ##       accordingly in the header part.
52UWB_CORE_EXT_DEVICE_DEFAULT_CONFIG={06,
53    E4, 03, 01, b4,
54    E4, 04, 02, f4, 01,
55    E4, 60, 13, 03, 01, 01, 02, 00, 02, 00, 02, 02, 01, 00, 01, 00, 03, 01, 02, 00, 00, 00,
56    E4, 61, 06, 01, 01, 01, 00, 00, 00,
57    E4, 62, 0D, 02, 01, 01, 02, 00, 00, 00, 02, 03, 02, 00, 00, 00,
58    E4, 65, 07, 01, 03, 04, 01, 02, 01, 02
59}
60
61UWB_CORE_EXT_DEVICE_SR1XX_T_CONFIG={06,
62    E4, 03, 01, b4,
63    E4, 04, 02, f4, 01,
64    E4, 60, 13, 03, 01, 01, 02, 00, 02, 00, 02, 02, 01, 00, 01, 00, 03, 01, 02, 00, 00, 00,
65    E4, 61, 06, 01, 01, 01, 00, 00, 00,
66    E4, 62, 0D, 02, 01, 01, 02, 00, 00, 00, 02, 03, 02, 00, 00, 00,
67    E4, 65, 07, 01, 03, 04, 01, 02, 01, 02
68}
69
70UWB_CORE_EXT_DEVICE_SR1XX_S_CONFIG={05,
71    E4, 03, 01, b4,
72    E4, 04, 02, f4, 01,
73    E4, 60, 07, 01, 01, 02, 01, 00, 01, 00,
74    E4, 61, 06, 01, 01, 01, 00, 00, 00,
75    E4, 65, 06, 01, 03, 03, 00, 01, 01
76}
77
78#LIST OF UWB CAPABILITY INFO NOT RECEIVED FROM UWBS
79# mapping device caps according to Fira 2.0
80# TODO: Remove once FW support available
81UWB_VENDOR_CAPABILITY={A7, 04, 01, 00, 00, 00,
82  A8, 04, 05, 00, 00, 00,
83  E3, 01, 01,
84  E4, 04, 64, 00, 00, 00,
85  E5, 04, 03, 00, 00, 00,
86  E6, 01, 01,
87  E7, 01, 01,
88  E8, 04, B0, 04, 00, 00,
89  E9, 04, 05, 00, 00, 00,
90  EA, 02, 09, 00
91}
92
93##Note: Below configs are applicable in User_Mode FW only
94##Note: WIFI COEX CONFIG Disabled by default, if required add the
95  ##      config (E4, 05, 04, 00, 3C, 1E, 1E) and update the
96  ##      Lentgh and number of parameter accordingly in the header part.
97  ##      WIFI COEX feature supports only in user binary.
98#GPIO_USAGE_CONFIG E4 08
99  ## Customer need to set the DPD_WAKEUP_SOURCE as 02 (GPIO1) before applying the GPIO_USAGE_CONFIG command to
100  ## enable time sync notification feature
101UWB_USER_FW_BOOT_MODE_CONFIG={20, 04, 00, 12, 03,
102    E4, 05, 04, 00, 3C, 1E, 1E,
103    E4, 02, 01, 00,
104    E4, 08, 03, 00, 00, 00
105}
106
107###############################################################################
108# Helios PROD Mode FW version
109# Make sure you push the Production FW while using this Macro
110NXP_UWB_PROD_FW_FILENAME="libsr100t_prod_fw.bin"
111
112# Helios Dev Mode FW version
113# Make sure you push the Dev Mode FW while using this Macro
114NXP_UWB_DEV_FW_FILENAME="libsr100t_dev_fw.bin"
115###############################################################################
116
117###############################################################################
118#enable or disable fw download logging
119UWB_FW_DOWNLOAD_LOG=0x00
120###############################################################################
121
122###############################################################################
123# Enable or disable delete ursk for ccc session
124DELETE_URSK_FOR_CCC_SESSION=0x00
125
126# Enable or disable delete ursk for aliro session
127DELETE_URSK_FOR_ALIRO_SESSION=0x00
128###############################################################################
129
130###############################################################################
131#enable or disable sts index overriding for ccc session
132OVERRIDE_STS_INDEX_FOR_CCC_SESSION=0x01
133###############################################################################
134
135###############################################################################
136# set Crystal calibration settings
137# byte[0] No Of registers
138# byte[2-1] 38.4 MHz XTAL CAP1
139# byte[4-3] 38.4 MHz XTAL CAP2
140# byte[6-5] 38.4 MHz XTAL GM
141
142# NXP_UWB_XTAL_38MHZ_CONFIG={2F, 21, 00, 0A, 05, 01, 07, 03, 0F, 00, 0F, 00, 21, 00}
143
144###############################################################################
145# This config enable/disable the Vendor extended notifications
146# 00 for disable
147# 01 for enable
148NXP_UWB_EXTENDED_NTF_CONFIG={20, 04, 00, 05, 01, E4, 33, 01, 01}
149
150###############################################################################
151###############################################################################
152# Core Device configurations
153# Below sections needs to be updated with the correct values for needed core device configurations
154
155#NXP_CORE_CONF_BLK_1={}
156
157#NXP_CORE_CONF_BLK_2={}
158
159#NXP_CORE_CONF_BLK_3={}
160
161#NXP_CORE_CONF_BLK_4={}
162
163#NXP_CORE_CONF_BLK_5={}
164
165#NXP_CORE_CONF_BLK_6={}
166
167#NXP_CORE_CONF_BLK_7={}
168
169#NXP_CORE_CONF_BLK_8={}
170
171#NXP_CORE_CONF_BLK_9={}
172
173#NXP_CORE_CONF_BLK_10={}
174
175
176NXP_LOG_JNI_LOGLEVEL=0x05
177NXP_LOG_UCI_CORE_LOGLEVEL=0x05
178NXP_LOG_UCIHAL_LOGLEVEL=0x05
179NXP_LOG_FWDNLD_LOGLEVEL=0x05
180NXP_LOG_TML_LOGLEVEL=0x05
181NXP_LOG_UCIX_LOGLEVEL=0x05
182NXP_LOG_UCIR_LOGLEVEL=0x05
183NXP_LOG_EXTNS_LOGLEVEL=0x05
184
185###############################################################################
186# This config provides path of country code config file
187# Multiple path can be added to this.
188# Highest version country code conf file will be considered.
189COUNTRY_CODE_CAP_FILE_LOCATION={"vendor/etc/"}
190###############################################################################
191
192###############################################################################
193# This config provides option to configure binding and locking during uwb init
194# sequence with Mainline FW
195# by default this option is disabled, enable if required
196# binding and locking during uwb init [not allowed = 0x00, allowed = 0x01]
197###############################################################################
198UWB_BINDING_LOCKING_ALLOWED=0x00
199###############################################################################
200
201###############################################################################
202#enable or disable uwb uci debug logging to file
203#0x00 - Disables writing log to file
204#0x01 - Enable log
205UWB_UCIX_UCIR_ERROR_LOG=0x00
206###############################################################################
207#Size of uwb uci debug log file
208#Max value is 1MB
209#Less than 100kb restricted data printed in file
210#Define values in bytes 50kb - 50000
211UWB_DEBUG_LOG_FILE_SIZE=1000000
212