S12ZVML128 LIN Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S12ZVML128 LIN Error

1,173 次查看
itsnewforme
Contributor IV

Hii, I'm using S12ZVML128 as Lin Slave and I'm Using CANoe as Lin Master.

I've used the following functions to Receive Lin Frame from CANoe and to Transmit Lin Frame  from S12ZVML128

a) Function to receive Lin Frame from CANoe

Frame = t_LIN_frame

itsnewforme_0-1664519126986.pngitsnewforme_1-1664519162794.png

Using this function. I'm able to receive the frame from CANoe. PFA

Image : CANoe Snapshot

itsnewforme_2-1664519285006.png

Image : CodeWarrior Snapshot

itsnewforme_3-1664519323873.png

b) Now, I'm using the following function to Transmit Lin Frame from S12ZVML128 to CANoe

Frame = t_LIN_frame2

itsnewforme_4-1664519481281.png

But, I'm getting the following error in CANoe after Transmitting Header. PFA

itsnewforme_5-1664519700127.png

 

Please let me know how to resolve this error. 

Thanks in advance

 

0 项奖励
回复
3 回复数

1,116 次查看
itsnewforme
Contributor IV

@namnguyenviet. No, I've not used Lin stack. I've used the part used in the Lin Bootloader code Link>> 

itsnewforme_0-1665136760405.png

Ok, to measure means to check the data bytes on DSO ?

 

0 项奖励
回复

1,095 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

As far as I'm concerned, you need to measure the signal in the LIN bus, and verify the data.

Best Regards,

Nam

0 项奖励
回复

1,117 次查看
namnguyenviet
NXP Employee
NXP Employee

Hello,

Did you use our Lin Stack, or develop your own? Have you tried to measure the signal and verify how many bytes was sent? It looks like the number of bytes sent by the slave is not appropriate.

Best Regards,

Nam

0 项奖励
回复