How S12ZVML64 realizes LIN communication

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How S12ZVML64 realizes LIN communication

645件の閲覧回数
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 返答(返信)

607件の閲覧回数
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 件の賞賛
返信

610件の閲覧回数
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 件の賞賛
返信