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: LIN classic checksum

Part Number: TMS570LC4357

Hi,

From the TMS570LC43x 16/ 32-Bit RISC Flash Microcontroller Technical Reference Manual:

"The classic checksum implementation should always be used for reserved identifiers 60 to 63; therefore, the CTYPE bit will be overridden in this case."

Does this mean that if I send an ID between 60-63 (e.g. using linSendHeader(lin, linIdentifier)), I don't need to change the CTYPE to support classic checksum, instead it is detected and overwritten by the micro controller automatically?

Best,

SA

  • Hello SA,

    There are two checksum concepts: the classic checksum and the enhanced checksum. With the classic checksum, only the useful data is protected. With the enhanced checksum, the useful data and the PID are protected. The enhanced checksum is used for identifiers 0 to 59, effective with Version 2.0 of the protocol. For the reserved identifiers (60~63), they shall always use the classic checksum.

    In case that the reserved ID bits is used, the CTYPE will be overwritten by the MCU automatically.