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. ?
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?