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

278 lines
11 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.

# QJ5582D 3ps board
general
bid 62 #BOARD_QJ3PS03
mid 4 #MODULE_TYPE_3_PHASE_STA
vid QJ
fver 1
#=============================== default rc====================================#
# overview
# gpio function gpio function gpio function
# 11 rf_spi_do 10 rf_spi_di 9 rf_spi_cs
# 42 rf_mclk 43 rf_fclk 39 pa_lic_crt
# 36 zc_b_up 35 zc_c_up 34 rf_clk
# 32 set 31 charge_en 29 sta_out
# 28 uart2_tx 46 rf_agc_gain 45 rf_enable
# 44 rf_txnrx 47 rf_dq0 48 rf_dq1
# 49 rf_dq2 1 tx_led 0 rx_led
# 3 pa_testp 2 pa_rx_en 4 pa_tx_en
# 7 pa_lan_gain_ctr0 6 uart0_tx 5 uart0_rx
# 8 pa_lan_gain_ctr1 26 pa_lan_gain_ctr2 50 rf_dq3
# 51 rf_dq4 52 rf_dq5 53 rf_dq6
# 54 rf_dq7 55 rf_dq8 56 rf_dq9
# 57 rf_dq10 58 rf_dq11 59 rf_pd
# 61 rf_channel_sw(io) 62 rf_channel_sw(io) 64 m_sta(adc_0)
# 65 adc_12v 66 adc_3.3v 67 d_rst(soft reset)
# 68 zc_a_up 69 event 12 rf_spi_clk
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
3 1 10 #GPIO_GEODE_OVT
32 1 17 #GPIO_GOLDEN_SET
29 1 1 #GPIO_STA_OUT
69 1 0 #GPIO_PLC_EVENT
39 1 120 #GPIO_LIC_CTRL
0 1 3 #GPIO_RX_LED
1 1 2 #GPIO_TX_LED
31 1 12 #GPIO_PM_CHARGE_EN
68 1 18 #GPIO_PA_ZC
36 1 19 #GPIO_PB_ZC
35 1 20 #GPIO_PC_ZC
67 1 13 #GPIO_RST_CTRL
34 1 121 #GPIO_RF_CLK
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
2 1 0 #UART_PRINT
tx 28 #gpio number corresponding to uart TX signal
0 1 2 #UART_METER_PORT
tx 6 #gpio number corresponding to uart TX signal
rx 5 #gpio number corresponding to uart RX signal
#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 9
# clk 12
# miso 10
# mosi 11
ledc #LEDC resource allocation
# A:ledc channel;
# B:belongs to the core;
# C:function
# ledout:The GPIO number corresponding to the output signal of LEDC
# (LEDC has only one signal, so it is unified ledOUT)
# A B C
0 1 0 #IOT_PLC_TX_LED
ledout 1
1 1 1 #IOT_PLC_RX_LED
ledout 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
0 1 2 #ADC_PM_GND
1 1 0 #ADC_PM_12V
2 1 1 #ADC_PM_3V
#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
# up_0 68
# up_1 36
# up_2 35
pa # (PARTICULAR RESOURCE)
rx_en_0 2 #Phase A Enable receiving
tx_en_0 4 #Phase A Enable sending
gain_0 7 #Phase A gain control
gain_1 8 #Phase B gain control
gain_2 26 #Phase C gain control
#===================================== 覆膜资源 ===============================#
# HZ3211覆膜为QJ5582D
# chip id: 0x1001 subid: 0x1011
#==================== 13.10.08.01(HW_VERSION_QJ_MASKCHIP_V1) ==================#
# QJ 3PS 覆膜HZ3211芯片 资源与QJ5582D的一样
# overview
# gpio function gpio function gpio function
# 11 rf_spi_do 10 rf_spi_di 9 rf_spi_cs
# 42 rf_mclk 43 rf_fclk 39 pa_lic_crt
# 36 zc_b_up 35 zc_c_up 34 rf_clk
# 32 set 31 charge_en 29 sta_out
# 28 uart2_tx 46 rf_agc_gain 45 rf_enable
# 44 rf_txnrx 47 rf_dq0 48 rf_dq1
# 49 rf_dq2 1 tx_led 0 rx_led
# 3 pa_testp 2 pa_rx_en 4 pa_tx_en
# 7 pa_lan_gain_ctr0 6 uart0_tx 5 uart0_rx
# 8 pa_lan_gain_ctr1 26 pa_lan_gain_ctr2 50 rf_dq3
# 51 rf_dq4 52 rf_dq5 53 rf_dq6
# 54 rf_dq7 55 rf_dq8 56 rf_dq9
# 57 rf_dq10 58 rf_dq11 59 rf_pd
# 61 rf_channel_sw(io) 62 rf_channel_sw(io) 64 m_sta(adc_0)
# 65 adc_12v 66 adc_3.3v 67 d_rst(soft reset)
# 68 zc_a_up 69 event 12 rf_spi_clk
rc_hdr
hw_ver 0x0D0A0801 #13.10.08.01 Hardware identification, HEX
mode 1
d_hw_ver 0x00000000
#================= 13.10.01.29(HW_VERSION_STA_3PS_DM_LOAD_V1) =================#
# QJ 3PS 带小负载 覆膜HZ3211芯片
# overview
# gpio function gpio function gpio function
# 11 rf_spi_do 10 rf_spi_di 9 rf_spi_cs
# 42 rf_mclk 43 rf_fclk 39 pa_lic_crt
# 36 zc_b_up 35 zc_c_up 34 rf_clk
# 32 set 31 charge_en 29 sta_out
# 28 uart2_tx 46 rf_agc_gain 45 rf_enable
# 44 rf_txnrx 47 rf_dq0 48 rf_dq1
# 49 rf_dq2 1 tx_led 0 rx_led
# 3 pa_testp 2 pa_rx_en 4 pa_tx_en
# 7 pa_lan_gain_ctr0 6 uart0_tx 5 uart0_rx
# 8 pa_lan_gain_ctr1 26 pa_lan_gain_ctr2 50 rf_dq3
# 51 rf_dq4 52 rf_dq5 53 rf_dq6
# 54 rf_dq7 55 rf_dq8 56 rf_dq9
# 57 rf_dq10 58 rf_dq11 59 rf_pd
# 61 rf_channel_sw(io) 62 rf_channel_sw(io) 64 m_sta(adc_0)
# 65 adc_12v 66 adc_3.3v 67 d_rst(soft reset)
# 68 zc_a_up 69 event 12 rf_spi_clk
# 30 load_send
rc_hdr
hw_ver 0x0D0A011D #13.10.01.29
mode 1
d_hw_ver 0x0D0A0801
gpio
# A:gpio number;
# B:belongs to the core;
# C:function (to see iot_board_api.h about gpio type)
# A B C
# load send gpio
30 1 82 #GPIO_TSFM_LOAD_TRIGGER
pwm #pwm resource allocation
# A:pwm channel;
# B:belongs to the core;
# C:function (to see iot_board_api.h about pwm type)
# A B C
# 小负载流程中,
# 获取GPIO30和PWMPWM_CH_TYPE_TSFM_LOAD_CTRL通道
# 然后软件主动绑定。
1 1 3 #PWM_CH_TYPE_TSFM_LOAD_CTRL
#==================== 13.10.02.21(HW_VERSION_STA_QJ_3PS_DM_V1) ==================#
# overview
# gpio function gpio function gpio function
# 11 rf_spi_do 10 rf_spi_di 9 rf_spi_cs
# 42 rf_mclk 43 rf_fclk 39 mo_clk_flash
# 38 mo_si_flash 37 mi_so_flash 36 zc_b_up
# 35 zc_c_up 34 rf_clk 33 mo_cs_flash
# 32 set 31 charge_en 30 nc
# 29 sta_out 28 uart2_tx 46 rf_agc_gain
# 45 rf_enable 44 rf_txnrx 47 rf_dq0
# 48 rf_dq1 49 rf_dq2 1 tx_led
# 0 rx_led 3 pa_testp 2 pa_rx_en
# 4 pa_tx_en 7 pa_lan_gain_ctr0 6 uart0_tx
# 5 uart0_rx 8 pa_lan_gain_ctr1 26 pa_lan_gain_ctr2
# 50 rf_dq3 51 rf_dq4 52 rf_dq5
# 53 rf_dq6 54 rf_dq7 55 rf_dq8
# 56 rf_dq9 57 rf_dq10 58 rf_dq11
# 59 rf_pd 61 pa_lic_crt 62 rf_channel_sw(io)
# 64 m_sta(adc_0) 65 adc_12v 66 adc_3.3v
# 67 d_rst(soft reset) 68 zc_a_up 69 event
# 12 rf_spi_clk
rc_hdr
hw_ver 0x0D0A0215 #13.10.02.21 Hardware identification, HEX
mode 1
d_hw_ver 0x00000000
gpio
# A:gpio number;
# B:belongs to the core;
# C:function (to see iot_board_api.h about gpio type)
# A B C
39 1 68 #GPIO_SPI_FLASH_CLK
38 1 70 #GPIO_SPI_FLASH_MOSI
37 1 71 #GPIO_SPI_FLASH_MISO
33 1 69 #GPIO_SPI_FLASH_CS
61 1 120 #GPIO_LIC_CTRL
#================== 13.10.02.22(HW_VERSION_QJ_3PS_SPG_DM_V1) ================#
# overview
# gpio function gpio function gpio function
# 11 rf_spi_do 10 rf_spi_di 9 rf_spi_cs
# 42 rf_mclk 43 rf_fclk 39 pa_lic_crt
# 38 nc 37 nc 36 zc_b_up
# 35 zc_c_up 34 rf_clk 33 nc
# 32 set 31 charge_en 30 nc
# 29 sta_out 28 uart2_tx 46 rf_agc_gain
# 45 rf_enable 44 rf_txnrx 47 rf_dq0
# 48 rf_dq1 49 rf_dq2 27 multi
# 1 tx_led 0 rx_led 3 pa_testp
# 2 pa_rx_en 4 pa_tx_en 7 pa_lan_gain_ctr0
# 6 uart0_tx 5 uart0_rx 8 pa_lan_gain_ctr1
# 26 pa_lan_gain_ctr2 50 rf_dq3 51 rf_dq4
# 52 rf_dq5 53 rf_dq6 54 rf_dq7
# 55 rf_dq8 56 rf_dq9 57 rf_dq10
# 58 rf_dq11 59 rf_pd 61 rf_channel_sw(io)
# 62 rf_channel_sw(io) 64 m_sta(adc_0) 65 adc_12v
# 66 adc_3.3v 67 d_rst(soft reset) 68 zc_a_up
# 69 event 12 rf_spi_clk
rc_hdr
hw_ver 0x0D0A0216 #13.10.02.22
mode 1
d_hw_ver 0x00000000
gpio
# A:gpio number;
# B:belongs to the core;
# C:function (to see iot_board_api.h about gpio type)
# A B C
27 1 127 #GPIO_MULTI_PULSE