In this guide, you’ll find the Nucleo-L432KC pinout diagram, its datasheet and schematic, and every pin group explained with its default pins and gotchas. Without further ado, let’s get right into it!
The Nucleo-L432KC is ST’s official Nucleo-32 board for the STM32L432KC, an ultra-low-power 80MHz Arm Cortex-M4 with FPU, 256KB Flash and 64KB SRAM that sleeps at just 8nA in Shutdown mode. It fits the Arduino Nano footprint, gives you 24 GPIO pins on its two 15-pin headers, and has an ST-LINK debugger on board, so all you need is a USB cable.
Nucleo-L432KC Pinout Diagram
Here is a detailed Nucleo-L432KC Pinout Diagram with colored labels and legends to help you easily identify the functionalities that each pin can perform. It covers both Arduino Nano headers: CN3 on the left (D0–D12) and CN4 on the right (power, A0–A7 and D13).
Each row shows the header pin number, the Arduino Nano name (D0–D13, A0–A7), the STM32 GPIO name and its alternate functions, color-coded by peripheral. The small dot marks a 5v-tolerant pin, the square marks the three 3.3v-only pins (A2, A3 and A4), and the numbered badges point to the “Notes & tips” panel at the bottom. Pin 1 of both headers is at the USB connector end of the board.
Keep in mind that each pin on the Nucleo-L432KC has four different “names”, and mixing them up is the most common beginner question on ST’s forum: the header pin (CN4-15), the Arduino name (D13), the STM32 port pin (PB3, which is GPIOB, GPIO_PIN_3 in HAL), and the chip’s package pin (26). Your code always uses the port pin.
Buy a Nucleo-L432KC: If you don’t have one yet, you can get the official ST board from Amazon or AliExpress. It comes with the ST-LINK debugger on board, so you can start programming it right away.
Download Nucleo-L432KC Pinout Diagram (Full Resolution)
The Nucleo-L432KC pinout diagram (CN3 and CN4 Arduino Nano headers) in full resolution (5120×2800 px WebP), in one ZIP file. Print it, zoom in, or keep them next to your bench. Please consider supporting my work if it helped you.
Nucleo-L432KC Datasheet
This development board is built around the STM32L432KCU6 microcontroller (UFQFPN32 package). Here are the official Nucleo-L432KC datasheet and documents you’ll need for it, all linked to ST’s own servers so you always get the latest revision:
| Document | ID | Revision | What you’ll use it for | Link |
|---|---|---|---|---|
| STM32L432KB/KC datasheet | DS11451 | Rev 4 (May 2018) | Pin definitions (FT/TT), alternate-function table, low-power currents, electrical limits | |
| STM32L41xxx–L46xxx reference manual | RM0394 | Rev 5 (Dec 2024) | Registers and how every peripheral and low-power mode works | |
| STM32 Nucleo-32 boards (MB1180) user manual | UM1956 | Rev 6 (Mar 2025) | Board pinout table, solder bridges, jumpers, power options | |
| STM32 Nucleo-32 data brief | DB2638 | Rev 9 (Apr 2026) | One-page board summary and order codes | |
| STM32L431/432/433/442/443 errata sheet | ES0318 | Rev 11 (Dec 2024) | Known silicon limitations and workarounds | |
| System memory boot mode | AN2606 | Rev 71 (Nov 2026) | Bootloader pins and versions (section 77: STM32L43xxx/44xxx) | |
| MB1180 board schematic | MB1180 rev C.1 | Jun 2015 | Full board circuit (see the next section) | ZIP |
Which document do I need? The datasheet for pin functions, low-power currents and electrical limits, the reference manual for registers, and the UM1956 user manual for the solder bridges, the jumpers, and the header map (Table 16). All of them are listed on the official NUCLEO-L432KC product page.
Nucleo-L432KC Schematic
The Nucleo-L432KC schematic is shown below. The same PCB is used for every Nucleo-32 board (F031K6, F042K6, F303K8, L011K4, L031K6, L432KC…), with a few parts and solder bridges changed per board. Here are its 3 sheets; click a page to view it full screen.
Official source: Nucleo-32 schematic pack (MB1180 rev C.1, ZIP with the PDF and Altium files) from the NUCLEO-L432KC product page (CAD Resources). Here’s what to look at on each sheet:
- Top (sheet 1): how the MCU and the ST-LINK talk: VCP TX/RX, SWCLK/SWDIO, MCO and NRST. Its revision box also explains two board features: rev B turned SB14 into the JP1 (IDD) jumper for current measurement and changed CN1 to Micro-B, and rev C added SB16/SB18 to connect D4/D5 to A4/A5.
- Power and MCU (sheet 2): VIN (7v–12v) feeds the LD1117S50 5v regulator, and the 5v rail feeds the LD39050PU33R 3.3v regulator (U3, 500mA). The MCU’s VDD passes through JP1 (IDD). You’ll also find the 32.768kHz crystal X1 on PC14/PC15 with SB4–SB8, the D4/A4 and D5/A5 bridges SB16/SB18, SB10 (VREF+), SB12 (BOOT0 pull-down), SB15 (LD3 on D13), and the two Arduino Nano headers CN3 and CN4.
- ST-LINK/V2-1 (sheet 3): an STM32F103CBT6 does the SWD debugging (PA13/PA14, PB3 SWO, NRST), the USB mass-storage flashing, and the Virtual COM port (SB2 to PA2, SB3 to PA15). It also has the USB power switch that powers the target only after the PC grants 300mA (or 100mA with SB1 on), and the tricolor LD1 COM LED.
Nucleo-L432KC Specs
The Nucleo-L432KC combines the ultra-low-power STM32L432KCU6 with ST’s Nucleo-32 board (MB1180) in the Arduino Nano form factor. Here are its specifications, including the board-level parts that chip-only spec lists usually skip.

Get a Nucleo-L432KC: The official ST board is the one I recommend. Grab it from Amazon or AliExpress.
| Item | Nucleo-L432KC |
|---|---|
| MCU | STM32L432KCU6, UFQFPN32 (5×5mm) |
| Core | Arm Cortex-M4 with FPU, DSP and MPU, up to 80MHz (100 DMIPS), ART Accelerator |
| Memory | 256KB Flash, 64KB SRAM (16KB of it with hardware parity), Quad-SPI interface |
| Low power | Shutdown 8nA, Standby 28nA (280nA with RTC), Stop 2 1.0µA (1.28µA with RTC), Run 84µA/MHz |
| Logic level | 3.3v (all header I/Os 5v tolerant except A2, A3 and A4) |
| GPIO pins | 24 on the headers: D0–D13 and A0–A7 (D7/D8 not connected by default) |
| Board supply | USB 5v (300mA), VIN 7v–12v, +5V 4.75v–5.25v, or +3V3 3.0v–3.6v |
| 5v regulator | LD1117S50: 800mA at 7v in, 450mA at 7v–9v, 300mA at 9v–10v, less above 10v |
| 3.3v regulator | LD39050PU33R (U3), 500mA |
| Clocks | 32.768kHz LSE crystal (X1). No HSE: MSI (auto-trimmed by the LSE) or HSI16 + PLL for 80MHz |
| Debugger | On-board ST-LINK/V2-1: SWD, drag-and-drop flashing, Virtual COM port on USART2 |
| USB connector | Micro-B (CN1), for the ST-LINK only |
| Headers | Arduino Nano V3 layout: CN3 and CN4, 2×15 male pins |
| User I/O | LD3 green LED (PB3/D13), B1 reset button (no user button) |
| Current measurement | JP1 (IDD) jumper in series with the MCU supply |
| PCB | MB1180 rev C, the same PCB as the Nucleo-F303K8 and the other Nucleo-32 boards |
Nucleo-L432KC Specifications Summary
- The Nucleo-L432KC runs the STM32L432KCU6 at up to 80MHz with 256KB Flash and 64KB SRAM.
- It draws 8nA in Shutdown, 28nA in Standby, and 1.0µA in Stop 2, and wakes from Stop in 4µs.
- Its two Arduino Nano headers carry 24 GPIOs: D0–D13 and A0–A7. D7/D8 are disconnected by default (32.768kHz crystal).
- Every header I/O is 5v tolerant except A2 (PA3), A3 (PA4) and A4 (PA5), which are 3.3v-only TT pins.
- A4 = D4 and A5 = D5 by default: solder bridges SB18/SB16 short them for Arduino Nano I2C.
- It has 1x 12-bit ADC at 5.33Msps (16-bit with hardware oversampling) with 10 channels on the headers: A0–A7, D3 and D6.
- It has 2x 12-bit DAC outputs (A3 and A4), 1 op-amp and 2 comparators.
- 15 header pins can output PWM; D3, D5 and D6 are inverted (complementary) outputs, and D11 has no PWM.
- It has 3 serial ports: USART1 (D1/D0), USART2 and LPUART1. The ST-LINK Virtual COM port is USART2 on PA2 (A7, TX) and PA15 (RX).
- The default I2C pins are D4 (PB7, SDA) and D5 (PB6, SCL); the default SPI pins are D13 (SCK), D12 (MISO), D11 (MOSI).
- It has 1x CAN 2.0B and a crystal-less USB 2.0 full-speed device, both on D10 (PA11) and D2 (PA12).
- The user LED LD3 is on D13 (PB3). B1 is a reset button, so there is no user button.
Nucleo-L432KC Peripherals: MCU vs On the Headers
The STM32L432KC has more peripherals than 30 header pins can show. This table tells you what the chip has and where you can actually reach it on the board.
| Peripheral | STM32L432KC (UFQFPN32) | On the Nucleo-L432KC headers |
|---|---|---|
| ADC | 1x 12-bit, 5.33Msps, oversampling to 16-bit | 10 pins: A0–A7, D3, D6 |
| DAC | 2x 12-bit with sample-and-hold | A3 (PA4), A4 (PA5) |
| Op-amp / comparators | 1x op-amp with PGA, 2x ultra-low-power comparators | OPAMP1 on A0/A1/A2; COMP1/COMP2 on several pins |
| PWM timers | TIM1 (advanced), TIM2 (32-bit), TIM15, TIM16; TIM6/7 basic | 15 PWM pins |
| Low-power timers | LPTIM1, LPTIM2 (run in Stop mode) | LPTIM2_OUT on A3 and D9; LPTIM1 inputs on D4, D5, D11 |
| U(S)ART | USART1, USART2, LPUART1 | USART1 (D1/D0), USART2 (A7 + PA15 to the VCP), LPUART1 (A7/A2) |
| SPI | SPI1, SPI3 + Quad-SPI | SPI1/SPI3 on D11–D13 |
| I²C | I2C1, I2C3, Fast-mode Plus (1MHz) | I2C1 on D4/D5 (= A4/A5) or D0/D1; I2C3 on A6/D12 |
| CAN | 1x CAN 2.0B | D10 (RX), D2 (TX) |
| USB | USB 2.0 FS device, crystal-less, LPM and BCD | D10 (DM), D2 (DP); no USB connector for it |
| Others | SAI, SWPMI, touch sensing, RNG, RTC, 14 DMA channels | some signals |
Nucleo-L432KC Quick Pin Selection Guide
Not sure which pin to use? Here are the Nucleo-L432KC pins I’d pick first for each job, and why.
| Use case | Recommended pins | Why |
|---|---|---|
| Serial to the PC | USART2 via USB (PA2/PA15) | Already wired to the ST-LINK Virtual COM port; Serial in Arduino |
| Serial to a module (GPS, Bluetooth…) | USART1: D1 (TX), D0 (RX) | The Arduino Nano serial pins, free by default; Serial1 |
| I2C sensors and displays | D5 (SCL), D4 (SDA) | The default Wire pins, also on A5/A4 for Nano shields |
| Second I2C bus | A6 (SCL), D12 (SDA) | I2C3, with no solder-bridge change |
| SPI devices | D13 (SCK), D12 (MISO), D11 (MOSI), D10 (CS) | The default SPI pins (SPI1) |
| PWM (motors, LEDs, servos) | D9, D10, D1, D0, A0, A1 | Normal (non-inverted) timer channels that don’t share a channel |
| Analog inputs | A0, A1, A6, D3, D6 | Free ADC pins with no bridge or VCP attached |
| Analog output (DAC) | A3 (PA4) | DAC1_OUT1, not shared with D4 |
| CAN bus | D10 (CAN1_RX), D2 (CAN1_TX) | With a 3.3v CAN transceiver; remove the GND–D2 jumper |
| USB device | D10 (DM), D2 (DP) | Crystal-less USB FS using HSI48 + CRS |
| Wake-up from Standby/Shutdown | A0 (PA0, WKUP1) | The only free wake-up pin (WKUP4 on A7 is the VCP TX) |
| On-board LED | D13 (PB3) | LED_BUILTIN in Arduino |
| Safest general GPIO | D9, D3, D6, A0, A1, A6 | No board load, no debug or bridge role |
Nucleo-L432KC Pins to Use With Caution
| Pin | Reason | What to do |
|---|---|---|
| A2 (PA3), A3 (PA4), A4 (PA5) | TT pins: not 5v tolerant (3.6v max) | Never connect 5v signals; use a level shifter or divider |
| A4 (PA5) + D4 (PB7), A5 (PA6) + D5 (PB6) | Shorted by SB18/SB16 by default | Keep the unused pin of each pair a floating input, or open SB16/SB18 |
| A7 (PA2) | Virtual COM port TX (SB2 on) | Open SB2 to use A7 as an analog input |
| D2 (PA12) | Shorted to GND by the factory demo jumper | Remove the black jumper on CN3 pins 4–5 first |
| D7 (PC14), D8 (PC15) | Not connected: used by the 32.768kHz crystal; 3mA, 2MHz max | Use other pins, or rework SB4–SB8 and disable the LSE |
| D13 (PB3) | Drives LED LD3 (SB15) and is the SWO pin | Expect the LED load on SPI SCK; open SB15 for a clean signal |
| D12 (PB4), D13 (PB3) | JTAG pins (NJTRST, SWO) after reset | Set the debug mode to Serial Wire (CubeMX and Arduino do it) |
| D3, D5, D6 | Only inverted (CHxN) PWM channels | Enable the N output and invert the duty cycle |
| AREF | Tied to 3.3v by SB10 | It is an output; open SB10 before feeding an external reference |
Nucleo-L432KC Pins Functions
The 30 header pins of the Nucleo-L432KC (24 of them GPIOs) are divided into the following groups based on the hardware functionality they’re used for. Most pins have several alternate functions, so one pin can belong to more than one group.
- Power Pins: VIN, +5V, +3V3, AREF, GND, RESET
- Low-Power Modes & Current Measurement (JP1)
- 24x Digital GPIO Pins (22 connected by default)
- 16x External Interrupt Lines (any GPIO)
- 10x ADC Analog Input Pins
- 2x DAC Output Pins
- 1x Op-Amp & 2x Comparators
- 15x PWM Pins
- 3x Serial Ports (USART1, USART2, LPUART1)
- 2x I2C Buses
- 2x SPI Ports
- 1x CAN Bus Port
- 1x USB FS Device Port
- Debug (SWD) & Boot Pins
We’ll discuss each pin group in the following sections one by one in more detail.
Nucleo-L432KC Power Pins
The Nucleo-L432KC can be powered from the USB connector (5v, 300mA), the VIN pin (7v–12v), the +5V pin (4.75v–5.25v) or the +3V3 pin (3.0v–3.6v). The power pins are highlighted in red in the pinout diagram.

| Pin | Header pin | Range | Notes |
|---|---|---|---|
| VIN | CN4-1 | 7v–12v in | LD1117 5v regulator: 800mA at 7v, 450mA at 7v–9v, 300mA at 9v–10v, less above 10v |
| +5V | CN4-4 | 5v out / 4.75v–5.25v in | Output when powered from USB or VIN. As an input (500mA), open SB9 if USB is not plugged in |
| +3V3 | CN4-14 | 3.3v out / 3.0v–3.6v in | 500mA regulator output. As an input, open SB14 and SB9 (the ST-LINK is then unpowered) |
| AREF | CN4-13 | = 3.3v | VDDA/VREF+, tied to VDD by SB10 |
| GND | CN3-4, CN4-2 | 0v | Common ground |
| RESET | CN3-3, CN4-3 | – | NRST, active LOW |
When you power the board from USB, the ST-LINK asks the PC for 300mA during enumeration, and only turns the MCU on if it gets it (the red LD2 PWR LED stays off otherwise). A USB phone charger doesn’t enumerate, so close SB1 to make the board ask for only 100mA. If you use an external supply, check that SB1 is off, power VIN or +5V first, check that LD2 is on, and only then plug in the USB cable.
Note: Powering the board from +5V or +3V3 with no USB cable leaves the ST-LINK unpowered, and it holds the MCU in reset through SB9. Remove SB9 in that case (and SB14 too for +3V3). Keep a way to reconnect NRST: users report that flashing becomes unreliable without it once the firmware sleeps deeply or remaps the SWD pins.
Nucleo-L432KC Low-Power Modes & Current Measurement
The Nucleo-L432KC is built for battery projects: the STM32L432KC draws only 8nA in Shutdown, 28nA in Standby and 1.0µA in Stop 2. You can measure that current on the board itself, by replacing the JP1 (IDD) jumper with an ammeter.
| Mode | Typical current (DS11451) | What keeps running | How it wakes up |
|---|---|---|---|
| Run | 84µA/MHz | Everything | – |
| Stop 2 | 1.0µA (1.28µA with RTC) | SRAM and registers kept; RTC, LPTIM1 and LPUART1 can run | Any EXTI pin, RTC, LPTIM1, LPUART1; about 4µs, then the code continues |
| Standby | 28nA (280nA with RTC) | Backup registers, RTC; SRAM2 optionally kept | WKUP pins, RTC, reset; restarts from reset |
| Shutdown | 8nA | Backup registers, RTC from the LSE | WKUP pins, RTC, reset; restarts from reset |
Nucleo-L432KC Wake-Up Pins: WKUP1 = PA0 (A0) and WKUP4 = PA2 (A7, but that’s the VCP TX). So A0 is the wake-up pin to use; set it to a rising edge and pull it down.
Why Is My Nucleo-L432KC Stop 2 Current So High?
Users who run ST’s own PWR_STOP2 example on the Nucleo-L432KC report readings in the milliamp range on JP1 instead of about 1µA (ST Community). The MCU isn’t at fault: something on the board or in the setup keeps current flowing. Here’s how I’d measure it properly:
- Flash the low-power firmware first, while the board is still powered normally.
- Unplug USB and power the board from VIN or +5V (SB9 open), so the ST-LINK is unpowered and can’t keep the debug link alive. A connected debugger keeps the MCU’s debug block awake in Stop mode.
- Remove JP1 (IDD) and connect your ammeter (or a power analyzer) across its two pins. Only the MCU’s VDD current flows through it.
- Set every unused pin to analog mode before sleeping, and disable the “debug in low-power mode” option (DBGMCU). Floating or pulled pins cost tens of µA.
- Remember the board paths: PA2/PA15 still connect to the ST-LINK through SB2/SB3, LD3 on D13 draws current if it is left on, and NRST goes to the ST-LINK through SB9. Open them for nano-amp measurements.
- Start on a high current range, then switch to µA once the MCU is asleep, so the start-up current doesn’t trip the meter.
Note: DeepBlueMbedded’s STM32 low-power tutorials were made on this exact board, the Nucleo-L432KC, so you can follow them step by step with the same pins and the same JP1 measurement.
Learn more in our STM32 Low Power Modes Tutorial series.
Also Read
Nucleo-L432KC GPIO Pins
The Nucleo-L432KC has 24 GPIO pins on its Arduino Nano headers: D0–D13 and A0–A7, and 22 of them are connected by default (D7/D8 belong to the crystal). They work at 3.3v, and all of them are 5v tolerant except A2 (PA3), A3 (PA4) and A4 (PA5).

