Simulating LIN To GND for LIN bootloader, S12 MagniV

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Simulating LIN To GND for LIN bootloader, S12 MagniV

639 次查看
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 项奖励
1 回复

435 次查看
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 项奖励