blob: d4bd45dd6e7fd6f9877b811d4876b9836b937478 [file] [log] [blame]
###############################################################################
#Board Variants and Versions are defined below:
#BOARD_VARIANT_NXPREF 0x01
#BOARD_NXPREF_VERSIONS(0x01, 0x02)
#BOARD_VARIANT_CUSTREF1 0x2A
#BOARD_CUSTREF1_VERSIONS(0x01,0x02,0x03)
UWB_BOARD_VARIANT_CONFIG=0x01
UWB_BOARD_VARIANT_VERSION=0x01
###############################################################################
#Extended ConfigID
#DELAY_CALIBRATION_VALUE E400
#AOA_CALIBRATION_CTRL E401
#DPD_WAKEUP_SRC E402
#WTX_COUNT_CONFIG E403
#DPD_ENTRY_TIMEOUT E404
#WIFI_COEX_FEATURE E405
##Note: WIFI COEX CONFIG Disabled by default, if required add the
## config (E4, 05, 04, 00, 3C, 1E, 1E) and update the
## Lentgh and number of parameter accordingly in the header part.
## WIFI COEX feature supports only in user binary.
#GPIO_USAGE_CONFIG E408
##Note: Configure the GPIO for multiple purposes depending on usecase ID
## config(E4, 08, 03, 00, 00, 00)
## Length and number of parameter accordingly in the header part.
#CLK_CONFIG_CTRL E430
##Note: Config for clock source selection and refer UCI specification
## for more information.
#UWB_WLAN_5GHZ_CHANNEL_INTERFERENCE_LIST E432
##Note: List of problematic channels in 5GHz Range, if required add
## config (E4, 32, 03, 120, 124, 128) and update the
## Length and number of parameters accordingly in header part.
#TX_PULSE_SHAPE_CONFIG E428
# Refer the NXP UCI specification for below configs
#ANTENNA_RX_IDX_DEFINE E460
#ANTENNA_TX_IDX_DEFINE E461
#ANTENNA_RX_PAIR_DEFINE E462
#WIFI_CO_EX_CH_CFG E464
#ANTENNAS_CONFIGURATION_RX E465
## Note: Select wifi co-ex channel config
## b0: Channel 5, Set to 1 enable Wifi Co-ex on Channel 5
## b1: Channel 6, Set to 1 enable Wifi Co-ex on Channel 6
## b2: Channel 8, Set to 1 enable Wifi Co-ex on Channel 8
## b3: Channel 9, Set to 1 enable Wifi Co-ex on Channel 9
## b4:b7 - RFU
## WIFI_CO_EX_CH_CFG to be set when WIFI_COEX_FEATURE is enabled.
## If required, add config(E4, 64, 01, 01) to update Wifi Co-ex for
## all the channels and update the lentgh and number of parameter
## accordingly in the header part.
UWB_CORE_EXT_DEVICE_DEFAULT_CONFIG={06,
E4, 03, 01, b4,
E4, 04, 02, f4, 01,
E4, 60, 13, 03, 01, 01, 02, 00, 02, 00, 02, 02, 01, 00, 01, 00, 03, 01, 02, 00, 00, 00,
E4, 61, 06, 01, 01, 01, 00, 00, 00,
E4, 62, 0D, 02, 01, 01, 02, 00, 00, 00, 02, 03, 02, 00, 00, 00,
E4, 65, 07, 01, 03, 04, 01, 02, 01, 02
}
UWB_CORE_EXT_DEVICE_SR1XX_T_CONFIG={06,
E4, 03, 01, b4,
E4, 04, 02, f4, 01,
E4, 60, 13, 03, 01, 01, 02, 00, 02, 00, 02, 02, 01, 00, 01, 00, 03, 01, 02, 00, 00, 00,
E4, 61, 06, 01, 01, 01, 00, 00, 00,
E4, 62, 0D, 02, 01, 01, 02, 00, 00, 00, 02, 03, 02, 00, 00, 00,
E4, 65, 07, 01, 03, 04, 01, 02, 01, 02
}
UWB_CORE_EXT_DEVICE_SR1XX_S_CONFIG={05,
E4, 03, 01, b4,
E4, 04, 02, f4, 01,
E4, 60, 07, 01, 01, 02, 01, 00, 01, 00,
E4, 61, 06, 01, 01, 01, 00, 00, 00,
E4, 65, 06, 01, 03, 03, 00, 01, 01
}
#LIST OF UWB CAPABILITY INFO NOT RECEIVED FROM UWBS
# mapping device caps according to Fira 2.0
# TODO: Remove once FW support available
UWB_VENDOR_CAPABILITY={A7, 04, 01, 00, 00, 00,
A8, 04, 05, 00, 00, 00,
E3, 01, 01,
E4, 04, 64, 00, 00, 00,
E5, 04, 03, 00, 00, 00,
E6, 01, 01,
E7, 01, 01,
E8, 04, B0, 04, 00, 00,
E9, 04, 05, 00, 00, 00,
EA, 02, 09, 00
}
##Note: Below configs are applicable in User_Mode FW only
##Note: WIFI COEX CONFIG Disabled by default, if required add the
## config (E4, 05, 04, 00, 3C, 1E, 1E) and update the
## Lentgh and number of parameter accordingly in the header part.
## WIFI COEX feature supports only in user binary.
#GPIO_USAGE_CONFIG E4 08
## Customer need to set the DPD_WAKEUP_SOURCE as 02 (GPIO1) before applying the GPIO_USAGE_CONFIG command to
## enable time sync notification feature
UWB_USER_FW_BOOT_MODE_CONFIG={20, 04, 00, 12, 03,
E4, 05, 04, 00, 3C, 1E, 1E,
E4, 02, 01, 00,
E4, 08, 03, 00, 00, 00
}
###############################################################################
# Helios PROD Mode FW version
# Make sure you push the Production FW while using this Macro
NXP_UWB_PROD_FW_FILENAME="libsr100t_prod_fw.bin"
# Helios Dev Mode FW version
# Make sure you push the Dev Mode FW while using this Macro
NXP_UWB_DEV_FW_FILENAME="libsr100t_dev_fw.bin"
###############################################################################
###############################################################################
#enable or disable fw download logging
UWB_FW_DOWNLOAD_LOG=0x00
###############################################################################
###############################################################################
#enable or disable delete ursk for ccc session
DELETE_URSK_FOR_CCC_SESSION=0x00
###############################################################################
###############################################################################
#enable or disable sts index overriding for ccc session
OVERRIDE_STS_INDEX_FOR_CCC_SESSION=0x01
###############################################################################
###############################################################################
# set Crystal calibration settings
# byte[0] No Of registers
# byte[2-1] 38.4 MHz XTAL CAP1
# byte[4-3] 38.4 MHz XTAL CAP2
# byte[6-5] 38.4 MHz XTAL GM
# NXP_UWB_XTAL_38MHZ_CONFIG={2F, 21, 00, 0A, 05, 01, 07, 03, 0F, 00, 0F, 00, 21, 00}
###############################################################################
# This config enable/disable the Vendor extended notifications
# 00 for disable
# 01 for enable
NXP_UWB_EXTENDED_NTF_CONFIG={20, 04, 00, 05, 01, E4, 33, 01, 01}
###############################################################################
###############################################################################
# Core Device configurations
# Below sections needs to be updated with the correct values for needed core device configurations
#NXP_CORE_CONF_BLK_1={}
#NXP_CORE_CONF_BLK_2={}
#NXP_CORE_CONF_BLK_3={}
#NXP_CORE_CONF_BLK_4={}
#NXP_CORE_CONF_BLK_5={}
#NXP_CORE_CONF_BLK_6={}
#NXP_CORE_CONF_BLK_7={}
#NXP_CORE_CONF_BLK_8={}
#NXP_CORE_CONF_BLK_9={}
#NXP_CORE_CONF_BLK_10={}
NXP_LOG_JNI_LOGLEVEL=0x05
NXP_LOG_UCI_CORE_LOGLEVEL=0x05
NXP_LOG_UCIHAL_LOGLEVEL=0x05
NXP_LOG_FWDNLD_LOGLEVEL=0x05
NXP_LOG_TML_LOGLEVEL=0x05
NXP_LOG_UCIX_LOGLEVEL=0x05
NXP_LOG_UCIR_LOGLEVEL=0x05
NXP_LOG_EXTNS_LOGLEVEL=0x05
###############################################################################
# This config provides path of country code config file
# Multiple path can be added to this.
# Highest version country code conf file will be considered.
COUNTRY_CODE_CAP_FILE_LOCATION={"vendor/etc/"}
###############################################################################
###############################################################################
# This config provides option to configure binding and locking during uwb init
# sequence with Mainline FW
# by default this option is disabled, enable if required
# binding and locking during uwb init [not allowed = 0x00, allowed = 0x01]
###############################################################################
UWB_BINDING_LOCKING_ALLOWED=0x00