Skip to main content
DBroo.1
Associate III
August 16, 2022
Question

Are there any example projects for how to use HAL_FLASHEx_Erase_IT? I am using the STM32G484 and its LL driver elsewhere in the code.

  • August 16, 2022
  • 1 reply
  • 1602 views

..

This topic has been closed for replies.

1 reply

ST Employee
August 16, 2022

Hi @Community member​ 

The list of our examples that use the function is available at the link: https://github.com/STMicroelectronics/STM32CubeG4/tree/master/Projects depending on the card used you have a FLASH folder.

However, we use it without the interrupt. You can adapt the FLASH_EraseProgram project by replacing the HAL_FLASHEx_Erase function with HAL_FLASHEx_Erase_IT and modifying the code and configuration to take into account the generation of the interrupt on the flash. 

Regards

Diane