1###############################################################################
2#Board Varaints 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 CofigID
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
40UWB_CORE_EXT_DEVICE_DEFAULT_CONFIG={20, 04, 00, 24, 05,
41    E4, 03, 01, b4,
42    E4, 04, 02, f4, 01,
43    E4, 28, 04, 02, 02, 02, 00,
44    E4, 60, 07, 01, 01, 02, 01, 00, 01, 00,
45    E4, 61, 06, 01, 01, 01, 00, 00, 00
46}
47
48##Note: Session specific default app config configured here
49#ANTENNAS_CONFIGURATION_RX
50
51NXP_UWB_EXT_APP_DEFAULT_CONFIG={01, 03, 03, 01, 01, 01}
52
53##Note: Below configs are applicable in User_Mode FW only
54##Note: WIFI COEX CONFIG Disabled by default, if required add the
55  ##      config (E4, 05, 04, 00, 3C, 1E, 1E) and update the
56  ##      Lentgh and number of parameter accordingly in the header part.
57  ##      WIFI COEX feature supports only in user binary.
58#WIFI_COEX_UART_USER_CFG E437
59  ## UART based WiFi-CoEx Interface User Configuration. default value 0
60#FREQ_OF_UWB_REQ_WLAN_CHANNEL_INFO E439
61  ## Configure the frequency of UWB Requests to WLAN for getting WLAN Channel Information. Default value 3
62  ## if required add the
63  ##      config (E4, 39, 01, 03) and update the
64  ##      Length and number of parameter accordingly in the header part
65#GPIO_USAGE_CONFIG E4 08
66  ## Customer need to set the DPD_WAKEUP_SOURCE as 02 (GPIO1) before applying the GPIO_USAGE_CONFIG command to
67  ## enable time sync notification feature
68UWB_USER_FW_BOOT_MODE_CONFIG={20, 04, 00, 12, 03,
69    E4, 05, 04, 00, 3C, 1E, 1E,
70    E4, 02, 01, 00,
71    E4, 08, 03, 00, 00, 00
72}
73
74#LIST OF UWB CAPABILITY INFO NOT RECEIVED FROM UWBS
75# mapping device caps according to Fira 2.0
76# TODO: Remove once FW support available
77UWB_VENDOR_CAPABILITY={ A7, 04, 01, 00, 00, 00,
78  A8, 04, 05, 00, 00, 00,
79  E3, 01, 01,
80  E4, 04, 64, 00, 00, 00,
81  E5, 04, 03, 00, 00, 00,
82  E6, 01, 01,
83  E7, 01, 01,
84  E8, 04, B0, 04, 00, 00,
85  E9, 04, 05, 00, 00, 00,
86  EA, 02, 09, 00
87}
88
89###############################################################################
90# Helios PROD Mode FW version
91# Make sure you push the Production FW while using this Macro
92NXP_UWB_PROD_FW_FILENAME="libsr100t_prod_fw.bin"
93
94# Helios Dev Mode FW version
95# Make sure you push the Dev Mode FW while using this Macro
96NXP_UWB_DEV_FW_FILENAME="libsr100t_dev_fw.bin"
97###############################################################################
98
99###############################################################################
100#enable or disable fw download logging
101UWB_FW_DOWNLOAD_LOG=0x00
102###############################################################################
103
104###############################################################################
105# set Crystal calibration settings
106# byte[0] No Of registers
107# byte[2-1] 38.4 MHz XTAL CAP1
108# byte[4-3] 38.4 MHz XTAL CAP2
109# byte[6-5] 38.4 MHz XTAL GM
110
111# NXP_UWB_XTAL_38MHZ_CONFIG={2F, 21, 00, 0A, 05, 01, 07, 03, 0F, 00, 0F, 00, 21, 00}
112
113###############################################################################
114# This config enable/disable the Vendor extended notifications
115# 00 for disable
116# 01 for enable
117NXP_UWB_EXTENDED_NTF_CONFIG={20, 04, 00, 05, 01, E4, 33, 01, 01}
118
119###############################################################################
120###############################################################################
121# Core Device configurations
122# Below sections needs to be updated with the correct values for needed core device configurations
123
124#NXP_CORE_CONF_BLK_1={}
125
126#NXP_CORE_CONF_BLK_2={}
127
128#NXP_CORE_CONF_BLK_3={}
129
130#NXP_CORE_CONF_BLK_4={}
131
132#NXP_CORE_CONF_BLK_5={}
133
134#NXP_CORE_CONF_BLK_6={}
135
136#NXP_CORE_CONF_BLK_7={}
137
138#NXP_CORE_CONF_BLK_8={}
139
140#NXP_CORE_CONF_BLK_9={}
141
142#NXP_CORE_CONF_BLK_10={}
143
144
145NXP_LOG_JNI_LOGLEVEL=0x05
146NXP_LOG_UCI_CORE_LOGLEVEL=0x05
147NXP_LOG_UCIHAL_LOGLEVEL=0x05
148NXP_LOG_FWDNLD_LOGLEVEL=0x05
149NXP_LOG_TML_LOGLEVEL=0x05
150NXP_LOG_UCIX_LOGLEVEL=0x05
151NXP_LOG_UCIR_LOGLEVEL=0x05
152