178 lines
6.3 KiB
INI
178 lines
6.3 KiB
INI
# kl3 k76 evb board, some pins have two functions,
|
|
# the second function is shielded, only one function can be enabled at a time.
|
|
|
|
general
|
|
bid 64 #BOARD_EVB5580D
|
|
mid 1 #MODULE_TYPE_CCO
|
|
vid QJ
|
|
fver 1
|
|
|
|
#=============================== default rc====================================#
|
|
# overview
|
|
# pin_num pin_name func_default func_2
|
|
# 1 GPIO11 RF_SPI_DI(rf module)
|
|
# 2 GPIO10 RF_SPI_DO(rf module)
|
|
# 3 GPIO09 RF_SPI_CS(rf module)
|
|
# 4 GPIO42 207_MCLK(rf module)
|
|
# 5 GPIO43 207_FCLK(rf module)
|
|
# 7 GPIO39 pc_tx_en(pa module) spi_cs(extern flash)
|
|
# 8 GPIO38 pc_rx_en(pa module) spi_clk(extern flash)
|
|
# 9 GPIO37 pb_tx_en(pa module) spi_d1(extern flash)
|
|
# 10 GPIO36 pb_rx_en(pa module) spi_d2(extern flash)
|
|
# 11 GPIO35 pa_tx_en(pa module) spi_d0(extern flash)
|
|
# 12 GPIO34 pa_rx_en(pa module) spi_d3(extern flash)
|
|
# 13 GPIO33 m_sta(in place detect) key1(press down is low)
|
|
# 14 gpio32 set(sta) i2c_scl(lm75bdp)
|
|
# 15 gpio30 event i2c_sda(lm75bdp)
|
|
# 16 gpio14 sta0 485_ctr
|
|
# 17 gpio29 uart2_tx 485_tx
|
|
# 18 gpio28 uart2_rx 485_rx
|
|
# 22 gpio31 testp(pa module warning) key2(press down is low)
|
|
# 24 GPIO46 AGC_GAIN(rf module)
|
|
# 25 GPIO45 207_ENABLE(rf module)
|
|
# 26 GPIO44 207_TXNRX(rf module)
|
|
# 27 GPIO47 207_DQ0(rf module)
|
|
# 28 GPIO48 207_DQ1(rf module)
|
|
# 29 GPIO49 207_DQ2(rf module)
|
|
# 31 tms\gpio01 pc_led\d_rst jtag_tms
|
|
# 32 tck\gpio00 tx_led jtag_tck
|
|
# 33 tdo\gpio03 rx_led jtag tdo
|
|
# 34 tdi\gpio02 uart1_tx\pa_led jtag tdi
|
|
# 35 trst\gpio04 uart1_rx\pb_led jtag trst
|
|
# 36 GPIO07 LNA_GAIN_CTR0(pa module)
|
|
# 39 gpio06\tx0 uart0_tx ir_tx
|
|
# 40 gpio05\rx0 uart0_rx ir_rx
|
|
# 41 GPIO08 LNA_GAIN_CTR1(pa module)
|
|
# 50 GPIO26 LNA_GAIN_CTR2(pa module)
|
|
# 51 GPIO50 207_DQ3(rf module)
|
|
# 52 GPIO51 207_DQ4(rf module)
|
|
# 53 GPIO52 207_DQ5(rf module)
|
|
# 54 GPIO53 207_DQ6(rf module)
|
|
# 55 GPIO54 207_DQ7(rf module)
|
|
# 56 GPIO55 207_DQ8(rf module)
|
|
# 57 GPIO56 207_DQ9(rf module)
|
|
# 58 GPIO57 207_DQ10(rf module)
|
|
# 59 GPIO58 207_DQ11(rf module)
|
|
# 60 GPIO59 RF_PD(rf module)
|
|
# 61 GPIO61 SW_VC2(rf module, send and receive mode transitions)
|
|
# 62 GPIO62 SW_VC1(rf module, send and receive mode transitions)
|
|
# 68 ADC0/GPIO64 ZA_RISE(phase A zero-cross, rising edge)
|
|
# 69 ADC1/GPIO65 ZC_RISE(phase C zero-cross, rising edge)
|
|
# 70 ADC2/GPIO66 ZB_RISE(phase B zero-cross, rising edge)
|
|
# 71 ADC3/GPIO67 ZC_DOWN(phase C zero-cross, EXT:falling edge)
|
|
# 72 ADC4/GPIO68 ZB_DOWN(phase B zero-cross, EXT:falling edge)
|
|
# 73 ADC5/GPIO69 ZA_DOWN(phase A zero-cross, EXT:falling edge)
|
|
# 76 GPIO12 RF_SPI_CLK(rf module)
|
|
|
|
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
|
|
# bbcpu spi gpio, query by plc core
|
|
12 1 107 #GPIO_SPI_RF_CLK
|
|
11 1 110 #GPIO_SPI_RF_MOSI
|
|
10 1 109 #GPIO_SPI_RF_MISO
|
|
9 1 108 #GPIO_SPI_RF_CS
|
|
|
|
32 1 17 #GPIO_GOLDEN_SET
|
|
30 1 0 #GPIO_PLC_EVENT
|
|
14 1 1 #GPIO_STA_OUT
|
|
|
|
31 1 10 #GPIO_GEODE_OVT
|
|
|
|
64 1 18 #GPIO_PA_ZC
|
|
66 1 19 #GPIO_PB_ZC
|
|
65 1 20 #GPIO_PC_ZC
|
|
69 1 44 #GPIO_PA_ZC_EXT
|
|
68 1 45 #GPIO_PB_ZC_EXT
|
|
67 1 46 #GPIO_PC_ZC_EXT
|
|
|
|
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 2
|
|
rx 4
|
|
|
|
2 1 1 #UART_CLI_PORT
|
|
tx 29
|
|
rx 28
|
|
|
|
spi #SPI resource allocation
|
|
# 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
|
|
|
|
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 0
|
|
|
|
1 1 1 #IOT_PLC_RX_LED
|
|
ledout 3
|
|
|
|
2 1 4 #IOT_PLC_PHASE_C_LED
|
|
ledout 1
|
|
|
|
zc # (PARTICULAR RESOURCE) Chip level zero crossing detection resource allocation.
|
|
# 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
|
|
#up_0 64
|
|
#up_1 66
|
|
#up_2 65
|
|
#down_0 69
|
|
#down_1 68
|
|
#down_2 67
|
|
|
|
pa # (PARTICULAR RESOURCE)
|
|
tx_en_0 35 #Phase A Enable sending
|
|
rx_en_0 34 #Phase A Enable receiving
|
|
tx_en_1 37 #Phase B Enable sending
|
|
rx_en_1 36 #Phase B Enable receiving
|
|
tx_en_2 39 #Phase C Enable sending
|
|
rx_en_2 38 #Phase C Enable receiving
|
|
gain_0 7 #Phase A gain control
|
|
gain_1 8 #Phase B gain control
|
|
gain_2 26 #Phase C gain control
|
|
|