SPRUJE7A January 2025 – July 2025 F29H850TU , F29H859TU-Q1
Calculates the ECC for the supplied address and 64-bit value
uint8 Fapi_calculateEcc(
uint32 *pu32Address
uint64 *pu64Data,
uint8 u8Iterator
)
| pu32Address [in] | Pointer to the address of the 64-bit value to calculate the ECC |
| pu64Data [in] | Pointer to the address of the 64-bit value to calculate ECC on (can be in little endian order) |
| u8Iterator [in] | Iterator for interleaved banks to
program/read/erase 1: For 128-bit program and read 2: For 512-bit program, read, and erase |
This function calculates the ECC for a 64-bit aligned word including address. There is no need to provide a left-shifted address to this function anymore. TMS320F28P65x Flash API takes care of it. When operating on interleaved banks, this function must be called twice (once with each iterator value, the start address stays the same).