Regarding LIN driver Example code

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

Regarding LIN driver Example code

1,285 Views
maharajsankaran
Contributor I

Hi all,

I am working on the MM9Z1J638 sensor.Can you provide any example code for LIN.

Regards,

Maharaj S

Labels (1)
0 Kudos
1 Reply

825 Views
RadekS
NXP Employee
NXP Employee

Hi Maharaj,

As very simple LIN example for inspiration (according LIN v1.3 specs), you could look at my G128-LIN-CW51 example code:

https://community.freescale.com/docs/DOC-93792

This example code was designed for S12G (based of SofTec example code) however there should not be any too many differences in compare with your MCU, except missing initialization of LIN PHY interface , configure routing options (MODRR2 register), different SCI baudrate calculation,...

As second option, please look at attached LIN example code directly for MM9Z1J638 sensor/MCU.

This example code is slightly more complex.

Next option is using official Freescale LIN2.xx driver:

http://www.freescale.com/files/microcontrollers/software/device_drivers/FSL_LIN_2.X_DRIVER.zip

Or you could contact some of our partners and ask for their commercial products/services. For example:

http://vector.com/vi_canbedded_lin_en.html


I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos