GD32F403xx User Manual
144
Table 8-8. I2C0 alternate function remapping
Register
I2C0_SCL
I2C0_SDA
I2C0_REMAP = 0
PB6
PB7
I2C0_REMAP = 1
PB8
PB9
8.4.8.
SPI/I2S AF remapping
Refer to AFIO port configuration register 0 (AFIO_PCF0).
Table 8-9. SPI/I2S alternate function remapping
Register
SPI0
SPI2/I2S
SPI0_REMAP = 1
PA4(SPI0_NSS)
PA5(SPI0_SCK)
PA6(SPI0_MISO)
PA7(SPI0_MOSI)
PA2(SPI0_IO2)
PA3(SPI0_IO3)
-
SPI0_REMAP = 1
PA15(SPI0_NSS)
PB3(SPI0_SCK)
PB4(SPI0_MISO)
PB5(SPI0_MOSI)
PB6(SPI0_IO2)
PB7(SPI0_IO3)
-
SPI2_REMAP = 0
-
PA15(SPI2_NSS/ I2S2_WS)
PB3(SPI2_SCK/ I2S2_CK)
PB4(SPI2_MISO)
PB5(SPI2_MOSI/I2S2_SD)
SPI2_REMAP = 1
-
PA4(SPI2_NSS/ I2S2_WS)
PC10(SPI2_SCK/ I2S2_CK)
PC11(SPI2_MISO)
PC12(SPI2_MOSI/I2S2_SD)
8.4.9.
CAN AF remapping
The CAN0 signals can be mapped on Port A, Port B or Port D as shown in table below. For
port D, remapping is not possible in devices delivered in 64-pin packages.
Table 8-10. CAN alternate function remapping
Register
(1)
CAN0
CAN1
CAN0_REMAP[1:0]
=“00”
PA11(CAN0_RX)
PA12(CAN0_TX)
-
CAN0_REMAPI[1:0]
=“10”
PB8(CAN0_RX)
PB9(CAN0_TX)
-
CAN0_REMAP[1:0]
=“11”
(2)
PD0(CAN0_RX)
PD1(CAN0_TX)
-
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...