SPRUJC5 April 2024 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1
| API Function | Description |
|---|---|
| Fapi_initializeAPI() | Initializes the API for first use or frequency change |
| API Function Description | Description |
|---|---|
| Fapi_setActiveFlashBank() | Initializes Flash Wrapper and bank for an erase or program command |
| Fapi_setupBankSectorEnable() | Configures the Write/Erase protection for the sectors. |
| Fapi_issueBankEraseCommand() | Issues bank erase command to the Flash State Machine for the given bank address. |
| Fapi_issueAsyncCommandWithAddress() | Issues an erase sector command to FSM for the given address |
| Fapi_issueProgrammingCommand() | Sets up the required registers for programming and issues the command to the FSM Note: Maximum 128-bits (8 16-bit words) can be programed at once. |
| Fapi_issueProgrammingCommandForEccAddress() | Remaps an ECC address to the main data space and then call Fapi_issueProgrammingCommand() to program ECC |
| Fapi_issueAutoEcc512ProgrammingCommand() | Sets up the required registers for 512-bit (32 16-bit words) programming with AutoECC generation mode and issues the command to the FSM |
| Fapi_issueDataAndEcc512ProgrammingCommand() | Sets up the required registers for 512-bit (32 16-bit words) programming with user provided flash data and ECC, and issues the command to the FSM |
| Fapi_issueDataOnly512ProgrammingCommand() | Sets up the required registers for 512-bit (32 16-bit words) programming with user provided flash data and issues the command to the FSM |
| Fapi_issueEccOnly64ProgrammingCommand() | Sets up the required registers for 64-bit (4 16-bit words) ECC programming with user provided ECC data and issues the command to the FSM |
| Fapi_issueAsyncCommand() | Issues a command (Clear Status) to FSM for operations that do not require an address |
| Fapi_checkFsmForReady() | Returns whether or not the Flash state machine (FSM) is ready or busy |
| Fapi_getFsmStatus() | Returns the STATCMD status register value from the Flash Wrapper |
| API Function | Description |
|---|---|
| Fapi_doBlankCheck() | Verifies specified Flash memory range against erased state |
| Fapi_doVerify() | Verifies specified Flash memory range against supplied values |
| API Function | Description |
|---|---|
| Fapi_getLibraryInfo() | Returns the information specific to the compiled version of the API library |
| API Function | Description |
|---|---|
| Fapi_flushPipeline() | Flushes the data cache in Flash Wrapper |
| Fapi_calculateEcc() | Calculates the ECC for the supplied address and 64-bit word |
| Fapi_isAddressEcc() | Determines if the address falls in ECC ranges |
| Fapi_remapEccAddress() | Remaps an ECC address to corresponding main address |
| Fapi_calculateFletcherChecksum() | Function calculates a Fletcher checksum for the memory range specified. Fapi_calculateFletcherChecksum() will be deprecated in future device. |