LIN HDF flag stays at 0 on MPG5748G slave LINFlexD_0

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

LIN HDF flag stays at 0 on MPG5748G slave LINFlexD_0

604 Views
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 Kudos
Reply
2 Replies

579 Views
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 Kudos
Reply

575 Views
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 Kudos
Reply