SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
The FSI module comes with a 16-bit or 32-bit ECC computation module in both the transmitter and receiver. Use of this module is optional.
Note that the ECC is independent and unrelated to the hardware CRC computation module present in both the transmitter and receiver cores.
The following example shows a scenario in which the application requires ECC be calculated and transmitted on a 2-word data frame.
In the FSITX module:
The reverse process is followed on the FSIRX module. Once the data frame is received, user software can do the following:
Using a 2-word data frame plus using the user data for the ECC is one possible implementation for ECC detection. Another option is to use a larger data frame a allocate one of the data words to be the ECC value.