引脚复用
25 Jun 2024
Read time: 15 minute(s)
D12x 功能复用
引脚 | 功能 2 | 功能 3 | 功能 4 | 功能 5 | 功能 6 | 功能 8 |
---|---|---|---|---|---|---|
PA0 | GPADC0 | IR_TX | I2C0_SCL | UART0_TX | - | CPU_NMI |
PA1 | GPADC1 | IR_RX | I2C0_SDA | UART0_RX | - | DE_TE |
PA2 | GPADC2 | CAN1_TX | I2C1_SCL | UART1_TX | - | UART2_CTS |
PA3 | GPADC3 | CAN1_RX | I2C1_SDA | UART1_RX | - | UART2_RTS |
PA4 | GPADC4 | - | CAN0_TX | UART2_TX | - | - |
PA5 | GPADC5 | - | CAN0_RX | UART2_RX | - | - |
PA8 | RTP_XP | - | I2C0_SCL | - | - | - |
PA9 | RTP_YP | - | I2C0_SDA | - | - | - |
PA10 | RTP_XN | IR_RX | - | - | - | JTAG_MS |
PA11 | RTP_YN | IR_TX | - | - | - | JTAG_CK |
PB0 | SPI0_WP | SPI1_WP | - | UART0_TX | - | - |
PB1 | SPI0_MISO | SPI1_MISO | - | UART2_TX | - | - |
PB2 | SPI0_CS0 | SPI1_CS | - | UART2_RX | - | - |
PB3 | SPI0_HOLD | SPI1_HOLD | - | UART0_RX | - | - |
PB4 | SPI0_CLK | SPI1_CLK | - | UART2_RTS | - | - |
PB5 | SPI0_MOSI | SPI1_MOSI | - | UART0_RTS | UART2_CTS | - |
PB6 | SDC0_CMD | SPI1_CS | - | UART1_TX | - | - |
PB7 | SDC0_CLK | SPI1_MISO | - | UART1_RX | - | - |
PB8 | SDC0_D3 | SPI1_MOSI | - | UART1_RTS | UART3_CTS | - |
PB9 | SDC0_D0 | SPI1_CLK | - | UART3_RTS | - | - |
PB10 | SDC0_D1 | SPI1_HOLD | - | UART3_TX | - | - |
PB11 | SDC0_D2 | SPI1_WP | - | UART3_RX | - | - |
PC0 | SDC1_D1 | - | I2C0_SCL | UART3_RTS | - | JTAG_MS |
PC1 | SDC1_D0 | - | - | - | - | - |
PC2 | SDC1_CLK | - | - | - | - | UART0_TX |
PC3 | SDC1_CMD | - | - | - | - | - |
PC4 | SDC1_D3 | PWM0_A | I2C1_SCL | UART3_TX | - | UART0_RX |
PC5 | SDC1_D2 | PWM0_B | I2C1_SDA | UART3_RX | - | JTAG_CK |
PC6 | SDC1_DET | PWM1_A | I2C0_SDA | UART3_CTS | DE_TE | IR_RX |
PC7 | - | PWM1_B | - | - | - | IR_TX |
PD0 | LCD_D0 | CAN0_TX | I2C0_SCL | UART0_TX | - | - |
PD1 | LCD_D1 | CAN0_RX | I2C0_SDA | UART0_RX | - | - |
PD2 | LCD_D2 | CAN1_TX | I2C1_SCL | UART1_TX | - | - |
PD3 | LCD_D3 | CAN1_RX | I2C1_SDA | UART1_RX | - | - |
PD4 | LCD_D4 | - | I2C1_SCL | UART2_TX | - | - |
PD5 | LCD_D5 | - | I2C1_SDA | UART2_RX | - | - |
PD6 | LCD_D6 | - | PWM0_A | DSPK0 | - | - |
PD7 | LCD_D7 | - | PWM0_B | DSPK1 | - | - |
PD8 | LCD_D8 | - | PWM1_A | - | - | - |
PD9 | LCD_D9 | - | - | - | - | - |
PD10 | LCD_D10 | - | - | - | - | - |
PD11 | LCD_D11 | - | - | - | - | - |
PD12 | LCD_D12 | - | - | - | - | - |
PD13 | LCD_D13 | - | - | - | - | - |
PD14 | LCD_D14 | - | - | - | - | - |
PD15 | LCD_D15 | - | - | - | - | - |
PD16 | LCD_D16 | - | - | - | - | - |
PD17 | LCD_D17 | - | - | - | - | - |
PD18 | LCD_D18 | - | - | - | - | - |
PD19 | LCD_D19 | - | - | - | - | - |
PD20 | LCD_D20 | - | - | - | - | - |
PD21 | LCD_D21 | - | - | - | - | - |
PD22 | LCD_D22 | - | - | - | - | - |
PD23 | LCD_D23 | - | - | - | - | - |
PD24 | LCD_DCLK | - | - | - | - | - |
PD25 | LCD_HS | - | - | - | PWM0_B | - |
PD26 | LCD_VS | - | - | - | PWM1_A | - |
PD27 | LCD_DE | - | - | - | PWM1_B | - |
PE12 | - | PWM1_B | - | DSPK1 | - | - |
PE13 | - | PWM0_A | - | DSPK0 | - | - |
D12x QFN68 封装引脚说明
引脚 | 定义 | 类型 | 功能 | 备注说明 |
---|---|---|---|---|
SYSTEM | ||||
52 | RESETN | INPUT | 系统复位 | 内置约 30 KΩ 上拉电阻和去抖滤波,不使用可直接悬空,若外挂电容建议不超过 4.7 uF。 |
POWER | ||||
12, 29, 54 | VCC33_IO | POWER | 芯片 IO 电压 | 3.3 V 供电 |
55 | LDO25 | POWER | 内置 LDO 输出 | 内部模拟模块使用,外部接 1 uF 旁路电容。 |
28 | LDO18 | POWER | 内置 LDO 输出 | 供内部 PSRAM 使用,若使用需做好芯片散热,外部接 1 uF 旁路电容。 |
27, 53 | VDD11_SYS | POWER | 芯片 Core 电压 | 1.1 V 供电,若使用内置 LDO1x,必须做好芯片散热,53 引脚为 LDO1x 输出。 |
69 | GND | POWER | - | GND 铜皮全连接,需多加过孔散热。 |
D121 QFN68 封装功能复用表
引脚 | 功能 1 | 功能 2 | 功能 3 | 功能 4 | 功能 5 | 功能 6 | 功能 8 |
---|---|---|---|---|---|---|---|
GPIO A | |||||||
56 | PA0 | GPADC0 | IR_TX | I2C0_SCL | UART0_TX | - | CPU_NMI |
57 | PA1 | GPADC1 | IR_RX | I2C0_SDA | UART0_RX | - | DE_TE |
58 | PA2 | GPADC2 | - | I2C1_SCL | UART1_TX | - | UART2_CTS |
59 | PA3 | GPADC3 | - | I2C1_SDA | UART1_RX | - | UART2_RTS |
60 | PA4 | GPADC4 | - | - | UART2_TX | - | - |
61 | PA5 | GPADC5 | - | - | UART2_RX | - | - |
62 | PA8 | RTP_XP | - | I2C0_SCL | - | - | - |
63 | PA9 | RTP_YP | - | I2C0_SDA | - | - | - |
64 | PA10 | RTP_XN | IR_RX | - | - | - | JTAG_MS |
65 | PA11 | RTP_YN | IR_TX | - | - | - | JTAG_CK |
GPIO B | |||||||
40 | PB0 | SPI0_WP | SPI1_WP | - | UART0_TX | - | - |
41 | PB1 | SPI0_MISO | SPI1_MISO | - | UART2_TX | - | - |
42 | PB2 | SPI0_CS0 | SPI1_CS | - | UART2_RX | - | - |
43 | PB3 | SPI0_HOLD | SPI1_HOLD | - | UART0_RX | - | - |
44 | PB4 | SPI0_CLK | SPI1_CLK | - | UART2_RTS | - | - |
45 | PB5 | SPI0_MOSI | SPI1_MOSI | - | UART0_RTS | UART2_CTS | - |
46 | PB6 | SDC0_CMD | SPI1_CS | - | UART1_TX | - | - |
47 | PB7 | SDC0_CLK | SPI1_MISO | - | UART1_RX | - | - |
48 | PB8 | SDC0_D3 | SPI1_MOSI | - | UART1_RTS | UART3_CTS | - |
49 | PB9 | SDC0_D0 | SPI1_CLK | - | UART3_RTS | - | - |
50 | PB10 | SDC0_D1 | SPI1_HOLD | - | UART3_TX | - | - |
51 | PB11 | SDC0_D2 | SPI1_WP | - | UART3_RX | - | - |
GPIO C | |||||||
66 | PC0 | - | I2C0_SCL | UART3_RTS | - | - | JTAG_MS |
67 | PC1 | - | - | - | - | - | - |
68 | PC2 | - | - | - | - | - | UART0_TX |
1 | PC3 | - | - | - | - | - | - |
2 | PC4 | PWM0_A | I2C1_SCL | UART3_TX | - | - | UART0_RX |
3 | PC5 | PWM0_B | I2C1_SDA | UART3_RX | - | - | JTAG_CK |
4 | PC6 | PWM1_A | I2C0_SDA | UART3_CTS | DE_TE | - | IR_RX |
5 | PC7 | PWM1_B | - | - | - | - | IR_TX |
GPIO D | |||||||
37 | PD0 | LCD_D0 | I2C0_SCL | UART0_TX | - | - | |
36 | PD1 | LCD_D1 | I2C0_SDA | UART0_RX | - | - | |
35 | PD2 | LCD_D2 | I2C1_SCL | UART1_TX | - | - | |
34 | PD3 | LCD_D3 | I2C1_SDA | UART1_RX | - | - | |
33 | PD4 | LCD_D4 | - | I2C1_SCL | UART2_TX | - | - |
32 | PD5 | LCD_D5 | - | I2C1_SDA | UART2_RX | - | - |
31 | PD6 | LCD_D6 | - | PWM0_A | DSPK0 | - | - |
30 | PD7 | LCD_D7 | - | PWM0_B | DSPK1 | - | - |
26 | PD8 | LCD_D8 | - | PWM1_A | - | - | - |
25 | PD9 | LCD_D9 | - | - | - | - | - |
24 | PD10 | LCD_D10 | - | - | - | - | - |
23 | PD11 | LCD_D11 | - | - | - | - | - |
22 | PD12 | LCD_D12 | - | - | - | - | - |
21 | PD13 | LCD_D13 | - | - | - | - | - |
20 | PD14 | LCD_D14 | - | - | - | - | - |
19 | PD15 | LCD_D15 | - | - | - | - | - |
18 | PD16 | LCD_D16 | - | - | - | - | - |
17 | PD17 | LCD_D17 | - | - | - | - | - |
16 | PD18 | LCD_D18 | - | - | - | - | - |
15 | PD19 | LCD_D19 | - | - | - | - | - |
14 | PD20 | LCD_D20 | - | - | - | - | - |
13 | PD21 | LCD_D21 | - | - | - | - | - |
11 | PD22 | LCD_D22 | - | - | - | - | - |
10 | PD23 | LCD_D23 | - | - | - | - | - |
9 | PD24 | LCD_DCLK | - | - | - | - | - |
8 | PD25 | LCD_HS | - | - | - | PWM0_B | - |
7 | PD26 | LCD_VS | - | - | - | PWM1_A | - |
6 | PD27 | LCD_DE | - | - | - | PWM1_B | - |
GPIO E | |||||||
38 | PE12 | PWM1_B | - | DSPK1 | - | - | - |
39 | PE13 | PWM0_A | - | DSPK0 | - | - | - |
D122 QFN68 封装功能复用表
引脚 | 功能 1 | 功能 2 | 功能 3 | 功能 4 | 功能 5 | 功能 6 | 功能 8 |
---|---|---|---|---|---|---|---|
GPIO A | |||||||
56 | PA0 | GPADC0 | IR_TX | I2C0_SCL | UART0_TX | - | CPU_NMI |
57 | PA1 | GPADC1 | IR_RX | I2C0_SDA | UART0_RX | - | DE_TE |
58 | PA2 | GPADC2 | CAN1_TX | I2C1_SCL | UART1_TX | - | UART2_CTS |
59 | PA3 | GPADC3 | CAN1_RX | I2C1_SDA | UART1_RX | - | UART2_RTS |
60 | PA4 | GPADC4 | - | CAN0_TX | UART2_TX | - | - |
61 | PA5 | GPADC5 | - | CAN0_RX | UART2_RX | - | - |
62 | PA8 | RTP_XP | - | I2C0_SCL | - | - | - |
63 | PA9 | RTP_YP | - | I2C0_SDA | - | - | - |
64 | PA10 | RTP_XN | IR_RX | - | - | - | JTAG_MS |
65 | PA11 | RTP_YN | IR_TX | - | - | - | JTAG_CK |
GPIO B | |||||||
40 | PB0 | SPI0_WP | SPI1_WP | - | UART0_TX | - | - |
41 | PB1 | SPI0_MISO | SPI1_MISO | - | UART2_TX | - | - |
42 | PB2 | SPI0_CS0 | SPI1_CS | - | UART2_RX | - | - |
43 | PB3 | SPI0_HOLD | SPI1_HOLD | - | UART0_RX | - | - |
44 | PB4 | SPI0_CLK | SPI1_CLK | - | UART2_RTS | - | - |
45 | PB5 | SPI0_MOSI | SPI1_MOSI | - | UART0_RTS | UART2_CTS | - |
46 | PB6 | SDC0_CMD | SPI1_CS | - | UART1_TX | - | - |
47 | PB7 | SDC0_CLK | SPI1_MISO | - | UART1_RX | - | - |
48 | PB8 | SDC0_D3 | SPI1_MOSI | - | UART1_RTS | UART3_CTS | - |
49 | PB9 | SDC0_D0 | SPI1_CLK | - | UART3_RTS | - | - |
50 | PB10 | SDC0_D1 | SPI1_HOLD | - | UART3_TX | - | - |
51 | PB11 | SDC0_D2 | SPI1_WP | - | UART3_RX | - | - |
GPIO C | |||||||
66 | PC0 | - | I2C0_SCL | UART3_RTS | - | - | JTAG_MS |
67 | PC1 | - | - | - | - | - | - |
68 | PC2 | - | - | - | - | - | UART0_TX |
1 | PC3 | - | - | - | - | - | - |
2 | PC4 | PWM0_A | I2C1_SCL | UART3_TX | - | - | UART0_RX |
3 | PC5 | PWM0_B | I2C1_SDA | UART3_RX | - | - | JTAG_CK |
4 | PC6 | PWM1_A | I2C0_SDA | UART3_CTS | DE_TE | - | IR_RX |
5 | PC7 | PWM1_B | - | - | - | - | IR_TX |
GPIO D | |||||||
37 | PD0 | LCD_D0 | CAN0_TX | I2C0_SCL | UART0_TX | - | - |
36 | PD1 | LCD_D1 | CAN0_RX | I2C0_SDA | UART0_RX | - | - |
35 | PD2 | LCD_D2 | CAN1_TX | I2C1_SCL | UART1_TX | - | - |
34 | PD3 | LCD_D3 | CAN1_RX | I2C1_SDA | UART1_RX | - | - |
33 | PD4 | LCD_D4 | - | I2C1_SCL | UART2_TX | - | - |
32 | PD5 | LCD_D5 | - | I2C1_SDA | UART2_RX | - | - |
31 | PD6 | LCD_D6 | - | PWM0_A | DSPK0 | - | - |
30 | PD7 | LCD_D7 | - | PWM0_B | DSPK1 | - | - |
26 | PD8 | LCD_D8 | - | PWM1_A | - | - | - |
25 | PD9 | LCD_D9 | - | - | - | - | - |
24 | PD10 | LCD_D10 | - | - | - | - | - |
23 | PD11 | LCD_D11 | - | - | - | - | - |
22 | PD12 | LCD_D12 | - | - | - | - | - |
21 | PD13 | LCD_D13 | - | - | - | - | - |
20 | PD14 | LCD_D14 | - | - | - | - | - |
19 | PD15 | LCD_D15 | - | - | - | - | - |
18 | PD16 | LCD_D16 | - | - | - | - | - |
17 | PD17 | LCD_D17 | - | - | - | - | - |
16 | PD18 | LCD_D18 | - | - | - | - | - |
15 | PD19 | LCD_D19 | - | - | - | - | - |
14 | PD20 | LCD_D20 | - | - | - | - | - |
13 | PD21 | LCD_D21 | - | - | - | - | - |
11 | PD22 | LCD_D22 | - | - | - | - | - |
10 | PD23 | LCD_D23 | - | - | - | - | - |
9 | PD24 | LCD_DCLK | - | - | - | - | - |
8 | PD25 | LCD_HS | - | - | - | PWM0_B | - |
7 | PD26 | LCD_VS | - | - | - | PWM1_A | - |
6 | PD27 | LCD_DE | - | - | - | PWM1_B | - |
GPIO E | |||||||
38 | PE12 | PWM1_B | - | DSPK1 | - | - | - |
39 | PE13 | PWM0_A | - | DSPK0 | - | - | - |