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.

TMS570LC4357: TMS570 - ECC calculation

Part Number: TMS570LC4357

Hello,

I'm not able to reproduce the results of the ECC calculation in table 3 (without address) in the following document

For example:

(hex values)

DATA: 954F6D2F2992A9B6       ECC: AA                    MY ECC: 5A

DATA: 8F8342C3E7DE1D53      ECC: 14                     MY ECC: E4

DATA: 554B0A86A8F07BDB      ECC: 41                     MY ECC: B1

The lower 4 bits of the ECC are correct, the upper 4 bits are inverted for some reason.

I used the table 1 to get which of the 64 data bits must be xor'ed for each ECC bit. After that I made an additional xor with 1 to bits 2 and 3 of the ECC to take into account the odd parity of these bits.

Any ideas? Is there something wrong with the document or am I just missing something ?

Best regards,

Mario