S12ZVML128 LIN Error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12ZVML128 LIN Error

1,175件の閲覧回数
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,118件の閲覧回数
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,097件の閲覧回数
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,119件の閲覧回数
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 件の賞賛
返信