AN4842 LIN LED

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

AN4842 LIN LED

1,076 次查看
Anonymous
不适用

HI,

I need help on understanding application notes AN4842 LIN Enabled RGB LED,

I unable to find LIN functions in project source code. Code is running fine with Freemaster application but how to control with  LIN  understand.

 

 

thanks in advance.

rishi

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

920 次查看
RadekS
NXP Employee
NXP Employee

Hi,

I agree that name of this application note could be quite confusing.

“LIN Enabled” here means hardware module that allows communicate over LIN.

In fact, software package AN4842 does not contain any LIN software. It is rather focused on other hardware initialization.

You have several options how to implement LIN software:

1. You can write your own LIN software. For that purpose, please look at attachment. There you can find simple example code for S12G which could be used as inspiration.

Note: S12ZVL has newer version of SCI module. You will have to update baud rate calculation (there missing now fBUS divider by 16).

Note: this simple LIN example was created according LIN 1.3 specification.

2. You can use Freescale LIN2.x and SAE J2602 Driver: http://www.freescale.com/files/microcontrollers/software/device_drivers/FSL_LIN_2.X_DRIVER.zip

3. You can use any of commercial solutions. For example: http://vector.com/


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 项奖励
回复