Intergration issues with example ble_RfWithFlash.
Hi all,
Currently I am trying to intergrate the flash_driver from ble_RfWithFlash to my project because I was bumping in some issues with maintaining a bluetooth connection when erasing flash.
I was working with V1.3.0 so had to update the firmware stack (updated it to V1.9.0), updated the firmware accordingly using cubemx and added the following lines before the scheduler is started.
SHCI_C2_SetFlashActivityControl(FLASH_ACTIVITY_CONTROL_SEM7);
__HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_OPTVERR);I've created a task to erase a few pages in the flash. If this task is started while ble core is idle or advertising the erase will be successfull. If the task is started while ble is connected it will not pass the following line (PESD bit set flash_driver.c) untill it disconnects.
while(LL_FLASH_IsActiveFlag_OperationSuspended());I'm using STM32WB55RGv6 nucleo board and a slightly modified p2p-server as ble application.
What am I missing/doing wrong?
Thanks in advance,
Taxara
