General-purpose and alternate-function I/Os (GPIOs and AFIOs)
To optimize the number of free GPIOs during debugging, this mapping can be configured in
different ways by programming the SWJ_CFG[1:0] bits in the
configuration register
SWJ _CFG
[2:0]
000
001
010
100
Other
1. Released only if not using asynchronous trace.
9.3.6
ADC alternate function remapping
Refer to
Table 38. ADC1 external trigger injected conversion alternate function remapping
Alternate function
ADC1 external trigger injected
conversion
1. Remap available only for high-density and XL-density devices.
Table 39. ADC1 external trigger regular conversion alternate function remapping
Alternate function
ADC1 external trigger regular
conversion
1. Remap available only for high-density and XL-density devices.
Table 40. ADC2 external trigger injected conversion alternate function remapping
Alternate function
ADC2 external trigger injected
conversion
1. Remap available only for high-density and XL-density devices.
177/1128
(AFIO_MAPR). Refer to
Table 37. Debug port mapping
Available debug ports
Full SWJ (JTAG-DP + SW-DP)
(Reset state)
Full SWJ (JTAG-DP + SW-DP)
but without NJTRST
JTAG-DP Disabled and
SW-DP Enabled
JTAG-DP Disabled and
SW-DP Disabled
Forbidden
AF remap and debug I/O configuration register
Table 37
PA13 /
JTMS/
SWDIO
X
X
X
free
ADC1_ETRGINJ_REMAP = 0
ADC1 external trigger injected
conversion is connected to
EXTI15
ADC1_ETRGREG_REMAP = 0 ADC1_ETRGREG_REMAP = 1
ADC1 external trigger regular
conversion is connected to
EXTI11
ADC2_ETRGINJ_REMAP = 0
ADC2 external trigger injected
conversion is connected to
EXTI 15
DocID13902 Rev 15
AF remap and debug I/O
SWJ I/O pin assigned
PA14 /
PB3 / JTDO/
PA15 /
JTCK/S
TRACE
JTDI
WCLK
SWO
X
X
X
X
X
free
free
free
free
free
(AFIO_MAPR).
ADC1_ETRGINJ_REMAP = 1
ADC1 external trigger injected
conversion is connected to
TIM8_CH4
ADC1 external trigger regular
conversion is connected to
TIM8_TRGO
ADC2_ETRGINJ_REMAP = 1
ADC2 external trigger injected
conversion is connected to
TIM8_CH4
RM0008
PB4/
NJTRST
X
X
x
free
(1)
free
free
(1)
(1)
(1)
Need help?
Do you have a question about the STM32F101 series and is the answer not in the manual?
Questions and answers