Introduction: 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

Step 1: Getting Started With STM 32

Click New Project Or Menu -> File -> New Project.

Step 2: Available Options

From Board Selector section, filter to select and use STM 32 series

Step 3:

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.

Step 4:

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.


Step 5:

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.


Step 6:

Go to System View and select GPIO then change the Maximum Output speed as High as shown below.


Step 7: Install STM 32 F4 Series in the Arduino IDE Programmer

Step 8: Enter the Code in the Software

After installing the STM 32 F4 Series in the Arduino IDE Write the code for LED Blinking