How S12ZVML64 realizes LIN communication

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How S12ZVML64 realizes LIN communication

542 Views
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 Kudos
2 Replies

504 Views
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 Kudos

507 Views
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 Kudos