We're using the F021 Flash API on the Hercules TMS570LS0432 and TMS570LS1224 microcontrollers.
We're primarily using SPNU501H.pdf "F021 Flash API Version 2.01.01 Reference Guide", revised April 2015, as, well, our reference and guide for our development.
We're looking into using the FAPI_SUSPEND_FSM macro of the F021 API in order to limit the amount of time our system will be unresponsive while we are doing program and erase sector operations on BANK0.
After we've used FAPI_SUSPEND_FSM I assume we use FAPI_CHECK_FSM_READY_BUSY, and once it returns Fapi_Status_FsmReady then we are good to execute flash from code again. Once we're ready to pause the rest of our system again for a bit we would then call Fapi_issueAsyncCommand() with either Fapi_ProgramResume or Fapi_EraseResume, until our next FAPI_SUSPEND_FSM call.
Is this correct?
How quickly will the FSM suspend?
Thank you!