Regarding LIN driver Example code

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

Regarding LIN driver Example code

1,288 次查看
maharajsankaran
Contributor I

Hi all,

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

Regards,

Maharaj S

标签 (1)
0 项奖励
1 回复

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