Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Help: Enable UART2 Peripheral Clock

Hello, I am new to STM32 UART programming and need some help. I have set up the GPIOA clock:

__HAL_RCC_GPIOA_CLK_ENABLE(); // stm32f4xx_hal_rcc.h

Now I need to enable the UART2 Peripheral Clock but I don’t know the command. Can anyone help me please.

Thank you,
Joe

I see the command: __HAL_RCC_USART2_CLK_ENABLE

can I use that to enable the UART Peripheral Clock?