STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_FLASHEx_Erase() fails using FreeRTOS

Hi all,On an STM32G070, I would like to erase flash sector during execution of freertos but I always have an error HAL_FLASH_ERROR_PGA, and when i use the function HAL_FLASH_Lock() the app crash into HardFault_Handler().My codeerase_conf.Banks = FLAS...

Gde C by Associate
  • 1281 Views
  • 2 replies
  • 0 kudos

What is the correct systemClock_Config to use in order to have USB OTG FS with a 48MHz external cristal as the clock source ?

Hi, I am working with a STM32H743 and I am trying to use USB OTG FS with the best clock configuration possible. I would like to have a SYSCLK at 480MHz and use the USB OTG FS with the external clock source HSE at 48MHz.The frequency of the external c...

ALE C.1 by Associate II
  • 3110 Views
  • 6 replies
  • 0 kudos