LIN response error for 2 byte to CANOe (timeout response error )

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

LIN response error for 2 byte to CANOe (timeout response error )

1,503 Views
Sourdev
Contributor II

Hello everyone,

I have been trying to send two bytes of response with 3rd byte as a checksum from my microcontroller(S9KEAZN64AMLC) to the CanOe tool. it is showing a Timeout error for only 2 bytes of the response for every consecutive frame ( if send consecutively one is received and one gives an error it continuously), the same code same system, and the same configuration running flawlessly for 4 bytes, and 8 bytes also.

Configuration is Baud rate is configured for 19200

every transmission and reception done in MCU is from ISR. using  Read data register full Interrupt for reception (request )Interrupt  and Transmission data register empty for Transmission (response)

below is a screenshot attached for the CAN tool receiving data.

Sourdev_0-1679305226543.png

below is the attached LIN bus signal from the logic analyzer.

Sourdev_1-1679305627280.png

 

We tried to fix this issue by increasing jitter in LDF, and instead of configuring Transmission data register empty configuring for Transmission complete Interrrupt still same issue .

 

 

0 Kudos
Reply
0 Replies