RM0008 General-purpose and alternate-function I/Os (GPIOs and AFIOs)
115/690
7.3.8 I2C 1 alternate function remapping
Refer to AF remap and debug I/O configuration register (AFIO_MAPR)
7.3.9 SPI 1 alternate function remapping
Refer to AF remap and debug I/O configuration register (AFIO_MAPR)
7.4 AFIO registers
Refer to Section 1.1 on page 32 for a list of abbreviations used in register descriptions.
Note: To read/write the AFIO_EVCR,AFIO_MAPR and AFIO_EXTICRX registers, the AFIO clock
should first be enabled. Refer to Section 6.3.7: APB2 peripheral clock enable register
(RCC_APB2ENR).
Table 31. USART1 remapping
Alternate function USART1_REMAP = 0 USART1_REMAP = 1
USART1_TX PA9 PB6
USART1_RX PA10 PB7
Table 32. I2C1 remapping
Alternate function I2C1_REMAP = 0 I2C1_REMAP = 1
(1)
1. Remap not available on 36-pin package.
I2C1_SCL PB6 PB8
I2C1_SDA PB7 PB9
Table 33. SPI1 remapping
Alternate function SPI1_REMAP = 0 SPI1_REMAP = 1
SPI1_NSS PA4 PA15
SPI1_SCK PA5 PB3
SPI1_MISO PA6 PB4
SPI1_MOSI PA7 PB5