AnsweredAssumed Answered

STM32F0 series. Waiting for Page Write/Erase completion.

Question asked by baranov.aleksandr on Dec 20, 2017
Latest reply on Dec 20, 2017 by Clive One

Hello all.

HAL uses function "FLASH_WaitForLastOperation" for polling flash "BUSY" flag, while performing flash page erase or flash write. How can this function be executed from flash if flash bus is blocked during flash erase? Is CPU simply staying in stalled state instead of polling BUSY flag while a page is being erased?  Is it a bug in HAL or an intentional trick?