AN4842 LIN LED

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

AN4842 LIN LED

701 Views
Anonymous
Deactivated User

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

Labels (1)
0 Kudos
Reply
1 Reply

545 Views
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 Kudos
Reply