Files
kunlun/tools/oem/EVB3211STA03_RFIN_OEM.ini
2024-09-28 14:37:24 +08:00

195 lines
6.6 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.

# kl3 k76 RFIN evb board.
# Some pins have multiple functions that can only be enabled one at a time,
# and their functions are blocked.
general
bid 98 #BOARD_EVB3211RFIN
mid 0 #MODULE_TYPE_STA
vid HZ
fver 1
#=============================== default rc====================================#
# overview
# pin_num pin_name func_default func_2 func_3
# 1 ADC7\GPIO71 V_FAST_DROP(Voltage fast drop input)
# 5 GPIO22 ZA_LOAD
# 6 GPIO67 ZA_RISE
# 7 GPIO23 SPI2_CS(spi_flash)
# 8 GPIO21 SPI2_DO(spi_flash MOSI)
# 9 GPIO20 SPI2_DI(spi_flash MISO)
# 10 GPIO25 SPI2_CLK(spi_flash)
# 11 GPIO39 485_RXD SPI_CS(spi_flash)
# 12 GPIO38 485_TXD SPI_D1(spi_flash)
# 13 GPIO37 485_CTR SPI_D2(spi_flash)
# 14 GPIO36 I2C_SDA SPI_D0(spi_flash)
# 15 GPIO35 I2C_SCL SPI_CLK(spi_flash)
# 16 GPIO34 NC SPI_D3(spi_flash)
# 17 GPIO33 KEY_1(press down is low)
# 18 GPIO32 SEND(small load emission)
# 19 GPIO31 UART2_TXD
# 21 GPIO30 UART2_RXD
# 22 GPIO29 UART1_TXD
# 26 GPIO27 UART1_RXD
# 28 GPIO01\TMS JTAG_TMS
# 29 GPIO00\TCK JTAG_TCK
# 30 GPIO03\TDO JTAG TDO TX_LED(low light)
# 31 GPIO02\TDI JTAG TDI RX_LED(low light)
# 32 GPIO04\TRST JTAG TRST IR_TX
# 33 GPIO07 IR_RX
# 35 GPIO06 UART0_TXD
# 36 GPIO05 UART0_RXD
# 37 GPIO08 NC
# 39 GPIO26 SW_VC1(rf module, send and receive mode transitions)
# 40 GPIO40 SW_VC2(rf module, send and receive mode transitions)
# 50 TPID_ADC5\GPIO77 AP(Phase A current acquisition/branch identification +)
# NP(DC current sampling 30mV +)
# 51 TPID_ADC4\GPIO76 AN(Phase A current acquisition/branch identification -)
# NN(DC current sampling 30mV -)
# 52 TPID_ADC3\GPIO75 BP(Phase B current acquisition/branch identification +)
# 53 TPID_ADC2\GPIO74 BN(Phase B current acquisition/branch identification -)
# 54 TPID_ADC1\GPIO73 CP(Phase C current acquisition/branch identification +)
# 55 TPID_ADC0\GPIO72 CN(Phase C current acquisition/branch identification -)
# 72 ADC2\GPIO66 ZA_RISE(Phase A rising edge zero-crossing signal)
# 73 ADC3\GPIO67 ZA_LOAD(Station area identification zero-crossing signal)
# 74 ADC4\GPIO68 NC
# 75 ADC5\GPIO69 V_A(220V voltage measurement)
# 76 ADC6/GPIO70 ADC_CC(DC current sampling single-ended input (0-2.25V))
rc_hdr
hw_ver 0x00000000 #00.00.00.00 Hardware identification, HEX
mode 0
d_hw_ver 0xffffffff
gpio #GPIO resource allocation
# A:gpio number;
# B:belongs to the core;
# C:function (to see iot_board_api.h about gpio type)
# A B C
25 1 68 #GPIO_SPI_FLASH_CLK
23 1 69 #GPIO_SPI_FLASH_CS
21 1 70 #GPIO_SPI_FLASH_MOSI
20 1 71 #GPIO_SPI_FLASH_MISO
#RF SPI (芯片内部未引出)
9 1 107 #GPIO_SPI_RF_CLK
10 1 110 #GPIO_SPI_RF_MOSI
11 1 109 #GPIO_SPI_RF_MISO
12 1 108 #GPIO_SPI_RF_CS
37 1 7 #GPIO_RS485_TXE
#load send gpio
32 1 82 #GPIO_TSFM_LOAD_TRIGGER
4 1 8 #GPIO_IR_TXD
7 1 9 #GPIO_IR_RXD
67 1 18 #GPIO_PA_ZC
uart #UART resource allocation
# A:uart number;
# B:belongs to the core;
# C:function (to see iot_uart_api.h about uart type)
# A B C
3 1 4 #UART_RS485_PORT
tx 38
rx 39
2 1 1 #UART_CLI_PORT
tx 31
rx 30
1 1 0 #UART_PRINT
tx 29
rx 27
0 1 2 #UART_METER_PORT
tx 6
rx 5
4 1 3 #UART_IR_PORT
tx 4
rx 7
#spi #SPI resource allocation. Controlled by gpio resource now.
# A:spi number;
# B:belongs to the core;
# C:function
# A B C
# bbcpu use spi1 to connect external rf chip, fixed value used now.
# 1 2 0 #SPI_PORT_TYPE_PYH_RF
# cs 39
# clk 36
# miso 37
# mosi 38
i2c #I2C resource allocation
# A:i2c number;
# B:belongs to the core;
# C:function
# A B C
0 1 0 #IOT_I2C_PORT_0
scl 35
sda 36
adc #ADC resource allocation
# A:adc channel;
# B:belongs to the core;
# C:function (to see iot_board_api.h about adc type)
# A B C
ledc #LEDC resource allocation
# A:ledc channel;
# B:belongs to the core;
# C:function
# A B C
0 1 0 #IOT_PLC_TX_LED
ledout 3
1 1 1 #IOT_PLC_RX_LED
ledout 2
#zc # (PARTICULAR RESOURCE) Chip level zero crossing detection resource
# allocation. Controlled by gpio resource now.
# up_0: Zero-crossing detection rising edge input channel 0,
# which corresponds to phase A rising edge zero-crossing
# circuit by default
# up_1: Zero-crossing detection rising edge input channel 1,
# which corresponds to phase B rising edge zero-crossing
# circuit by default
# up_2: Zero-crossing detection rising edge input channel 2,
# which corresponds to phase C rising edge zero-crossing
# circuit by default
# down_0: Zero-crossing detection descending edge input channel 0,
# which by default corresponds to the zero-crossing circuit
# of phase A descending edge
# down_1: Zero-crossing detection descending edge input channel 1,
# which by default corresponds to the zero-crossing circuit
# of phase B descending edge
# down_2: Zero-crossing detection descending edge input channel 2,
# which by default corresponds to the zero-crossing circuit
# of phase C descending edge
pa # (PARTICULAR RESOURCE)
# A:PA function name;
# B:PA gpio number;
# A B
rx_en_0 80 #enlic_pad_0. Phase A Enable receiving
tx_en_0 81 #enlic_pad_1. Phase A Enable sending
gain_0 82 #glna_pad_0. Phase A gain control
gain_1 83 #glna_pad_1. Phase B gain control
gain_2 84 #glna_pad_2. Phase C gain control
pwm #PWM resource allocation
# A:pwm编号
# B:所属core
# C:用途(见iot_board_api.h中的PWM_CH_TYPE_TSFM_XXX)
# A B C
# 小负载流程中,
# 获取GPIO32和PWMPWM_CH_TYPE_TSFM_LOAD_CTRL通道
# 然后软件主动绑定。
1 1 3 #PWM_CH_TYPE_TSFM_LOAD_CTRL