How to use LINT to generate 13 bits synch break of LIN?

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

How to use LINT to generate 13 bits synch break of LIN?

1,098 Views
hailun
Contributor I
hello everyone!I use hc908gz16  ,found there is a LINT bit and LINR.But how can I use them to generate  LIN synch break(13bits) or detect 13 bits synch break?For exampale how can i send a lin frame with synch break 13bits,synch field=0x55,data1=0x01,data2=0x05. Thank you!
Labels (1)
0 Kudos
2 Replies

333 Views
hailun
Contributor I
Ok,Thank you very much,The software is perfect!
0 Kudos

333 Views
Alban
Senior Contributor II

Hi Hailun,

For you not to have to write all the drivers from scratch, here is a link to a CodeWarrior project showing LIN Master implementation.

68HC908GZ60LINKIT
Free 68HC908GZ60 LIN Kit software download.

can look in the code for the state machine. It shows how it sends the break, the SYNCH_FIELD and data.
If you have further questions afterwards, feel free to ask !

Cheers,
Alban.

(Alban removed LIN2.0 link as drivers a lib, not source)

Message Edited by Alban on 2006-11-17 03:38 PM

Message Edited by Alban on 2006-11-17 03:40 PM

0 Kudos