LIN HDF flag stays at 0 on MPG5748G slave LINFlexD_0

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

LIN HDF flag stays at 0 on MPG5748G slave LINFlexD_0

605件の閲覧回数
jnaulet
Contributor I

Hello everyone,

i'm currently using a devkit for MPG5748G and connected the 2 LIN interfaces together, with LIN1 as master and LIN0 as slave.

I'm sending headers from LIN1 and it seems fine (checked with an oscilloscope, see attached picture).

On LIN0, i'm stuck, the LINSR.HRF flag never turns on. But if i look with the debugger, the BIDR.ID field changes according to the header sent by LIN1.

Does anyone have any idea of what's going on ? Thanks

 

0 件の賞賛
返信
2 返答(返信)

580件の閲覧回数
jnaulet
Contributor I

Ok, i found some kinda solution for the MPC5748G chip anyways... In chapter 45.5.7, the manual talks about some issues with the timeout control status register. As always with NXP, it clear as sh*t, but if you play with the MODE bit the way it's indicated, it solves the issue.

0 件の賞賛
返信

576件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Joachim,

just in case, we have working example here:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-LINFlex-LIN-Master-Slave-test-G...

Regards,

Lukas

0 件の賞賛
返信