Each GPIO can be an input (floating, pull-up or pull-down), a push-pull or open-drain output, an analog pin, or an alternate function. Here are the electrical limits from the DS11451 datasheet:
- Absolute max current per pin: ±20mA. Keep it under 8mA for guaranteed logic levels.
- Total current for all pins: 100mA sunk and 100mA sourced.
- PC14 and PC15 (D7/D8): 3mA max and 2MHz max; never drive an LED with them.
- 5v tolerance (FT) only applies while the board is powered and the pin isn’t in analog mode.
Nucleo-L432KC Arduino Nano Pins vs STM32 Pins
Here’s the full Nucleo-L432KC mapping from the Arduino Nano pin names to the STM32 port pins, as you’d type them in code:
| Arduino pin | STM32 pin | Arduino pin | STM32 pin | Arduino pin | STM32 pin |
|---|---|---|---|---|---|
| D0 | PA10 | D7 | PC14 (NC) | A0 | PA0 |
| D1 | PA9 | D8 | PC15 (NC) | A1 | PA1 |
| D2 | PA12 | D9 | PA8 | A2 | PA3 |
| D3 | PB0 | D10 | PA11 | A3 | PA4 |
| D4 | PB7 | D11 | PB5 | A4 | PA5 + PB7 |
| D5 | PB6 | D12 | PB4 | A5 | PA6 + PB6 |
| D6 | PB1 | D13 | PB3 | A6 | PA7 |
| A7 | PA2 (VCP TX) |
Nucleo-L432KC D7 and D8 Pins
On the Nucleo-L432KC, D7 and D8 are not connected out of the box. They go to PC14/PC15, which drive the 32.768kHz LSE crystal X1 (SB5/SB7 on, SB6/SB8 off). To use them as GPIOs, close SB6 (D7) and SB8 (D8), open SB5/SB7, and turn the LSE off in your firmware too: one Mbed user’s board failed to start until the LSE was disabled (Mbed forum).
There’s also a labelling conflict in ST’s own documents: the MB1180 schematic names the nets “D8 PF0/PC14” and “D7 PF1/PC15”, while UM1956 Table 16 says D7 = PC14 and D8 = PC15. The diagram and this article follow UM1956, which also matches ST’s official pinout image. If you need 2 more GPIOs, consider freeing A7 (open SB2) or splitting the A4/A5 pairs before you sacrifice the crystal.
Note: On the Nucleo-L432KC, A2, A3 and A4 are 3.3v-only, and so are all the pins while they’re in analog mode. On a classic 5v Arduino Nano everything is 5v, so a 5v Nano shield can damage these pins. Check every signal before you plug one in.
Learn more in our STM32 GPIO Tutorial series.
Also Read
Nucleo-L432KC Interrupt Pins
Every GPIO pin on the Nucleo-L432KC can be an external interrupt source. The STM32L432KC has 16 EXTI lines for the pins, one per pin number, so PA0 (A0) and PB0 (D3) both share EXTI0 and only one of them can use it at a time. The EXTI lines also wake the MCU from Sleep and Stop modes.
| EXTI line | Pins that can use it | Interrupt vector |
|---|---|---|
| EXTI0 – EXTI4 | Px0 – Px4 (one port each) | EXTI0_IRQn … EXTI4_IRQn (one each) |
| EXTI5 – EXTI9 | Px5 – Px9 | EXTI9_5_IRQn (shared) |
| EXTI10 – EXTI15 | Px10 – Px15 | EXTI15_10_IRQn (shared) |
Watch for clashes on this small board: D3 (PB0) and A0 (PA0) share EXTI0, D6 (PB1) and A1 (PA1) share EXTI1, D13 (PB3) and A2 (PA3) share EXTI3, and D12 (PB4) and A3 (PA4) share EXTI4. In Arduino, attachInterrupt(digitalPinToInterrupt(pin), isr, FALLING) works on any pin.
Learn more in our STM32 External Interrupt Tutorial.
Also Read
Nucleo-L432KC ADC Pins
The Nucleo-L432KC has 1x 12-bit ADC at up to 5.33Msps with 10 channels on the headers: A0–A7 plus D3 and D6. With hardware oversampling, it gives up to 16-bit results. The reference is VDDA (3.3v) through SB10.

| Arduino pin | GPIO | ADC channel | Header pin | Note |
|---|---|---|---|---|
| A0 | PA0 | ADC1_IN5 | CN4-12 | |
| A1 | PA1 | ADC1_IN6 | CN4-11 | |
| A2 | PA3 | ADC1_IN8 | CN4-10 | 3.3v only |
| A3 | PA4 | ADC1_IN9 | CN4-9 | 3.3v only |
| A4 | PA5 | ADC1_IN10 | CN4-8 | 3.3v only; shared with D4 (PB7) by SB18 |
| A5 | PA6 | ADC1_IN11 | CN4-7 | Shared with D5 (PB6) by SB16 |
| A6 | PA7 | ADC1_IN12 | CN4-6 | |
| A7 | PA2 | ADC1_IN7 | CN4-5 | VCP TX by default; open SB2 |
| D3 (A8) | PB0 | ADC1_IN15 | CN3-6 | |
| D6 (A9) | PB1 | ADC1_IN16 | CN3-9 |
In the STM32duino core, D3 and D6 are also available as analog inputs A8 and A9. For A4 and A5, keep D4 (PB7) and D5 (PB6) as floating inputs (don’t start Wire), or the I2C pins pull your reading. The cleanest analog inputs are A0, A1, A6, D3 and D6.
Note: A pin in analog mode is never 5v tolerant: the ADC input saturates at 3.3v even on an FT pin. Keep every ADC input between 0v and 3.3v, and use a voltage divider to measure higher voltages.
There are so many sensors that we can read with the ADC pins, which include: potentiometers, LDRs, analog temperature sensors (LM35, NTC thermistors), current sensors (ACS712), joysticks, soil moisture sensors, and much more.
Learn more in our STM32 ADC Tutorial series.
Also Read
Nucleo-L432KC DAC Pins
The Nucleo-L432KC has 2x 12-bit DAC outputs: DAC1_OUT1 on A3 (PA4) and DAC1_OUT2 on A4 (PA5). They have a low-power sample-and-hold mode for battery designs.
| DAC output | GPIO | Arduino pin | Header pin | Note |
|---|---|---|---|---|
| DAC1_OUT1 | PA4 | A3 | CN4-9 | Clean output, recommended |
| DAC1_OUT2 | PA5 | A4 | CN4-8 | Shared with D4 (PB7) by SB18: keep PB7 a floating input |
Note: The buffered DAC can’t quite reach the rails: one user measured about 0.045v to 3.28v. If you need a true 0v, disable the output buffer and drive a high-impedance load, or add an op-amp stage.
Learn more in our STM32 DAC Tutorial series.
Also Read
Nucleo-L432KC Op-Amp & Comparator Pins
The Nucleo-L432KC has 1 op-amp (OPAMP1) with a built-in programmable gain amplifier (PGA) and 2 ultra-low-power comparators. OPAMP1 has its inputs on A0 (+) and A1 (−) and its output on A2.
| Block | Non-inverting input (+) | Inverting input (−) | Output |
|---|---|---|---|
| OPAMP1 | A0 (PA0) | A1 (PA1) | A2 (PA3) |
| COMP1 | A1 (PA1) | A0 (PA0), A3 (PA4), A4 (PA5), D6 (PB1), VREFINT/DAC | A0 (PA0), A5 (PA6), D3 (PB0), D10 (PA11) |
| COMP2 | A2 (PA3), D12 (PB4), D5 (PB6) | A7 (PA2), A3 (PA4), A4 (PA5), D13 (PB3), D4 (PB7), VREFINT/DAC | A7 (PA2), A6 (PA7), D11 (PB5) |
In PGA mode, the op-amp amplifies a small sensor signal by x2 to x16 and feeds it straight to the ADC inside the chip, so you don’t need an external amplifier for a shunt resistor or a thermocouple. The comparators can compare a pin against an internal reference or the DAC, and they keep working in Stop mode to wake the MCU.
Learn more in our STM32 OpAmp (PGA) Tutorial.
Also Read
Learn more in our STM32 Comparator Tutorial.
Also Read
Nucleo-L432KC PWM Pins
The Nucleo-L432KC has 15 PWM pins: D0, D1, D3, D5, D6, D9, D10, D13, and A0–A3, A5–A7. D3, D5 and D6 only have inverted (complementary) outputs, and D11 has no PWM at all. The PWM pins are highlighted in orange in the pinout diagram.

