Led Blinking Using STM32 Cube IDE

by Srishti Dhoundial in Circuits > Microcontrollers

37 Views, 0 Favorites, 0 Comments

Led Blinking Using STM32 Cube IDE

Screenshot 2024-04-02 063143.png
Screenshot 2024-04-02 063550.png

STM32CubeIDE is an all-in-one multi-OS development tool, which is part of the STM32Cube software ecosystem. STM32CubeIDE is an advanced C/C++ development platform with peripheral configuration, code generation, code compilation, and debug features for STM32 microcontrollers and microprocessors. To get a comprehensive understanding of STM Cube IDE and get started with application development work, students need to create the first script using hardware abstraction language and test the system. Create a tutorial for getting started with STM32 using STM cube IDE which must contain sufficient information for beginners to successfully test their system.

Supplies

To start with embedded programming essentials are-:

  1. Your Pc must contain STM32CUBEIDE and STM32CUBEProgrammer
  2. STM32 BLACK PILL
  3. An USB Cable.

Install STM32 Cube IDE

Screenshot 2024-04-02 141203.png

Get the latest version of the STM32CubeIDE for the tasks.

Install STM32 Cube Programer

Screenshot 2024-04-02 141504.png

Create New Project in STM32 Cube IDE

Screenshot 2024-04-02 141016.png

Go to file ->New and create a new project.

Select Stm-32 Part

Screenshot 2024-04-02 141706.png

Project Name

Screenshot 2024-04-02 141821.png

Setup SYS Mode & Configuration

Screenshot 2024-04-02 142009.png

Setup RCC Mode & Configuration

Screenshot 2024-04-02 142145.png

Open Source Code File

Screenshot 2024-04-02 142346.png

Update the Code of HAL Program

Screenshot 2024-04-02 142823.png

Copy Path of Project File Generated

Screenshot 2024-04-02 142940.png

Open File

Screenshot 2024-04-02 143332.png

Uploading

Screenshot 2024-04-02 143445.png

Connect the STM Board Via USB. Then click on "Download" and fill the blank space with file path. Select the checkboxes and click on "Start Automatic Mode".

LED Starts Blinking

Screenshot 2024-04-02 143615.png