LED BLINKING
In this blog we will learn to blink LED with the help of STM32 BLACKPILL BOARD
Supplies
We require the following components:
1)STM 32 Black-pill Board
2)USB Type-C
3)Arduino IDE Programmer
Getting Started With STM 32
Click New Project Or Menu -> File -> New Project.
Available Options
From Board Selector section, filter to select and use STM 32 series
A new window will be opened where you need to change SYS Debug to Serial Wire and RCC of High-Speed Clock or HSC to Crystal/Ceramic Resonator as shown in the below fig.
Now in the right panel as shown in the below figure, click on the pin of the chip where you want to attach the LED and I have chosen PC13. Select that particular pin where you want to blink the LED as GPIO_output by right-clicking on that pin.
Now in the right panel as shown in the below figure, click on the pin of the chip where you want to attach the LED and I have chosen PC13. Select that particular pin where you want to blink the LED as GPIO_output by right-clicking on that pin.
Go to System View and select GPIO then change the Maximum Output speed as High as shown below.
Downloads
Install STM 32 F4 Series in the Arduino IDE Programmer
Enter the Code in the Software
After installing the STM 32 F4 Series in the Arduino IDE Write the code for LED Blinking