Skip to content
Shop

AP03B STM32 MCU

Documentation: Design reference available; AP03B upload instructions in preparation

Explore with your favorite AI

Gemini & other AI

Copy this page’s context into your AI to explore how it works and what you can build.

Open Gemini

Copy the prompt, then paste it into Gemini’s message box.

View prompt

These reference images were generated from the KiCad board data. Component 3D models are omitted, and pads for unpopulated components are included.

This MCU (microcontroller) leaf runs programs to read sensors and control communication leaves and other modules. It is a redesigned version of AP03 STM32 MCU, using the STMicroelectronics STM32L452REI6.

It connects to other leaves through the Leafony Bus and operates from 3.3V. The board includes a PG switch for BOOT0, a reset switch, and an LED indicating the BOOT0 state. It is the MCU leaf in the Cellular LPWA Cat-M1 Kit.

ItemDescription
MCUSTMicroelectronics STM32L452REI6
CPUArm Cortex-M4 with FPU
Maximum clock80 MHz (MCU specification)
Flash memory512 KB
SRAM160 KB
PowerLeafony Bus 3.3V / GND
Low-speed external clock32.768 kHz crystal (X1)
Main bus signalsD0–D13, A0–A5, SDA / SCL, SWDIO / SWCLK, RESET
Bus contacts29 contacts on each side (CN1)
Board dimensions20 × 20 mm (PCB design dimensions)
Board thickness / layers0.8 mm, 6 layers (excluding component height)
Design revisionv1.0, April 27, 2026

See STMicroelectronics product information for CPU and memory specifications. The actual clock depends on the firmware configuration.

Supply the Leafony Bus 3.3V terminal from a power leaf or other suitable source. The VBUS terminal is not connected to the AP03B circuitry. There is no USB connector on the board; provide a separate interface for a computer or debugger.

SDA and SCL each have a 10 kΩ pull-up resistor to 3.3V. Before connecting external devices, check the Leafony Bus specification and the other device’s power and signal voltages.

AREF connection resistor R5 is DNP (not populated), so the bus AREF terminal is not connected to the MCU’s analog supply/reference circuit in the standard configuration.

The following table describes the standard Leafony Bus to MCU connections. Front and back contacts with the same number (such as F1 / B1) carry the same signal. MCU port names are schematic names, not Arduino sketch pin numbers.

Contact (front / back)Leafony Bus signalMCU port / connection
F1 / B13.3V3.3V power
F2 / B2SWDIOPA13
F3 / B3VBUSNot connected to the MCU or power circuit
F4 / B4AREFNot connected to MCU because R5 is not fitted
F5 / B5RESETNRST
F6 / B6A0PA4
F7 / B7D6PA8
F8 / B8A1PA0
F9 / B9D7PB12
F10 / B10A2PA1
F11 / B11D8PA9
F12 / B12A3PB0
F13 / B13D9PA10 (through U2; connected when BOOT0 is low)
F14 / B14A4PC1
F15 / B15D10PB6
F16 / B16A5PC0
F17 / B17D11PA7
F18 / B18D0PA3
F19 / B19D12PA6
F20 / B20D1PA2
F21 / B21D13PA5
F22 / B22D2PC7
F23 / B23SDAPB9 (R2: 10 kΩ pull-up to 3.3V)
F24 / B24D3PB3
F25 / B25SCLPB8 (R1: 10 kΩ pull-up to 3.3V)
F26 / B26D4PB5
F27 / B27GNDGND
F28 / B28D5PB4
F29 / B29SWCLKPA14

Connections are based on the Leafony Bus schematic and MCU schematic. R5, R7, R12 and R14 are not populated.

ComponentBoard markingFunction
SW1PGSelects BOOT0 high / low.
SW2RSTConnects RESET to GND when pressed.
D1D1Lights when BOOT0 is high.

The LED indicates the BOOT0 state, not program execution or a successful upload. For boot-mode details, check the MCU configuration and the reset / program selection circuit.

Analog switch U2 is between D9 and PA10. They connect when BOOT0 is low and disconnect when it is high. Check the PG switch when combining the board with a communication leaf that uses D9. D0, D1, D6 and D7 connect directly to the MCU ports listed above.

The following STM32 MCU documentation provides background:

These guides include AP03-specific instructions. For AP03B, check the pin mapping, upload interface and firmware board settings. The AP03B design repository does not yet include build settings, upload scripts or runnable example code.

The product is named AP03B, but its design files are named leafony-ap03-stm32. Open them in an environment that reads KiCad 9.0 files, preserving the directory structure and dedicated libraries. Some component 3D models are not included in the repository.

  • September 19, 2026: Added the AP03B STM32 MCU page.

© 2026 トリリオンノード研究会 All Rights Reserved.

Privacy and analytics

Leaf photo