Lin Error

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

Lin Error

1,121 Views
itsnewforme
Contributor IV

Hii Team,

Here there are two LIN frames : ID 31 - Request Frame , ID 33 - Response Frame

I'm able to send the Lin Request frame from CANoe and I'm getting the proper response frame from S12 ECU.

But, while transmitting the frame from CANoe it is showing some error. Please see the attached Image.

I want to know why it is showing and how to resolve this.

Thanks & Regards

itsnewforme_0-1669185234028.png

 

Tags (3)
0 Kudos
Reply
4 Replies

1,103 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @itsnewforme,

Can you scope the LIN bus?

 

Thanks,

Daniel

0 Kudos
Reply

1,095 Views
itsnewforme
Contributor IV

Okay, But I think the issue is from the ECU side. Because when I disable the response frame from the ECU code, there is so such errors visible on CANoe,

Additionally I'm able to clear the unexpected break while waiting for checksum field error, by adding the delay in ECU code as show below

itsnewforme_0-1669375422020.png

Now, I'm just getting the framing error while waiting for checksum field error. Is there any way to solve this 

Thanks in advance

0 Kudos
Reply

1,076 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @itsnewforme,

I think that it would help to see the frames on an oscilloscope.

I understand you don't use NXP LIN Stack, it is your own implementation, right?

Which S12 MCU do you have?

 

Regadrs,

Daniel

0 Kudos
Reply

1,073 Views
itsnewforme
Contributor IV

Okay. I'll scope it.

Yes Its own implementation , we have used ZVML Bootloader code for reference LINK 

https://www.nxp.com/docs/en/application-note-software/AN12086SW.ZIP

itsnewforme_0-1669811995517.png

We are using ZVML64 MCU.

Thanks

0 Kudos
Reply