linuxOS_AP06/wifibt/firmware/SWT6621S_NV_SDIO.ini
2025-07-16 16:44:47 +08:00

78 lines
8.9 KiB
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;当 PIN_BIN_GEN_EN = 1时生成的nvbin文件的格式包含32 byte 头信息
;0 7 15 23 31(Byte)
; -----------------------------------------------------------------------------
;| RFCFG OFFSET | RFCFG SIZE | CMCFG OFFSET | CMCFG SIZE |
;|-----------------------------------------------------------------------------|
;| PINCFG OFFSET | PINCFG SIZE | BTCFG OFFSET | BTCFG SIZE |
;|-----------------------------------------------------------------------------|
;| 配置内容 |
;|-----------------------------------------------------------------------------|
[COMMON_CONFIG]
;此段数据都是16进制
;0-工具使用,生成的bin文件不包含如下PIN_CONFIG段,;1-大系统使用生成的bin文件包含如下PIN_CONFIG段
PIN_BIN_GEN_EN=1
;[bit0]0-share,1-stand alone ->BT_ANTENNA_TYPE
;[bit1]0-nomal, bt use default path; 1-bt switch hci to uart1, for test mode ->UART1_DTM
;[bit3:2]0-defult auto;1-fixed usb20;2-fixed usb30 ->USB_SPEED_TYPE
;[bit4]0-default(USB/SDIO/PCIE);1-cp log to uart1 ->UART_LOG_ENABLE
;[bit5]0-low level valid;1-high level valid ->GPIO_WAKEHOST_VLD_LEVEL
;[bit6]0-busmonitor off;1-busmonitor on(only for 6652) ->BUSMONITOR_STATE
;[bit7]0-DCXO CFG disable;1-DCXO CFG enable ->DCXO_CFG_ENABLE
BSP_CFG0=1
;[bit15:8]
BSP_CFG1=0
;DCXO CFG enable[BSP_CFG0:bit7=1]时DCXO=FF,为无效值,不使用配置文件中的值,其它值为有效值,使用配置文件中的值,DCXO范围0-127
;[bit23:16] ->DCXO_CFG_VALUE
BSP_DCXO=FF
;[31:24]
BSP_CFG2=0
;[byte0]0:tdd,1:fdd,2:free run ->COEX_TYPE
BT=1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
WIFI=0,0,0,0,0,0,0,0
[PIN_CONFIG]
;此段数据都是16进制
;0-不更新如下的pin功能;1-按照如下配置更新pin功能
PIN_CFG_EN=0
;PAD name offset func select dslp_en drv_strength(default:2) normal:wpu/wpd schmitt trigger enable sleep:wpu/wpd sleep:ie/oe
; 0-aon ---------------------------------------------- 0-non_wpu_wpd 0-none_wp 1-oe
; 1-pd0 | | (BPS / Non-BPS) | (BPS / Non-BPS)| 1-50k_wpd 1-wpd 2-ie
; 2-pd1 | val | 1.8v mode(mA) | 3.3v mode(mA) | 2-40k_wpu 2-wpu 0-hz
; 4-pd2 ---------------------------------------------- 4-4.7k_wpu 4-wpus
; 8-pd3 | 0 | 2.4 / 2.8 | 4.4 / 4.8 | 6-20k_wpu
; 0x10-pd4 | 1 | 3.6 / 4.2 | 6.6 / 7.2 |
; | 2 | 4.8 / 5.6 | 8.8 / 9.6 |
; | 3 | 6 / 7 | 11 / 12 |
; | 4 | 7.2 / 8.4 | 13.2 / 14.4 |
; | 5 | 8.4 / 9.8 | 15.4 / 16.8 |
; | 6 | 9.6 / 11.2 | 17.6 / 19.2 |
; | 7 | 10.8 / 12.6 | 19.8 / 21.6 |
; ----------------------------------------------
PIN_MTMS = 0C, 0, 0, 2, 2, 0, 2, 2
PIN_GPIO2 = 10, 6, 1, 2, 1, 0, 1, 2
PIN_MTCK = 14, 0, 0, 2, 1, 0, 1, 2
PIN_GPIO3 = 18, 6, 1, 2, 1, 0, 1, 2
PIN_SDIOD3 = 1C, 0, 8, 2, 2, 0, 0, 0
PIN_SDIOD2 = 20, 0, 8, 2, 2, 0, 0, 0
PIN_SDIOCMD = 24, 0, 8, 2, 2, 0, 0, 0
PIN_SDIOCLK = 28, 0, 8, 2, 1, 0, 0, 0
PIN_SDIOD0 = 2C, 0, 8, 2, 2, 0, 0, 0
PIN_SDIOD1 = 30, 0, 8, 2, 2, 0, 0, 0
PIN_PCMDO = 34, 0, 1, 2, 1, 0, 1, 0
PIN_PCMCLK = 38, 0, 1, 2, 1, 0, 1, 1
PIN_PCMSYNC = 3C, 0, 1, 2, 1, 0, 1, 0
PIN_PCMDI = 40, 0, 1, 2, 1, 0, 1, 0
PIN_U1TXD = 44, 0, 1, 2, 0, 0, 1, 0
PIN_U1RXD = 48, 0, 1, 2, 2, 0, 1, 0
PIN_GPIO1 = 4C, 0, 0, 2, 2, 0, 2, 2
PIN_GPIO0 = 50, 0, 0, 2, 1, 0, 1, 1
PIN_U0RXD = 54, 0, 1, 2, 1, 0, 0, 0
PIN_U0TXD = 58, 0, 1, 2, 1, 0, 1, 0