SPRUJ27C November 2022 – November 2023 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1
Initializes the FMC for erase and program operations.
Synopsis
Fapi_StatusType Fapi_setActiveFlashBank(
Fapi_FlashBankType oNewFlashBank)
Parameters
oNewFlashBank [in] | Bank number to set as active. |
Description
This function sets the Flash Memory Controller for further operations to be performed on the banks. This function is required to be called after the Fapi_initializeAPI() function and before any other Flash API operation is performed.
Even though there are up to 3 banks on this device, there is no need to call this function whenever the bank is switched. Application needs to call this only once and that can be with Fapi_FlashBank0.
Return Value
Sample Implementation
See the example provided in Section 3.1.1.