引脚功能
功能引脚对照表
功能引脚序号及对应IO功能见下图及表格
引脚序号 | IO name | Function0 | Function1 | Function2 | Function3 | Function4 | Function5 | Function6 | Function7 | Function8 | Function9 |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | VBAT | — | — | — | — | — | — | — | — | — | — |
2 | PA23 | Input | Output | DCXO_PUP_OUT | IR_RX | FEM_CTRL1 | FEM_CTRL2 | EINTA23 | Z | KEY_X7 | I2S_MCLK |
3 | PA22 | Input | Output | UART2_TX | CARD_DETECT | PWM3/ECT3 | SPI0_CLK | EINTA22 | Z | KEY_X6 | I2S_LRCLK |
4 | PA21 | Input | Output | UART2_RX | CARD_RST | PWM2/ECT2 | SPI0_CS0 | EINTA21 | Z | KEY_X5 | I2S_DO |
5 | PA20 | Input | Output | UART2_CTS | CARD_CLK | PWM1/ECT1 | SPI0_MISO | EINTA20 | Z | KEY_X4 | AUDIO_PWMN |
6 | PA19 | Input | Output | UART2_RTS | CARD_DATA | PWM0/ECT0 | SPI0_MOSI | EINTA19 | Z | KEY_X3 | AUDIO_PWMP |
7 | PA13 | Input | Output | ADC_CH3 | PWM5/ECT5 | I2S_DI | UART2_TX | EINTA13 | Z | KEY_Y5 | TWI0_SDA |
8 | PA12 | Input | Output | ADC_CH2 | PWM4/ECT4 | I2S_BCLK | IR_TX | EINTA12 | Z | KEY_Y4 | TWI0_SCL |
9 | PA11 | Input | Output | ADC_CH1 | SPI0_MISO | I2S_MCLK | UART1_TX | EINTA11 | Z | KEY_Y3 | IR_RX |
10 | VDD | — | — | — | — | — | — | — | — | — | — |
11 | GND | — | — | — | — | — | — | — | — | — | — |
12 | PB04 | Input | Output | SPI0_MOSI | PWM0/ECT0 | UART1_RTS | FLASH_MOSI/IO0 | EINTB4 | Z | KEY_Y12 | I2S_BCLK |
13 | PB06 | Input | Output | SPI0_CS0 | PWM2/ECT2 | UART1_RX | FLASH_CS0 | EINTB6 | Z | KEY_Y14 | I2S_DO |
14 | PB05 | Input | Output | SPI0_MISO | PWM1/ECT1 | UART1_CTS | FLASH_MISO/IO1 | EINTB5 | Z | KEY_Y13 | I2S_DI |
15 | PB07 | Input | Output | SPI0_CLK | PWM3/ECT3 | UART1_TX | FLASH_CLK | EINTB7 | Z | KEY_Y15 | I2S_LRCLK |
16 | PB03 | Input | Output | UART0_RTS | JTAG_TDI | PWM7/ECT7 | FLASH_HOLD/IO3 | EINTB3 | Z | KEY_Y11 | SWD_TCK |
17 | PB15 | Input | Output | UART1_RX | UART2_RX | TWI1_SDA | UART0_RTS | EINTB15 | Z | KEY_Y1 | PWM6/ECT6 |
18 | PB14 | Input | Output | UART1_TX | UART2_TX | TWI1_SCL | UART0_CTS | EINTB14 | Z | KEY_Y0 | PWM5/ECT5 |