Hardware layout and configuration UM1956
24/31 DocID028406 Rev 1
Table 11. Arduino Nano connectors on NUCLEO-L031K6
Connector Pin number Pin name STM32 Pin Function
Left connector
CN3
1 D1 PA9 USART2_TX
(1)
1. Only one USART is available and it is shared between Arduino Nano and VCP. the selection is done by
remapping (no hardware configuration to change).
2 D0 PA10 USART2_RX
(1)
3 RESET NRST RESET
4 GND - Ground
5D2PA12 -
6 D3 PB0 TIM2_CH3
7D4
(2)
2. Limitations on A4 and A5, D4 and D5 related to I2C configuration are explained in Section 6.8: Solder
bridges according to SB16/SB18 setting.
PB7 -
8D5
(2)
PB6 TIM21_CH1
9 D6 PB1 TIM2_CH4
10 D7
(3)
3. D7/D8 shared with OSC32_IN/OSC32_OUT.
PC14 -
11 D8
(3)
PC15 -
12 D9 PA8 TIM2_CH1
13 D10 PA11 SPI_CS
(4)
|| TIM21_CH2
4. SPI_CS is made by GPIO.
14 D11 PB5 SPI1_MOSI || TIM22_CH2
15 D12 PB4 SPI1_MISO
Right connector
CN4
1 VIN - Power input
2 GND - Ground
3 RESET NRST RESET
4 +5V - 5V input/output
5 A7 PA2 ADC_IN2
(5)
5. PA2 exclusive with VCP_TX.
6 A6 PA7 ADC_IN7
7A5
(2)
PA6 ADC_IN6 || I2C1_SCL
8A4
(2)
PA5 ADC_IN5 || I2C1_SDA
9 A3 PA4 ADC_IN4
10 A2 PA3 ADC_IN3
11 A1 PA1 ADC_IN1
CN4
12 A0 PA0 ADC_IN0
13 AREF - AVDD
14 +3V3 - 3.3V input/output
15 D13 PB3 SPI1_SCK