How S12ZVML64 realizes LIN communication

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

How S12ZVML64 realizes LIN communication

976 次查看
mine233
Contributor I

I debugged the motor program through S12ZVML64, but it can only be debugged through freemaster. But I want to control through LIN communication. How can I integrate LIN communication into the motor program.

0 项奖励
回复
2 回复数

938 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @mine233,

The S12Z LIN Stack is avaiable at the S12ZVM webpage:

https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/s12-m...

danielmartynek_1-1667293490121.png

 

You can refer to AN5122 Using Freescale’s LIN Driver with the MagniV Family:

https://www.nxp.com/docs/en/application-note/AN5122.pdf

AN5122SW:

https://www.nxp.com/webapp/Download?colCode=AN5122SW&docLang=en

 

List of MagniV and S12(X) Application notes:

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/List-of-MagniV-and-S12-X-Application-notes/...

 

Regards,

Daniel

 

 

 

0 项奖励
回复

941 次查看
MichalH
NXP Apps Support
NXP Apps Support

Hello,

FreeMASTER  supports different communication interfaces - you do not describe which of them you use, so I assume you use the serial communication (SCI/UART) which is a default option. 

In order to use the LIN protocol, you will need to integrate a LIN software stack into your application. A LIN stack is available from NXP. I will ask my colleagues to help you find it.

BTW: Note that FreeMASTER can also communicate over LIN, but there are several limitations and pre-conditions. The FreeMASTER requires the LIN stack to support "diagnostic class II & III" which is not very common. In short, when you start using LIN, you will most probably lose the FreeMASTER connectivity (or you can run it over another SCI port).

Regards,
Michal

0 项奖励
回复