Stufin
Home Quick Cart Profile

NUCLEO-L432KC STMicroelectronics

Buy Now

Component Name

NUCLEO-L432KC

Manufacturer

STMicroelectronics

Description

The NUCLEO-L432KC is a development board from STMicroelectronics, designed to facilitate the development of IoT and embedded systems applications. It is based on the STM32L432KC microcontroller, which is a 32-bit ARM Cortex-M4 processor with a high level of integration and low power consumption.

Functionality

The NUCLEO-L432KC is a versatile development platform that allows users to create and prototype a wide range of applications, including

IoT devices

Sensor-based systems

Automation and control systems

Robotics and motor control

Smart home and building automation

Wearable devices and healthcare applications

Key Features

### Microcontroller

STM32L432KC32-bit ARM Cortex-M4 processor with FPU

Frequency

Up to 80 MHz

Memory

256 KB Flash, 64 KB SRAM, and 2 KB EEPROM

Low Power Consumption

Dynamic voltage scaling, sleep modes, and low-power peripherals

### Peripherals and Interfaces

USB OTG FS

USB OTG controller with integrated Phy

USART, USB, SPI, I2C, I2S, HDMI-CECMultiple serial interfaces for communication and peripherals
CAN, LIN, IrDAIndustry-standard interfaces for automotive and industrial applications
Analog-to-Digital Converter (ADC)12-bit ADC with up to 16 channels
Digital-to-Analog Converter (DAC)12-bit DAC with up to 2 channels
General-Purpose Input/Output (GPIO)Up to 82 GPIOs for custom applications

### Expansion and Debugging

Arduino Uno V3-compatible headersEasy integration with Arduino shields and accessories
STMod+ connectorsExpansion connectors for STMicroelectronics modules and boards

Debugging

On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability

JTAG/SWD interfaceSupports debug and programming through JTAG or SWD interfaces

### Power and Analog

Power supply

On-board voltage regulator with 3.3 V or 5 V input

Analog power supply

Separate power supply for analog circuitry

Temperature range

-40C to +85C operating temperature range

### Miscellaneous

Board size

68 mm x 53 mm (2.68" x 2.09")

Weight

Approximately 30 grams

Operating system

Supports various operating systems, including STM32CubeMX, Keil Vision, and IAR Embedded Workbench

In summary, the NUCLEO-L432KC is a powerful and feature-rich development board that provides an ideal platform for developing and prototyping a wide range of IoT and embedded systems applications. Its low power consumption, high performance, and extensive peripherals make it an excellent choice for developers and makers.

Pin Configuration

  • NUCLEO-L432KC STMicroelectronics Pinout Documentation
  • The NUCLEO-L432KC is an STM32 microcontroller-based development board from STMicroelectronics, specifically designed for prototyping and evaluating IoT applications. The board features an STM32L432KC microcontroller, which is a 32-bit Arm Cortex-M4 processor with 256KB of Flash memory, 64KB of SRAM, and a range of peripherals. Here is a detailed explanation of each pin on the board:
  • Arduino-Compatible Headers
  • The NUCLEO-L432KC features two Arduino-compatible headers, one on each side of the board. These headers provide access to the microcontroller's GPIO pins and can be used to connect various shields and modules.
  • Header 1 (Left Side)
  • D0 (PA0): Digital input/output pin
  • D1 (PA1): Digital input/output pin
  • D2 (PA2): Digital input/output pin
  • D3 (PA3): Digital input/output pin
  • D4 (PA4): Digital input/output pin
  • D5 (PA5): Digital input/output pin
  • D6 (PA6): Digital input/output pin
  • D7 (PA7): Digital input/output pin
  • GND: Ground pin
  • VIN: Input voltage pin (5V)
  • 3V3: 3.3V output pin
  • SCL (I2C Clock): I2C clock pin
  • SDA (I2C Data): I2C data pin
  • Header 2 (Right Side)
  • D8 (PB0): Digital input/output pin
  • D9 (PB1): Digital input/output pin
  • D10 (PB2): Digital input/output pin
  • D11 (PB3): Digital input/output pin
  • D12 (PB4): Digital input/output pin
  • D13 (PB5): Digital input/output pin
  • A0 (PA8): Analog input pin
  • A1 (PA9): Analog input pin
  • A2 (PA10): Analog input pin
  • A3 (PA11): Analog input pin
  • A4 (PA12): Analog input pin
  • RST: Reset pin (active low)
  • Native Headers (ST Zio Connectors)
  • The NUCLEO-L432KC also features two native headers, one on each side of the board, which provide access to the microcontroller's native GPIO pins.
  • Header 3 (Left Side)
  • CN3-1 (PC0): Digital input/output pin
  • CN3-2 (PC1): Digital input/output pin
  • CN3-3 (PC2): Digital input/output pin
  • CN3-4 (PC3): Digital input/output pin
  • CN3-5 (PC4): Digital input/output pin
  • CN3-6 (PC5): Digital input/output pin
  • CN3-7 (PC6): Digital input/output pin
  • CN3-8 (PC7): Digital input/output pin
  • CN3-9 (PC8): Digital input/output pin
  • CN3-10 (PC9): Digital input/output pin
  • CN3-11 (PC10): Digital input/output pin
  • CN3-12 (PC11): Digital input/output pin
  • CN3-13 (PC12): Digital input/output pin
  • CN3-14 (PC13): Digital input/output pin
  • CN3-15 (PC14): Digital input/output pin
  • CN3-16 (PC15): Digital input/output pin
  • Header 4 (Right Side)
  • CN4-1 (PD0): Digital input/output pin
  • CN4-2 (PD1): Digital input/output pin
  • CN4-3 (PD2): Digital input/output pin
  • CN4-4 (PD3): Digital input/output pin
  • CN4-5 (PD4): Digital input/output pin
  • CN4-6 (PD5): Digital input/output pin
  • CN4-7 (PD6): Digital input/output pin
  • CN4-8 (PD7): Digital input/output pin
  • CN4-9 (PD8): Digital input/output pin
  • CN4-10 (PD9): Digital input/output pin
  • CN4-11 (PD10): Digital input/output pin
  • CN4-12 (PD11): Digital input/output pin
  • CN4-13 (PD12): Digital input/output pin
  • CN4-14 (PD13): Digital input/output pin
  • CN4-15 (PD14): Digital input/output pin
  • CN4-16 (PD15): Digital input/output pin
  • Micro-USB Connector
  • Micro-USB: Used for programming, debugging, and serial communication with the microcontroller
  • LED Indicators
  • LD2 (Red): Power indicator (on when the board is powered)
  • LD3 (Blue): User-defined indicator
  • Jumpers and Switches
  • JP1 (BOOT0): Boot mode selection jumper (pull-up resistor on the board)
  • JP2 (NRST): Reset button (active low)
  • JP3 (VIN): Input voltage selection jumper (5V or 3.3V)
  • Power Supply
  • VIN (5V): Input voltage pin (5V)
  • 3V3: 3.3V output pin
  • GND: Ground pin
  • It is essential to carefully review the pinout and datasheet for the NUCLEO-L432KC before designing and building any projects to ensure correct connections and avoid potential damage to the board or connected components.

