STM32 Tutorial

1 year ago
254

stm32 development board setup Blink LED Blinking LED with STM32CubeMX,STM32CubeIDE,STM32,STM32 Arm, F401RE,STM32 Nucleo boards STM32 Nucleo boards
Easy steps learn fast learn smart
Blink LED Blinking LED with STM32CubeMX,STM32CubeIDE,STM32,STM32 Arm, F401RE,STM32 Nucleo boards
Tools installation
install STM32CubeMX
Install STM32CubeIDE
Download STM32CubeL4 Firmware package
launch STM32CubeMX
start project
select MCU board
Pin out Configuration
RCC - HSE - Bypass to Enable PIn PH0/PH1
LSE -- Crystal/Ceramic Resonator To Enable PC-14/PC-15
SYS core - debug serial wire to Enable PA-13/PA-14
pinout View
Enable PIN-5 GPIO_Output For on Board LED
Clock configuration
only change HCLK (MHz) to 84 press enter
project manager
give name
select - Tool chain
Generate project
open project (STM32CubeIDE)
Core -Src- main.C
type code
while (1)
{
/* USER CODE END WHILE */

/* USER CODE BEGIN 3 */
HAL_GPIO_TogglePin (GPIOA, GPIO_PIN_5);
HAL_Delay (1000);
}
save
Debug
connect your board USB
Run
that it
Subscribe
thank you

Loading comments...