| Arduino pin | GPIO | Timer channel | Arduino pin | GPIO | Timer channel |
|---|---|---|---|---|---|
| D0 | PA10 | TIM1_CH3 | A0 | PA0 | TIM2_CH1 |
| D1 | PA9 | TIM1_CH2 | A1 | PA1 | TIM2_CH2 (or TIM15_CH1N) |
| D3 | PB0 | TIM1_CH2N (inverted) | A2 | PA3 | TIM2_CH4 (or TIM15_CH2) |
| D5 | PB6 | TIM16_CH1N (inverted) | A3 | PA4 | LPTIM2_OUT (low-power timer) |
| D6 | PB1 | TIM1_CH3N (inverted) | A5 | PA6 | TIM16_CH1 |
| D9 | PA8 | TIM1_CH1 | A6 | PA7 | TIM1_CH1N (inverted) |
| D10 | PA11 | TIM1_CH4 | A7 | PA2 | TIM2_CH3 (or TIM15_CH1) |
| D13 | PB3 | TIM2_CH2 |
Pins on the same timer share its frequency, and some pins share a channel: D13 and A1 are both TIM2_CH2, so they always output the same duty cycle (use TIM15_CH1N on A1 to split them). The “N” pins are the complementary outputs of another pin’s channel: D3 pairs with D1, D6 with D0, A6 with D9, and D5 with A5. Their duty cycle is inverted, and you have to enable the N output (CubeMX: “PWM Generation CHxN”). TIM2 is 32-bit; TIM3 and TIM4 don’t exist on this chip, so use TIM15/TIM16 in code ported from other STM32s.
Note: A4 (PA5) can also output TIM2_CH1, but that’s the same channel as A0, so UM1956 doesn’t count it as a separate PWM pin.
There are so many things that we can control with PWM, which include: LED dimming, DC motor speed (with a driver), servo motors, buzzers, ESCs for brushless motors, and much more.
Calculate your timer settings with this STM32 PWM Calculator.
Learn more in our STM32 PWM Tutorial series.
Also Read
Nucleo-L432KC UART Pins
The Nucleo-L432KC has 3 serial ports: USART1, USART2 and the low-power LPUART1. USART2 is the ST-LINK Virtual COM port, with TX on PA2 (A7) and RX on PA15, a pin that isn’t on the headers. USART1 is on the Arduino Nano serial pins D1 (TX) and D0 (RX).

Nucleo-L432KC Default Serial (USART2): PA2 (TX, A7) and PA15 (RX), to the PC over USB.
| UART | TX pins | RX pins | Note |
|---|---|---|---|
| USART1 | D1 (PA9), D5 (PB6) | D0 (PA10), D4 (PB7) | Best choice for a header UART; Serial1 in Arduino |
| USART2 | A7 (PA2) | PA15 (VCP), A2 (PA3) | ST-LINK Virtual COM port on PA2/PA15 |
| LPUART1 | A7 (PA2) | A2 (PA3) | Keeps receiving in Stop 2 and wakes the MCU |
Note: STM32CubeMX puts USART2 on PA2/PA3 by default, but the ST-LINK listens on PA15. With the CubeMX default, the board sends to your PC but never receives. Move USART2_RX to PA15 in CubeMX. In Arduino (STM32duino) Serial is already on PA2/PA15, and in Mbed use USBTX/ USBRX.
If you need A7 as an analog input, open SB2 (VCP TX) and SB3 (VCP RX), and use USART1 on D1/D0 instead. Another user-reported gotcha: when the board runs from an external supply with no USB, PA2 back-feeds the unpowered ST-LINK through SB2 and can read about 1.4v instead of 3.3v.
There are so many modules that we can interface with the UART pins, which include: GPS modules, Bluetooth modules (HC-05), ESP8266/ESP32 Wi-Fi modules, LoRa modules, RS485 transceivers, fingerprint sensors, and much more.
Learn more in our STM32 UART Tutorial series.
Also Read
Nucleo-L432KC I2C Pins
The Nucleo-L432KC has 2x I2C buses, both Fast-mode Plus (1MHz). The default I2C1 pins are D4 (PB7, SDA) and D5 (PB6, SCL), and solder bridges SB18/SB16 also put them on A4 and A5, where Arduino Nano shields expect I2C.

Nucleo-L432KC Default I2C1 Pins: D4 = PB7 (SDA) and D5 = PB6 (SCL), also on A4 and A5.
| I2C bus | SCL pins | SDA pins | Note |
|---|---|---|---|
| I2C1 | D5 (PB6) = A5, D1 (PA9) | D4 (PB7) = A4, D0 (PA10) | Default Wire bus |
| I2C3 | A6 (PA7) | D12 (PB4) | Second bus, no bridge change |
Why Are A4/A5 and D4/D5 Connected on the Nucleo-L432KC?
Because ST wanted Arduino Nano I2C on A4/A5, but PA5 and PA6 can’t do I2C1. So rev C of the board added SB18 (PB7 to A4) and SB16 (PB6 to A5), and both are closed by default. That means A4 and D4 are the same pin, and so are A5 and D5. Driving one pin of a pair fights the other, and CubeMX knows nothing about it.
Note: This is the #1 gotcha on the Nucleo-L432KC. If D4/D5 or A4/A5 “don’t work” as GPIO, SPI, PWM or analog inputs, it’s the bridges. Use one pin of each pair and set the other as a floating (or analog) input, or remove SB16/SB18 to get four independent pins (ST Community). There are no I2C pull-ups on the board, so add 4.7kΩ pull-ups to 3.3v unless your module has them.
There are so many modules and sensors that we can interface with the I2C bus, which include: OLED displays (SSD1306), I2C LCDs, RTC modules (DS3231), IMUs (MPU6050), BME280 sensors, EEPROMs, and much more.
Learn more in our STM32 I2C Tutorial series.
Also Read
Nucleo-L432KC SPI Pins
The Nucleo-L432KC has 2x SPI ports (SPI1 and SPI3) plus a Quad-SPI interface. The default SPI1 pins are D13 (SCK), D12 (MISO) and D11 (MOSI), just like on an Arduino Nano, and D10 is the usual chip select.

Nucleo-L432KC Default SPI1 Pins: D13 = PB3 (SCK), D12 = PB4 (MISO), D11 = PB5 (MOSI), and D10 (PA11) as a GPIO chip select.
| SPI port | SCK | MISO | MOSI | NSS |
|---|---|---|---|---|
| SPI1 | D13 (PB3), A4 (PA5), A1 (PA1) | D12 (PB4), A5 (PA6), D10 (PA11) | D11 (PB5), A6 (PA7), D2 (PA12) | A3 (PA4), D3 (PB0) |
| SPI3 | D13 (PB3) | D12 (PB4) | D11 (PB5) | A3 (PA4) |
Note: D13 (SPI1_SCK) also drives the green LED LD3, so the LED flickers during SPI transfers. That’s normal. UM1956 lists D10 as “SPI_CS”, but PA11 has no hardware NSS: drive it as a GPIO chip select in software.
There are so many modules that we can interface with the SPI bus, which include: TFT displays (ILI9341, ST7735), SD card modules, nRF24L01 radios, MAX7219 LED drivers, W5500 Ethernet modules, and much more.
Learn more in our STM32 SPI Tutorial series.
Also Read
Nucleo-L432KC CAN Pins
The Nucleo-L432KC has 1x CAN 2.0B controller (CAN1) on D10 (PA11, RX) and D2 (PA12, TX).

