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

186 lines
6.4 KiB
INI
Raw Permalink 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 97 #BOARD_EVB3201RFIN
mid 1 #MODULE_TYPE_CCO
vid HZ
fver 1
#=============================== default rc====================================#
# overview
# pin_num pin_name func_default func_2 func_3
# 1 ADC5/GPIO69 ZC_RISE(Phase C rising edge zero-crossing signal)
# 2 ADC6/GPIO70 NC
# 3 ADC7/GPIO71 ADC_CC(DC current sampling single-ended input (0-2.25V))
# 8 GPIO39 485_RXD SPI_CS(spi_flash)
# 9 GPIO38 485_TXD SPI_DO(spi_flash)
# 10 GPIO37 485_CTR SPI_DI(spi_flash)
# 12 GPIO36 RXD_BUG2 SPI_CLK(spi_flash) I2C_SDA
# 13 GPIO35 TXD_BUG2 I2C_SCL
# 14 GPIO34 LNA_GAIN_CTR0
# 15 GPIO33 LNA_GAIN_CTR1
# 16 GPIO32 LNA_GAIN_CTR2
# 17 GPIO31 PA_RX_EN
# 19 GPIO30 PA_TX_EN
# 20 GPIO14 PB_RX_EN
# 21 GPIO29 PB_TX_EN
# 22 GPIO28 PC_RX_EN
# 26 GPIO27 PC_TX_EN
# 28 GPIO01\TMS JTAG_TMS
# 29 GPIO00\TCK JTAG_TCK KEY_1(press down is low)
# 30 GPIO03\TDO JTAG_TDO TXD_BUG1
# 31 GPIO02\TDI JTAG_TDI RXD_BUG1
# 32 GPIO04\TRST JTAG_TRST TX_LED(low light)
# 33 GPIO07 RX_LED(low light)
# 36 GPIO06 UART0_TXD IR_RX
# 37 GPIO05 UART0_RXD IR_TX
# 38 GPIO08 TESTP(pa module warning)
# 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 +)
# 51 TPID_ADC4\GPIO76 AN(Phase A current acquisition/branch identification -)
# 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 +)
# NP(DC current sampling 30mV +)
# 55 TPID_ADC0\GPIO72 CN(Phase C current acquisition/branch identification -)
# NN(DC current sampling 30mV -)
# 74 ADC2\GPIO66 ZA_LOAD(Station area identification zero-crossing signal)
# 75 ADC3\GPIO67 ZA_RISE(Phase A rising edge zero-crossing signal)
# 76 ADC4\GPIO68 ZB_RISE(Phase B rising edge zero-crossing signal)
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
67 1 18 #GPIO_PA_ZC
68 1 19 #GPIO_PB_ZC
69 1 20 #GPIO_PC_ZC
#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
# 5 1 8 #GPIO_IR_TXD
# 6 1 9 #GPIO_IR_RXD
8 1 10 #GPIO_GEODE_OVT
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
0 1 2 #UART_METER_PORT
tx 6
rx 5
1 1 0 #UART_PRINT
tx 3
rx 2
2 1 1 #UART_CLI_PORT
tx 35
rx 36
3 1 4 #UART_RS485_PORT
tx 38
rx 39
#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 4
1 1 1 #IOT_PLC_RX_LED
ledout 7
#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 31 #Phase A Enable receiving
tx_en_0 30 #Phase A Enable sending
rx_en_1 14 #Phase B Enable receiving
tx_en_1 29 #Phase B Enable sending
rx_en_2 28 #Phase C Enable receiving
tx_en_2 27 #Phase C Enable sending
gain_0 34 #Gain control of bit 0
gain_1 33 #Gain control of bit 1
gain_2 32 #Gain control of bit 2
pwm #PWM resource allocation
# A:pwm编号
# B:所属core
# C:用途(见iot_board_api.h中的PWM_CH_TYPE_TSFM_XXX)
# A B C
# 小负载流程中,
# 获取GPIOXX和PWMPWM_CH_TYPE_TSFM_LOAD_CTRL通道
# 然后软件主动绑定。
# 1 1 3 #PWM_CH_TYPE_TSFM_LOAD_CTRL