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