STM32 Nucleo32 L031K6
A Nucleo-32 development board with STM32L031K6 MCU: ARM Cortex-M0+ processor, 32 KB Flash, 8 KB RAM, 1 KB EEPROM running at 32 MHz.
Onboard LED
The Nucleo-L031K6 has an onboard user LED (LD3), attached to GPIO pin PB3 (D13). The LED is lit when the pin is driven high.
You can also use the LED_BUILTIN
constant to reference the LED in your Arduino code:
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, HIGH);
See Blink for a complete code example.
Simulation features
This table summarizes the current status of the STM32L031K6 MCU simulation features:
Feature | Status | Notes |
---|---|---|
Processor core | ✔️ | Cortex M0+ core |
SysTick timer | ✔️ | |
EERPOM | ✔️ | |
GPIO | ✔️ | |
USART | ✔️ | |
I2C | ✔️ | Master mode only |
SPI | ✔️ | Master mode only |
ADC | ✔️ | Used by analogRead() |
STM32 timers | ❌ | TIM2/21/22 |
Comparator | ❌ | |
CRC | ✔️ | 32, 16, and 8 bits (7 bits not supported) |
DBG | ❌ | |
DMA | ❌ | |
EXTI | ✔️ | |
IWDG | ❌ | |
LPTIM | ❌ | Low power timer |
LPUART | ❌ | Low power USART |
PWR | ❌ | |
RCC | ✔️ | |
RTC | ❌ | |
SYSCFG | 🟡 | Only EXTICRn registers |
WWDG | 🟡 | Implemented, not tested yet |
GDB Debugging | ✔️ | See the GDB Debugging guide |
Legend:
✔️ Simulated
🟡 Partial implementation/work in progress
❌ Not implemented