Simulating LIN To GND for LIN bootloader, S12 MagniV

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulating LIN To GND for LIN bootloader, S12 MagniV

326 Views
sarvraj_5
Contributor I

Following the serial bootloader  for S12ZVL32 , MagniV family, flowdiagram, we integrated the Lin stack to implement the bootloader using LIN. 

To the outside world the board has just 3 pins, LIN, VDD, GND. So From application to enter into boot mode we are simulating a LIN to GND(short circuiting the 2 pins) in the dispatcher code. 

We put a watch on registers LP0DR  etc.. from LIN PHY, but none of  the registers seem to  change their value. 

Is it related to over current?

Is there a way to detect Lin to Gnd. ?

Thanks 

0 Kudos
1 Reply

122 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I have just tried detecting the dominant state (short LIN <-> GND) on DEVKIT S12ZVL32 by reading LP0DR_LPDR0 and it works, LPDR0 = 0. Is the LIN PHY enabled?

Regards,

Daniel

0 Kudos