Skip to content
Shop

STM32 MCU Getting Started Guide

Set up with your favorite AI

Gemini & other AI

Copy the setup prompt into your AI. Work through each step together, from checking your kit to getting it running.

Open Gemini

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

View prompt

Start developing with the STM32 MCU leaf (AP03). Choose a tool below to find its setup guide.

AP03 STM32 MCU
AP03 STM32L452RE

STM32 MCU

The STM32 processor leaf included in Basic Kit 2. Debugger connection instructions are also available.

Development tools

This is a summary of the preparation shared by the guides for uploading through a USB leaf. Check your chosen environment guide and sample page for the detailed configuration and assembly diagram.

  • AP03 STM32 MCU
  • A PC running Windows, macOS, or Linux, with an internet connection
  • A USB leaf and a data cable that fits its connector
  • Sensors, power leaves, and mounting parts specified by your chosen sample

If you have Basic Kit 2, check which processor is fitted. Stop all power supplies, including USB, batteries, and external power, before changing leaves.

For the equipment needed to use a debugger, see How to connect the debugger.

The Arduino IDE and PlatformIO guides linked above describe board configuration, uploading, and checking the result. For STM32CubeIDE, the English guide covers installation; project creation and upload instructions are available in the Japanese STM32CubeIDE guide.

Start with the check program in the guide for your tool. Once the development environment is working, move on to sensor and communication examples.

The following examples are written for Arduino IDE. Each sample page lists its required leaves, libraries, code, and expected result.

For existing projects in PlatformIO, also follow the sample project instructions in the PlatformIO guide.

Start with your development environment guide and the FAQ. The AP03 technical reference shows switch locations and pin assignments.

If the issue continues, contact us with your leaf model numbers, development tools, steps tried, and the complete error message.