Simulating LIN To GND for LIN bootloader, S12 MagniV
09-27-2018
06:09 AM
1,112 次查看
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
1 回复
10-04-2018
06:47 AM
908 次查看

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
