This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: Regarding Fapi_setActiveFlashBank

Part Number: TMS570LS3137

Hi experts,

Is it possible for "Fapi_setActiveFlashBank()" to stall the CPU when the FSM is busy?

The flow of erasing the FLASH API is as follows.
But my customer's program behaves like the CPU is stalling unless "while( FAPI_CHECK_FSM_READY_BUSY == Fapi_Status_FsmBusy )"  is inserted before "Fapi_setActiveFlashBank()" .

Do you know why they have to insert "while (FAPI_CHECK_FSM_READY_BUSY == Fapi_Status_FsmBusy)" before "Fapi_setActiveFlashBank ()"?

Best regards,
Sasaki