Ashish Maheshwari
Published © GPL3+

STM32F0 Toggle GPIO

Welcome to the embedded world! Let's start exploring STM32 microcontrollers!

BeginnerFull instructions providedOver 1 day1,246
STM32F0 Toggle GPIO

Things used in this project

Hardware components

STM32 Nucleo-64 Board
STMicroelectronics STM32 Nucleo-64 Board
We are working on STM32F0 Nucleo board. You can purchase it from this link: https://www.st.com/en/evaluation-tools/nucleo-f030r8.html#samplebuy-scroll
×1

Hand tools and fabrication machines

STMicroelectronics STM32 CubeMX
Arm µVision IDE

Story

Read more

Schematics

Set GPIO as an Output

We have used STM32 CubeMX GUI software to set PA5 as an O/P Pin.

Code

STM32F030R8T6 GPIO Toggle Code

C/C++
Attached is the main.c file. In this we have used CubeMX to set PA5 Pin as a Output to toggle the connected LED on nucleo board.
No preview (download only).

Credits

Ashish Maheshwari

Ashish Maheshwari

2 projects • 1 follower
I am a Senior Application Engineer functions as technical support for sales and marketing professionals.

Comments