Digit-key STM32 Tutorials

Digi-Key - Trinamic

Getting Started with STM32 : Introduction to STM32 Cube IDE and Blinky

Device : STM32F407GVTx (STM32f4-discovery board)

Setup the LED:

User LD6: blue LED is a user LED connected to the I/O PD15 of the STM32F407VGT6.

image-20201104173642848

Setup Debug:

image-20201104173707602

Setup Clock:

image-20201104173722695

Setup Project Files:

image-20201104173814460

Setup Code Generation:

image-20201104173829664

ERROR :

There was a problem about c make project and then solved in this way:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007675480-RTE-Components-h-not-generated-in-STMCubeMX-project

HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
HAL_Delay(1000);

CMSIS: Cortex Microcontroller Software Interface Standard

How to Use I2C