How to match the checksum for LIN module with MPC5777M EVM board ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to match the checksum for LIN module with MPC5777M EVM board ?

440 Views
anishchoudhary
Contributor III

Hi,

   I am working on LIN module with MPC5777M EVM board. for that i configure LIN master , LIN Slave and configure GPIOs also. After that i made connection using jumper between PC9(maste r) and PA13(slave) on MPC5777M EVM board. But now how I match the checksum to generate the receiver interrupt ?

Tags (1)
1 Reply

314 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I did not fully get your question.

If the LINCR1[CCD]=0 then checksum calculation is done by Hardware and received checksum is compared with calculated result, if it is the same, then RX interrupt is called. If not the same ERR interrupt is generated (assuming interrupts are enabled).

If the LINCR1[CCD]=1 then HW checksum calculation is disabled and should be done by SW. No error interrupt is generated upon receiving the checksum byte. Just RX interrupt is called and checksum must be calculated by SW and result should be compared with received one to know frame is correct.

BR, Petr