• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#Default device node is /dev/srxxx,
13#you can override it if your kernel driver is exposing it as another name.
14#NXP_UWB_DEVICE_NODE="/dev/sr100"
15#
16###############################################################################
17#                          Extended CofigID
18#DELAY_CALIBRATION_VALUE    E400
19#AOA_CALIBRATION_CTRL       E401
20#DPD_WAKEUP_SRC             E402
21#WTX_COUNT_CONFIG           E403
22#WIFI_COEX_FEATURE          E405
23  ##Note: WIFI COEX CONFIG Disabled by default, if required add the
24  ##      config (E4, 05, 04, 00, 3C, 1E, 1E) and update the
25  ##      Lentgh and number of parameter accordingly in the header part.
26  ##      WIFI COEX feature supports only in user binary.
27#CLK_CONFIG_CTRL            E430
28  ##Note: Config for clock source selection and refer UCI specification
29  ##      for more information.
30#UWB_WLAN_5GHZ_CHANNEL_INTERFERENCE_LIST  E432
31  ##Note: List of problematic channels in 5GHz Range, if required add
32  ##      config (E4, 32, 03, 120, 124, 128) and update the
33  ##      Length and number of parameters accordingly in header part.
34#TX_PULSE_SHAPE_CONFIG      E428
35# Refer the NXP UCI specification for below configs
36#ANTENNA_RX_IDX_DEFINE   E460
37#ANTENNA_TX_IDX_DEFINE   E461
38#ANTENNA_RX_PAIR_DEFINE  E462
39#WIFI_CO_EX_CH_CFG       E464
40 ## Note: Select wifi co-ex channel config
41 ##       b0: Channel 5, Set to 1 enable Wifi Co-ex on Channel 5
42 ##       b1: Channel 6, Set to 1 enable Wifi Co-ex on Channel 6
43 ##       b2: Channel 8, Set to 1 enable Wifi Co-ex on Channel 8
44 ##       b3: Channel 9, Set to 1 enable Wifi Co-ex on Channel 9
45 ##       b4:b7 - RFU
46 ##       WIFI_CO_EX_CH_CFG to be set when WIFI_COEX_FEATURE is enabled.
47 ##       If required, add config(E4, 64, 01, 01) to update Wifi Co-ex for
48 ##       all the channels and update the lentgh and number of parameter
49 ##       accordingly in the header part.
50UWB_CORE_EXT_DEVICE_DEFAULT_CONFIG={20, 04, 00, 3F, 06,
51    E4, 02, 01, 00,
52    E4, 03, 01, b4,
53    E4, 28, 04, 02, 02, 02, 00,
54    E4, 60, 13, 03, 01, 01, 02, 00, 02, 00, 02, 02, 01, 00, 01, 00, 03, 01, 02, 00, 00, 00,
55    E4, 61, 06, 01, 01, 01, 00, 00, 00,
56    E4, 62, 0D, 02, 01, 01, 02, 00, 00, 00, 02, 03, 02, 00, 00, 00
57}
58
59UWB_CORE_EXT_DEVICE_SR1XX_T_CONFIG={20, 04, 00, 3F, 06,
60    E4, 02, 01, 00,
61    E4, 03, 01, b4,
62    E4, 28, 04, 02, 02, 02, 00,
63    E4, 60, 13, 03, 01, 01, 02, 00, 02, 00, 02, 02, 01, 00, 01, 00, 03, 01, 02, 00, 00, 00,
64    E4, 61, 06, 01, 01, 01, 00, 00, 00,
65    E4, 62, 0D, 02, 01, 01, 02, 00, 00, 00, 02, 03, 02, 00, 00, 00
66}
67UWB_CORE_EXT_DEVICE_SR1XX_S_CONFIG={20, 04, 00, 23, 05,
68    E4, 02, 01, 00,
69    E4, 03, 01, b4,
70    E4, 28, 04, 02, 02, 02, 00,
71    E4, 60, 07, 01, 01, 02, 01, 00, 01, 00,
72    E4, 61, 06, 01, 01, 01, 00, 00, 00
73}
74
75##Note: Session specific default app config configured here
76#ANTENNAS_CONFIGURATION_RX E31C
77
78NXP_UWB_EXT_APP_DEFAULT_CONFIG={01, E3, 1C, 04, 00, 02, 01, 00}
79NXP_UWB_EXT_APP_SR1XX_T_CONFIG={01, E3, 1C, 04, 00, 02, 01, 00}
80NXP_UWB_EXT_APP_SR1XX_S_CONFIG={01, E3, 1C, 03, 01, 01, 01}
81
82##Note: Below configs are applicable in User_Mode FW only
83##Note: WIFI COEX CONFIG Disabled by default, if required add the
84  ##      config (E4, 05, 04, 00, 3C, 1E, 1E) and update the
85  ##      Lentgh and number of parameter accordingly in the header part.
86  ##      WIFI COEX feature supports only in user binary.
87#WIFI_COEX_UART_USER_CFG E437
88  ## UART based WiFi-CoEx Interface User Configuration. default value 0
89#FREQ_OF_UWB_REQ_WLAN_CHANNEL_INFO E439
90  ## Configure the frequency of UWB Requests to WLAN for getting WLAN Channel Information. Default value 3
91  ## if required add the
92  ##      config (E4, 39, 01, 03) and update the
93  ##      Length and number of parameter accordingly in the header part
94
95UWB_USER_FW_BOOT_MODE_CONFIG={20, 04, 00, 08, 01,
96    E4, 05, 04, 00, 3C, 1E, 1E
97}
98
99###############################################################################
100# Helios PROD Mode FW version
101# Make sure you push the Production FW while using this Macro
102NXP_UWB_PROD_FW_FILENAME="libsr100t_prod_fw.bin"
103
104# Helios Dev Mode FW version
105# Make sure you push the Dev Mode FW while using this Macro
106NXP_UWB_DEV_FW_FILENAME="libsr100t_dev_fw.bin"
107###############################################################################
108
109###############################################################################
110#enable or disable fw download logging
111UWB_FW_DOWNLOAD_LOG=0x00
112###############################################################################
113
114###############################################################################
115# set Crystal calibration seetings
116# byte[6] 38.4 MHz XTAL CAP1
117# byte[7] 38.4 MHz XTAL CAP2
118# byte[8] 38.4 MHz XTAL GM CONTROL
119
120NXP_UWB_XTAL_38MHZ_CONFIG={2E, 11, 00, 05, 05, 02, FF, FF, 21}
121
122###############################################################################
123# This config enable/disable the Vendor extended notifications
124# 00 for disable
125# 01 for enable
126NXP_UWB_EXTENDED_NTF_CONFIG={20, 04, 00, 05, 01, E4, 33, 01, 01}
127
128###############################################################################
129###############################################################################
130# Core Device configurations
131# Below sections needs to be updated with the correct values for needed core device configurations
132
133#NXP_CORE_CONF_BLK_1={}
134
135#NXP_CORE_CONF_BLK_2={}
136
137#NXP_CORE_CONF_BLK_3={}
138
139#NXP_CORE_CONF_BLK_4={}
140
141#NXP_CORE_CONF_BLK_5={}
142
143#NXP_CORE_CONF_BLK_6={}
144
145#NXP_CORE_CONF_BLK_7={}
146
147#NXP_CORE_CONF_BLK_8={}
148
149#NXP_CORE_CONF_BLK_9={}
150
151#NXP_CORE_CONF_BLK_10={}
152
153
154NXP_LOG_JNI_LOGLEVEL=0x05
155NXP_LOG_UCI_CORE_LOGLEVEL=0x05
156NXP_LOG_UCIHAL_LOGLEVEL=0x05
157NXP_LOG_FWDNLD_LOGLEVEL=0x05
158NXP_LOG_TML_LOGLEVEL=0x05
159NXP_LOG_UCIX_LOGLEVEL=0x05
160NXP_LOG_UCIR_LOGLEVEL=0x05
161
162