Code Examples

NUCLEO-L432KC STMicroelectronics Documentation
Overview
The NUCLEO-L432KC is a development board from STMicroelectronics based on the STM32L432KC microcontroller. It is part of the STM32 Nucleo family, which provides an affordable, flexible, and easy-to-use platform for developing IoT projects. The board features a 32-bit ARM Cortex-M4 processor, 256 KB of flash memory, and 64 KB of SRAM.
Hardware Features
STM32L432KC microcontroller
 32-bit ARM Cortex-M4 processor
 256 KB of flash memory
 64 KB of SRAM
 2x USB connectors (USB FS and USB HS)
 2x SPI, 2x I2C, 3x USART, 1x CAN, 1x UART
 3V power supply
 On-board ST-LINK/V2-1 debugger/programmer
 Arduino Uno V3 connectivity
Software Development
The NUCLEO-L432KC can be programmed using various development environments, including:
Keil Vision
 IAR Embedded Workbench
 ARM mbed
 STM32CubeMX
Code Examples
### Example 1: Blinking LED using ARM mbed
This example demonstrates how to use the NUCLEO-L432KC to blink an LED connected to the D13 pin.
```c
#include <mbed.h>
DigitalOut led(D13);
int main() {
    while (1) {
        led = 1;
        wait(0.5);
        led = 0;
        wait(0.5);
    }
}
```
### Example 2: Communicating with a Sensor using I2C (Keil Vision)
This example shows how to use the NUCLEO-L432KC to read temperature data from a TMP102 sensor connected via I2C.
```c
#include <stdint.h>
#include "stm32l4xx_hal.h"
I2C_HandleTypeDef hi2c;
int main() {
    uint8_t data[2];
    float temperature;
// Initialize I2C interface
    hi2c.Instance = I2C1;
    hi2c.Init.ClockSpeed = 400000;
    HAL_I2C_Init(&hi2c);
while (1) {
        // Read temperature data from TMP102 sensor
        HAL_I2C_Master_Transmit(&hi2c, 0x48, (uint8_t)0x00, 1, 100);
        HAL_I2C_Master_Receive(&hi2c, 0x48, data, 2, 100);
// Convert temperature data to Celsius
        temperature = (data[0] << 4) | (data[1] >> 4);
        temperature /= 16.0;
// Print temperature value to console
        printf("Temperature: %fC
", temperature);
        HAL_Delay(1000);
    }
}
```
### Example 3: Implementing a Simple Web Server using STM32CubeMX
This example demonstrates how to use the NUCLEO-L432KC to create a simple web server using the STM32CubeMX framework.
```c
#include "stm32l4xx_hal.h"
#include "net.h"
#include "http_server.h"
int main() {
    // Initialize Ethernet interface
    MX_NET_Init();
// Create HTTP server
    HTTP_Server_t server;
server.server_address.sin_family = AF_INET;
    server.server_address.sin_port = htons(80);
    server.server_address.sin_addr.s_addr = INADDR_ANY;
// Start HTTP server
    HTTP_Server_Start(&server);
while (1) {
        // Handle HTTP requests
        HTTP_Server_Handle_Request(&server);
        HAL_Delay(10);
    }
}
```
These code examples demonstrate the versatility of the NUCLEO-L432KC in various IoT applications, including sensor integration, communication, and networking.