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.

F2837xD Flash API: Disabled Interrupts and callback invoke intervals

Hi,

Flash API documents for previous C2000 microcontroller generations (e.g. "TMS320F2833x Flash API", Version 2.10) tell that the erase function disables interrupts for 3 - 4ms and the callback function is invoked every 3 - 4 ms.

In the Flash API document for the F2837xD Flash API (Literature Number SPNU595) I did not find sections on callbacks or disabled interrupts. So my questions on the F2837xD flash API functions are:
What are their worst case execution times?
Can they be interrupted?
Do they support callbacks? - if yes: What is the maximum time between callback invokes?

Thanks, Dieter

  • Dieter,

    As mentioned in the TRM, for F2837xD devices, Flash API execution is interruptible.  However, there should not be any read/fetch access to the Flash bank when an erase/program operation is in progress.  

    Once the application issues an erase or program command from RAM, application should not access flash until Fapi_checkFsmForReady() returns the status as Fapi_Status_FsmReady indicating that the flash operation is over.

    Thanks and regards,

    Vamsi