UM1956 Rev 4
21/35
UM1956
Hardware layout and configuration
34
6.11 Arduino
Nano
connectors
CN3 and CN4 are male connectors compatible with Arduino Nano standard. Most shields
designed for Arduino Nano can fit the STM32 Nucleo-32 board.
Caution:
The I/Os of STM32 are 3.3 V compatible instead of 5 V for Arduino Nano.
Table 9
,
Table 10
,
Table 11, Table 12, Table 13, Table 14
and
Table 15
show the pin
assignments of each STM32 on Arduino Nano connectors.
Figure 7
and
Figure 8
show Arduino Nano connectors and pin assignments for
NUCLEO-F031K6, NUCLEO-F042K6, NUCLEO-F303K8, NUCLEO-L011K4, NUCLEO-
L031K6 and NUCLEO-L432KC.
SB16
OFF
CN4 pin 7 is used as Arduino Nano analog input A5 without I
2
C
support and CN3 pin 8 is available as Arduino Nano D5.
SB18
ON
STM32 PB7 is connected to CN4 pin 8 for I
2
C SCL support on
Arduino Nano A4. In such case STM32 PB7 does not support
Arduino Nano D4 and PA5 must be configured as input floating.
OFF
CN4 pin 8 is used as Arduino Nano analog input A4 without I
2
C
support and CN3 pin 7 is available as Arduino Nano D4.
1. The default configuration is reported in bold style.
Table 8. Solder bridges (continued)
Bridge
State
(1)
Description
Table 9. Arduino Nano connectors on NUCLEO-F031K6
Connector
Pin number
Pin name
STM32 pin
Function
Left connector
CN3
1
D1
PA9
USART1_TX
(1)
2
D0
PA10
USART1_RX
(1)
3
RESET
NRST
RESET
4
GND
-
Ground
5
D2
PA12
-
6
D3
PB0
TIM3_CH3
7
D4
(5)
PB7
-
8
D5
(5)
PB6
TIM16_CH1N
(2)
9
D6
PB1
TIM14_CH1
10
D7
(3)
PF0
-
11
D8
(3)
PF1
-
12
D9
PA8
TIM1_CH1
13
D10
PA11
SPI_CS
(4)
|| TIM1_CH4
14
D11
PB5
SPI1_MOSI || TIM3_CH2
15
D12
PB4
SPI1_MISO
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from