| CAN | RX pin | TX pin |
|---|---|---|
| CAN1 | D10 (PA11) | D2 (PA12) |
Note: The board has no CAN transceiver. Connect a 3.3v transceiver (SN65HVD230, TJA1051T/3…) between the pins and the bus, or use loopback mode for a quick test. And remove the factory jumper between GND and D2 first, or CAN TX is shorted to ground. D10/D2 are also the USB pins, so you can use CAN or USB, not both.
Nucleo-L432KC USB Pins
The STM32L432KC has a USB 2.0 full-speed device controller, but the Nucleo-L432KC’s Micro-B connector only goes to the ST-LINK. To use the MCU’s own USB, wire a USB connector (or a cut USB cable) to D10 (PA11, D−), D2 (PA12, D+) and GND, and keep the wires short (under 10cm).
| Signal | GPIO | Header pin |
|---|---|---|
| D− (DM) | PA11 | D10, CN3-13 |
| D+ (DP) | PA12 | D2, CN3-5 |
USB is crystal-less on this chip: it runs from the internal HSI48 oscillator, trimmed by the CRS (Clock Recovery System) to the USB start-of-frame packets, so the missing HSE crystal is not a problem. Enable HSI48 and CRS in CubeMX, and remember to remove the GND–D2 jumper.
Learn more in our STM32 USB CDC Tutorial.
Also Read
Nucleo-L432KC Debug (SWD) & Boot Pins
The Nucleo-L432KC is programmed and debugged over SWD on PA13 (SWDIO) and PA14 (SWCLK), which go to the on-board ST-LINK/V2-1 and are not on the headers. The SWO trace pin is PB3 = D13, shared with LD3 and SPI SCK. There’s no BOOT0 pin on the headers: PH3-BOOT0 is pulled to GND by 10kΩ (SB12).

