Hardware layout and configuration UM1956
20/31 DocID028406 Rev 1
6.9 Arduino Nano connectors
CN3 and CN4 are male connectors compatible with Arduino Nano standard. Most shields
designed for Arduino Nano can fit to the STM32 Nucleo-32 board.
Caution: The I/Os of STM32 are 3.3 V compatible instead of 5 V for Arduino Nano.
Table 8, Table 9, Table 10 and Table 11 show the pin assignments of each STM32 on
Arduino Nano connectors.
Figure 6 and Figure 7 show Arduino Nano connectors assignment for NUCLEO-F031K6,
NUCLEO-F042K6, NUCLEO-F303K8 and NUCLEO-L031K6.
SB18
ON
STM32 PB7 is connected to CN4 pin 8 for I2C 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 I2C
support and CN3 pin 7 is available as Arduino Nano D4.
1. The default configuration is reported in bold style.
Table 7. Solder bridges (continued)
Bridge
State
(1)
Description
Table 8. 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
5D2PA12 -
6 D3 PB0 TIM3_CH3
7D4
(5)
PB7 -
8D5
(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
Right connector
CN4 1 VIN - Power input