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

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

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

1,703 次查看
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!
标签 (1)
0 项奖励
回复
2 回复数

938 次查看
hailun
Contributor I
Ok,Thank you very much,The software is perfect!
0 项奖励
回复

938 次查看
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 项奖励
回复