| Pin | Header pin | Function after reset |
|---|---|---|
| PA13 | none (ST-LINK) | SWDIO |
| PA14 | none (ST-LINK) | SWCLK |
| PB3 | D13, CN4-15 | SWO (JTDO) |
| PB4 | D12, CN3-15 | NJTRST (pull-up on) |
| PA15 | none (VCP RX) | JTDI |
| NRST | CN3-3, CN4-3 | Reset (B1 button, ST-LINK) |
To start ST’s system bootloader, set the option bytes in STM32CubeProgrammer (nSWBOOT0 = 0 and nBOOT0 = 0), or let the chip do it: if the first Flash word is blank, it boots the bootloader by itself. According to AN2606 (section 77), the STM32L432 bootloader listens on these header pins:
| Interface | Pins | Header |
|---|---|---|
| USART1 | PA9 (TX), PA10 (RX) | D1, D0 |
| USART2 | PA2 (TX), PA3 (RX) | A7, A2 (not the VCP RX, which is PA15) |
| I2C1 | PB6 (SCL), PB7 (SDA) | D5, D4 |
| SPI1 | PA5 (SCK), PA6 (MISO), PA7 (MOSI), PA4 (NSS) | A4, A5, A6, A3 |
| USB DFU | PA11 (DM), PA12 (DP) | D10, D2 |
That empty-Flash check has a side effect: after the very first flash of a blank chip, the board can keep booting the bootloader until you power-cycle it once, because a plain reset doesn’t re-check the Flash.
Learn more in our STM32 SWD Debugging Tutorial.
Also Read
Nucleo-L432KC On-Board Features
Besides the headers, the Nucleo-L432KC has 3 LEDs, 1 button, a current-measurement jumper, and a set of solder bridges. Here’s what each one does.
| Part | Pin / Connection | What it does |
|---|---|---|
| LD1 COM (red/green) | ST-LINK | Slow red blink: before USB init. Fast red blink: enumerated. Red: ready. Green: target connected. Red/green blink: communicating. Orange: failure |
| LD2 PWR (red) | +5V | The MCU is powered and 5v is present |
| LD3 USER (green) | PB3 / D13 (SB15) | HIGH = on |
| B1 RESET | NRST | Resets the MCU (there is no user button) |
| JP1 (IDD) | MCU supply | Remove it and insert an ammeter to measure the MCU current |
| Demo jumper | CN3-4 to CN3-5 (GND–D2) | Ships fitted for the out-of-the-box demo; ST says to remove it |
What is the black jumper between GND and D2? It’s part of ST’s out-of-the-box demo, which blinks LD3: removing the jumper changes the blink rate. The UM1956 getting-started steps tell you to remove it, and you must, before you use D2 (USB D+, CAN TX or SPI MOSI).
Nucleo-L432KC Solder Bridges
These are the solder bridges you’re most likely to change, with the L432KC defaults (UM1956 sections 7.4, 7.8, 7.9 and 7.10):
| Bridge | Default | Effect |
|---|---|---|
| SB16, SB18 | ON | PB6 to A5 and PB7 to A4 (Arduino Nano I2C); open them to separate A4/A5 from D4/D5 |
| SB2 | ON | PA2 (A7) to the ST-LINK VCP TX; open it to use A7 as an analog input |
| SB3 | ON | PA15 to the ST-LINK VCP RX |
| SB5, SB7 | ON | PC14/PC15 to the 32.768kHz crystal X1 |
| SB6, SB8 | OFF | Close (and open SB5/SB7) to connect D7/D8 |
| SB4, SB17 | OFF | ST-LINK 8MHz MCO to the MCU (SB17: to PA0 / CK_IN) |
| SB1 | OFF | ON: the board asks the PC for only 100mA (for USB chargers) |
| SB9 | ON | ST-LINK NRST to the MCU; open it when you power from +5V or +3V3 only |
| SB10 | ON | VREF+ = VDD; open it to feed an external reference on AREF |
| SB12 | ON | PH3-BOOT0 pulled to GND by 10kΩ (boot from Flash) |
| SB14 | ON | 3.3v regulator output; open it when you feed 3.3v into +3V3 |
| SB15 | ON | LED LD3 on D13 |
Getting Started With Nucleo-L432KC
You can program the Nucleo-L432KC with any of the common STM32 toolchains, and the ST-LINK on board means you only need a Micro-USB cable.
- STM32CubeIDE: start a new project from the Board Selector, pick NUCLEO-L432KC, and let CubeMX set up LD3 and USART2. Then check that USART2_RX is on PA15, and clock the PLL from MSI or HSI16 to reach 80MHz (there’s no HSE).
- Arduino IDE (STM32duino): install “STM32 MCU based boards”, then choose Board: “Nucleo-32” and Board part number: “Nucleo L432KC”.
- PlatformIO: board ID nucleo_l432kc, with the STM32Cube, Arduino, Mbed or Zephyr framework.
- Zephyr RTOS: board name nucleo_l432kc.
- Drag-and-drop: the board shows up as a USB drive called NODE_L432KC; copy a .bin file onto it to flash it.
| Arduino name | Pin | Default |
|---|---|---|
Serial | PA2 / PA15 (USART2) | To the PC through the ST-LINK |
Serial1 | D1 / D0 (PA9 / PA10) | USART1 |
Wire | PB7 (SDA, D4), PB6 (SCL, D5) | I2C1, also on A4/A5 |
SPI | D13 / D12 / D11, CS = D10 | SPI1 |
LED_BUILTIN | PB3 (D13) | LD3 |
USER_BTN | not defined | B1 is reset only |
| A8, A9 | D3 (PB0), D6 (PB1) | Extra analog inputs |
Here’s the classic first test, blinking LD3 and printing to the Serial Monitor at 115200 baud:
|
1 2 3 4 5 6 7 8 9 10 |
void setup() { pinMode(LED_BUILTIN, OUTPUT); // LD3 on PB3 (D13) Serial.begin(115200); // USART2 to the ST-LINK VCP (PA2/PA15) } void loop() { digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN)); Serial.println("Hello from the Nucleo-L432KC"); delay(500); } |
With STM32CubeIDE and HAL, the same blink is HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_3); in the main loop. Follow the STM32 LED Blink Code Example for the full walk-through, and set up the 80MHz clock with the STM32 RCC Clock Configuration Guide.
Nucleo-L432KC Common Problems & Fixes
Why does UART2 send to my PC but never receive? The Virtual COM port RX is PA15, not PA3, and CubeMX defaults USART2_RX to PA3. Move it to PA15 (ST Community).
Why don’t D4/D5 (or A4/A5) work as GPIO, PWM or analog inputs? SB16/SB18 short them to each other. Set the unused pin of each pair as a floating input, or remove the bridges.
Why don’t D7/D8 do anything? They’re wired to the 32.768kHz crystal, not to the header. Rework SB5–SB8 and disable the LSE in firmware.
Why is the board stuck in reset on +5V or +3V3 power? The unpowered ST-LINK holds NRST LOW through SB9. Open SB9 (and SB14 for +3V3) (ST Community).
Why doesn’t GPIO_PIN_15 blink the LED? The LED is on header pin 15 of CN4, but that’s D13 = PB3, so use GPIOB, GPIO_PIN_3 (ST Community).
Why is D2 stuck LOW? The factory demo jumper shorts D2 to GND on CN3. Remove it.
Why is my PWM on D3, D5 or D6 inverted, or missing? Those pins only have complementary (CHxN) outputs. Enable the N output in CubeMX and invert the duty cycle. D11 has no PWM at all.
Why does my Stop 2 current read in mA? The debugger, floating pins and the ST-LINK paths keep current flowing. Measure on JP1 with USB unplugged and unused pins in analog mode (see the low-power section above).
Why does the board boot into the bootloader after the first flash? The L4 “empty Flash” check runs only at power-on. Power-cycle the board once (ST Community).
Nucleo-L432KC vs Nucleo-F303K8 vs Arduino Nano
The Nucleo-L432KC and the Nucleo-F303K8 are both Nucleo-32 boards on the same MB1180 PCB, so the headers, power, LEDs and ST-LINK are identical, and both fit the Arduino Nano footprint. Here’s how they compare:
| Feature | Nucleo-L432KC | Nucleo-F303K8 | Arduino Nano (classic) |
|---|---|---|---|
| MCU | STM32L432KCU6 | STM32F303K8T6 | ATmega328P |
| Core / clock | Cortex-M4F, 80MHz | Cortex-M4F, 72MHz | AVR, 16MHz |
| Flash / RAM | 256KB / 64KB | 64KB / 16KB | 32KB / 2KB |
| Logic level | 3.3v (most pins 5v tolerant) | 3.3v | 5v |
| Lowest-power mode | Shutdown, 8nA | Standby (µA range) | Power-down (µA range) |
| ADC | 1x 12-bit, 5.33Msps, 10 header pins | 2x 12-bit, 5Msps, 10 header pins | 10-bit, 8 pins |
| DAC | 2 channels | 3 channels | None |
| Op-amp / comparators | 1 / 2 | 1 / 2 | None / 1 |
| Serial / I2C / SPI | 3 / 2 / 2 | 2 / 1 / 1 | 1 / 1 / 1 |
| CAN / USB device | Yes / Yes | Yes / No | No / No |
| 32.768kHz crystal | Yes (D7/D8 not connected) | No (D7/D8 are GPIOs) | No |
| 3.3v-only header pins | A2, A3, A4 | A0–A7, D3, D6 | none (5v board) |
| Debugger | ST-LINK/V2-1 | ST-LINK/V2-1 | None (USB-serial bootloader) |
Pick the Nucleo-L432KC for battery-powered, USB and data-logging projects, where the nano-amp sleep modes, the 256KB Flash and the USB device matter. Pick the Nucleo-F303K8 for analog and motor-control work that needs the second ADC and the third DAC channel, and keep the classic Arduino Nano for 5v shields and the simplest beginner projects.
Nucleo-L432KC Pin Details
Here is every Nucleo-L432KC header pin in physical order, with its main functions, all its alternate functions, its 5v tolerance, and a short description. On both headers, pin 1 is at the USB connector end of the board.
Nucleo-L432KC CN3 Pins (Left Header)
Click to expand the full pin table (15 pins)
| Pin | Label | GPIO | Main functions | All alternate functions | 5v tolerant | Description |
|---|---|---|---|---|---|---|
| CN3-1 | D1 | PA9 | USART1_TX, TIM1_CH2 (PWM), I2C1_SCL | DAC1_EXTI9, I2C1_SCL, SAI1_FS_A, TIM15_BKIN, TIM1_CH2, USART1_TX | Yes | D1 is the USART1 TX pin (Serial1 in Arduino), and it can also be PWM or I2C1 SCL. |
| CN3-2 | D0 | PA10 | USART1_RX, TIM1_CH3 (PWM), I2C1_SDA | CRS_SYNC, I2C1_SDA, SAI1_SD_A, TIM1_CH3, USART1_RX | Yes | D0 is the USART1 RX pin; it is not the PC serial port, which is USART2. |
| CN3-3 | RESET | – | NRST | – | – | Pull it LOW to reset the MCU; shared with the B1 button and the ST-LINK. |
| CN3-4 | GND | – | Ground | – | – | Ground; the factory demo jumper links it to D2. |
| CN3-5 | D2 | PA12 | USB_DP, CAN1_TX, SPI1_MOSI, USART1_RTS | CAN1_TX, SPI1_MOSI, TIM1_ETR, USART1_DE, USART1_RTS, USB_DP | Yes | D2 is the USB D+ and CAN TX pin; remove the factory GND–D2 jumper before you use it. |
| CN3-6 | D3 | PB0 | ADC1_IN15, TIM1_CH2N (inverted PWM), SPI1_NSS | ADC1_IN15, COMP1_OUT, QUADSPI_BK1_IO1, SAI1_EXTCLK, SPI1_NSS, TIM1_CH2N | Yes | D3 doubles as analog input A8, and its PWM output is the inverted (CH2N) channel. |
| CN3-7 | D4 | PB7 | I2C1_SDA, USART1_RX, LPTIM1_IN2 | COMP2_INM, I2C1_SDA, LPTIM1_IN2, PVD_IN, TSC_G2_IO4, USART1_RX | Yes | D4 is the default I2C SDA (Wire), and it is shorted to A4 by SB18 out of the box. |
| CN3-8 | D5 | PB6 | I2C1_SCL, USART1_TX, TIM16_CH1N (inverted PWM) | COMP2_INP, I2C1_SCL, LPTIM1_ETR, SAI1_FS_B, TIM16_CH1N, TSC_G2_IO3, USART1_TX | Yes | D5 is the default I2C SCL (Wire), and it is shorted to A5 by SB16 out of the box. |
| CN3-9 | D6 | PB1 | ADC1_IN16, TIM1_CH3N (inverted PWM), LPUART1_RTS | ADC1_IN16, COMP1_INM, LPTIM2_IN1, LPUART1_DE, LPUART1_RTS, QUADSPI_BK1_IO0, TIM1_CH3N | Yes | D6 doubles as analog input A9, and its PWM output is the inverted (CH3N) channel. |
| CN3-10 | D7 | PC14 | OSC32_IN | RCC_OSC32_IN | Yes | D7 is not connected by default: PC14 drives the 32.768kHz crystal X1. |
| CN3-11 | D8 | PC15 | OSC32_OUT | ADC1_EXTI15, RCC_OSC32_OUT | Yes | D8 is not connected by default: PC15 drives the 32.768kHz crystal X1. |
| CN3-12 | D9 | PA8 | TIM1_CH1 (PWM), MCO, USART1_CK, LPTIM2_OUT | LPTIM2_OUT, RCC_MCO, SAI1_SCK_A, SWPMI1_IO, TIM1_CH1, USART1_CK | Yes | D9 is a free PWM pin, and it can also output an internal clock (MCO) for debugging. |
| CN3-13 | D10 | PA11 | USB_DM, CAN1_RX, TIM1_CH4 (PWM), SPI1_MISO | ADC1_EXTI11, CAN1_RX, COMP1_OUT, SPI1_MISO, TIM1_BKIN2, TIM1_BKIN2_COMP1, TIM1_CH4, USART1_CTS, USB_DM | Yes | D10 is the USB D− and CAN RX pin, and the usual SPI chip select (driven as a GPIO). |
| CN3-14 | D11 | PB5 | SPI1_MOSI / SPI3_MOSI, I2C1_SMBA, LPTIM1_IN1 | COMP2_OUT, I2C1_SMBA, LPTIM1_IN1, SAI1_SD_B, SPI1_MOSI, SPI3_MOSI, TIM16_BKIN, TSC_G2_IO2, USART1_CK | Yes | D11 is the default SPI MOSI, and the only digital pin with no PWM. |
| CN3-15 | D12 | PB4 | SPI1_MISO / SPI3_MISO, I2C3_SDA, TSC_G2_IO1 | COMP2_INP, I2C3_SDA, SAI1_MCLK_B, SPI1_MISO, SPI3_MISO, JTRST, TSC_G2_IO1, USART1_CTS | Yes | D12 is the default SPI MISO, and the I2C3 SDA pin (NJTRST after reset). |
Nucleo-L432KC CN4 Pins (Right Header)
Click to expand the full pin table (15 pins)
| Pin | Label | GPIO | Main functions | All alternate functions | 5v tolerant | Description |
|---|---|---|---|---|---|---|
| CN4-1 | VIN | – | 7v–12v input | – | – | 7v–12v input to the LD1117 5v regulator. |
| CN4-2 | GND | – | Ground | – | – | Ground. |
| CN4-3 | RESET | – | NRST | – | – | Pull it LOW to reset the MCU. |
| CN4-4 | +5V | – | 5v input / output | – | – | 5v output from USB or VIN, or a 4.75v–5.25v input (open SB9 when there is no USB). |
| CN4-5 | A7 | PA2 | ADC1_IN7, USART2_TX (VCP TX), LPUART1_TX, TIM2_CH3 | ADC1_IN7, COMP2_INM, COMP2_OUT, LPUART1_TX, QUADSPI_BK1_NCS, RCC_LSCO, WKUP4, TIM15_CH1, TIM2_CH3, USART2_TX | Yes | A7 is the Virtual COM port TX by default (SB2), so it is not a free analog input. |
| CN4-6 | A6 | PA7 | ADC1_IN12, SPI1_MOSI, I2C3_SCL, TIM1_CH1N | ADC1_IN12, COMP2_OUT, I2C3_SCL, QUADSPI_BK1_IO2, SPI1_MOSI, TIM1_CH1N | Yes | A6 is an analog input and the I2C3 SCL pin. |
| CN4-7 | A5 | PA6 | ADC1_IN11, SPI1_MISO, TIM16_CH1 (PWM) + PB6 (I2C1_SCL) via SB16 | ADC1_IN11, COMP1_OUT, LPUART1_CTS, QUADSPI_BK1_IO3, SPI1_MISO, TIM16_CH1, TIM1_BKIN, TIM1_BKIN_COMP2 | Yes | A5 carries both PA6 and PB6 (I2C SCL) by default, so one of them must stay an input. |
| CN4-8 | A4 | PA5 | ADC1_IN10, DAC1_OUT2, SPI1_SCK, TIM2_CH1 + PB7 (I2C1_SDA) via SB18 | ADC1_IN10, COMP1_INM, COMP2_INM, DAC1_OUT2, LPTIM2_ETR, SPI1_SCK, TIM2_CH1, TIM2_ETR | No (3.3v only) | A4 carries both PA5 and PB7 (I2C SDA) by default, and PA5 is a 3.3v-only pin. |
| CN4-9 | A3 | PA4 | ADC1_IN9, DAC1_OUT1, SPI1_NSS / SPI3_NSS, LPTIM2_OUT | ADC1_IN9, COMP1_INM, COMP2_INM, DAC1_OUT1, LPTIM2_OUT, SAI1_FS_B, SPI1_NSS, SPI3_NSS, USART2_CK | No (3.3v only) | A3 is the clean DAC output (DAC1_OUT1), and a 3.3v-only pin. |
| CN4-10 | A2 | PA3 | ADC1_IN8, OPAMP1_VOUT, USART2_RX, LPUART1_RX, TIM2_CH4 | ADC1_IN8, COMP2_INP, LPUART1_RX, OPAMP1_VOUT, QUADSPI_CLK, SAI1_MCLK_A, TIM15_CH2, TIM2_CH4, USART2_RX | No (3.3v only) | A2 is the op-amp output and LPUART1 RX, and a 3.3v-only pin. |
| CN4-11 | A1 | PA1 | ADC1_IN6, OPAMP1_VINM, SPI1_SCK, TIM2_CH2 | ADC1_IN6, COMP1_INP, I2C1_SMBA, OPAMP1_VINM, SPI1_SCK, TIM15_CH1N, TIM2_CH2, USART2_DE, USART2_RTS | Yes | A1 is an analog input and the op-amp inverting input. |
| CN4-12 | A0 | PA0 | ADC1_IN5, OPAMP1_VINP, TIM2_CH1, WKUP1, CK_IN | ADC1_IN5, COMP1_INM, COMP1_OUT, OPAMP1_VINP, RCC_CK_IN, RTC_TAMP2, SAI1_EXTCLK, WKUP1, TIM2_CH1, TIM2_ETR, USART2_CTS | Yes | A0 is an analog input, the op-amp non-inverting input, and wake-up pin WKUP1. |
| CN4-13 | AREF | – | VDDA / VREF+ | – | – | The ADC/DAC reference, tied to 3.3v by SB10 (it is an output unless you open SB10). |
| CN4-14 | +3V3 | – | 3.3v output / input | – | – | 3.3v output from the LD39050 regulator (500mA), or a 3.0v–3.6v input with SB14 and SB9 open. |
| CN4-15 | D13 | PB3 | SPI1_SCK / SPI3_SCK, TIM2_CH2 (PWM), SWO | COMP2_INM, SAI1_SCK_B, SPI1_SCK, SPI3_SCK, JTDO-SWO, TIM2_CH2, USART1_DE, USART1_RTS | Yes | D13 drives the green user LED LD3, and it is the default SPI SCK. |
Wrap Up
To conclude this guide article, the Nucleo-L432KC is a very solid low-power development board in a tiny Arduino Nano footprint. It gives you an 80MHz Cortex-M4F with 256KB of Flash, nano-amp sleep modes, a fast 12-bit ADC, 2 DACs, an op-amp, CAN, and USB, on a board you can program out of the box.
This STM32 dev board is a highly recommended low-power microcontroller dev board that I’ve been using for the past 7 years or so, and you’ll find it in many of my STM32 tutorials here on this website.
I hope you’ve found this guide helpful. For more boards, check out the Pinouts, Datasheets & Schematic Diagrams Library. Follow this STM32 Series of Tutorials to learn more about programming STM32 microcontrollers.
If you’re just getting started with STM32, you need to check out the STM32 Getting Started Ultimate Guide below.
The complete beginner’s guide to STM32 microcontrollers: the toolchain, your first project, and the STM32 tutorials series step by step.













