没有合适的资源?快使用搜索试试~ 我知道了~
LIN总线协议标准2.2A英文版
资源推荐
资源详情
资源评论
Website: www.lin-subbus.org
LIN Specification Package
Revision 2.2A
December 31, 2010; Page 1
LIN
Specification Package
Revision 2.2A
© LIN Consortium, 2010.
This specification as released by the LIN Consortium is intended for the purpose of
information only and is provided on an "AS IS" basis only and cannot be the basis for
any claims. The LIN Consortium will not be liable for any use of this Specification. The
unauthorized use, e.g. copying, displaying or other use of any content from this docu-
ment is a violation of the law and intellectual property rights.
LIN is a registered Trademark ®. All rights reserved.
All distributions are registered.
Issue Date Remark
LIN 1.0 1999-07-01 Initial Version of the LIN Specification
LIN 1.1 2000-03-06
LIN 1.2 2000-11-17
LIN 1.3 2002-12-13
LIN 2.0 2003-09-16 Major Revision Step
LIN 2.1 2006-11-24
Clarifications, configuration modified, transport layer
enhanced and diagnostics added.
LIN 2.2 2010-12-31
Updated document according to LIN 2.1 Errata sheet 1.4
Softened bit sampling specification
LIN 2.2A 2010-12-31 Corrected wakeup signal definition in chapter 2.6.2
Website: www.lin-subbus.org
LIN Specification Package
Revision 2.2A
December 31, 2010; Page 2
REVISION HISTORY
descd
Website: www.lin-subbus.org
LIN Specification Package
Revision 2.2A
December 31, 2010; Page 3
TABLE OF CONTENTS
Specification Package
1.1LIN....................................................................................................10
1.1.1Scope...........................................................................................10
1.1.2Features and possibilities.............................................................10
1.1.3Work flow concept........................................................................11
1.1.4Node concept...............................................................................12
1.1.5Concept of operation....................................................................12
1.1.5.1Master and slave..........................................................................12
1.1.5.2Frames.........................................................................................13
1.1.5.3Data transport...............................................................................13
1.1.5.4Schedule table..............................................................................14
1.1.6Document overview......................................................................14
1.1.7History and background................................................................14
1.1.7.1Compatibility with LIN 1.3.............................................................15
1.1.7.2Compatibility with LIN 2.0.............................................................16
1.1.7.3Compatibility with LIN 2.1.............................................................16
1.1.7.4Changes between LIN 1.3 and LIN 2.0........................................17
1.1.7.5Changes between LIN 2.0 and LIN 2.1........................................17
1.1.7.6Changes between LIN 2.1 and LIN 2.2........................................18
1.1.8References...................................................................................18
1.2LIN Glossary.....................................................................................20
Protocol Specification
2.1Introduction.......................................................................................25
2.2Signal Management..........................................................................26
2.2.1Signal types..................................................................................26
2.2.2Signal consistency........................................................................26
2.2.3Signal packing..............................................................................26
2.2.4Signal reception and transmission................................................27
2.3Frame Transfer.................................................................................29
2.3.1Frame structure............................................................................29
2.3.1.1Break field.....................................................................................30
2.3.1.2Sync byte field..............................................................................30
2.3.1.3Protected identifier field................................................................31
2.3.1.4Data..............................................................................................31
2.3.1.5Checksum.....................................................................................32
2.3.2Frame length................................................................................32
2.3.3Frame types..................................................................................33
Website: www.lin-subbus.org
LIN Specification Package
Revision 2.2A
December 31, 2010; Page 4
2.3.3.1Unconditional frame......................................................................33
2.3.3.2Event triggered frame...................................................................34
2.3.3.3Sporadic frame.............................................................................36
2.3.3.4Diagnostic frames.........................................................................37
2.3.3.5Reserved frames..........................................................................38
2.4Schedule tables................................................................................39
2.4.1Time definitions............................................................................39
2.4.2frame Slot.....................................................................................39
2.4.3Schedule table handling...............................................................40
2.5Task Behavior Model........................................................................41
2.5.1Master task state machine............................................................41
2.5.2Slave task state machine..............................................................41
2.5.2.1Break/sync field sequence detector..............................................41
2.5.2.2Frame processor..........................................................................42
2.6Network Management.......................................................................45
2.6.1slave communication state diagram.............................................45
2.6.2Wake up.......................................................................................46
2.6.3Go to sleep...................................................................................47
2.7Status Management..........................................................................49
2.7.1Concept........................................................................................49
2.7.2Event triggered frames.................................................................49
2.7.3Reporting to the cluster................................................................49
2.7.4Reporting within own node...........................................................50
2.8Appendices.......................................................................................52
2.8.1Table of numerical properties.......................................................52
2.8.2Table of valid frame identifiers......................................................53
2.8.3Example of checksum calculation................................................55
2.8.4Syntax and mathematical symbols used in this standard.............56
Transport Layer Specification
3.1Introduction.......................................................................................58
3.2Transport layer..................................................................................59
3.2.1PDU structure...............................................................................59
3.2.1.1Overview.......................................................................................60
3.2.1.2NAD..............................................................................................60
3.2.1.3PCI................................................................................................60
3.2.1.4LEN...............................................................................................61
3.2.1.5SID................................................................................................61
3.2.1.6D1 to D6.......................................................................................61
3.2.2Communication.............................................................................61
3.2.2.1Single Frame Transmission..........................................................62
Website: www.lin-subbus.org
LIN Specification Package
Revision 2.2A
December 31, 2010; Page 5
3.2.2.2Multiple Frame Transmission.......................................................62
3.2.3Error Handling..............................................................................62
3.2.4Defined requests..........................................................................63
3.2.5timing constraints..........................................................................63
Node configuration and Identification Specification
4.1Introduction.......................................................................................67
4.2Node configuration and identification................................................68
4.2.1LIN product identification..............................................................68
4.2.1.1Wildcards......................................................................................68
4.2.2Slave Node model........................................................................69
4.2.2.1Initial NAD.....................................................................................70
4.2.3PDU structure...............................................................................71
4.2.3.1Overview.......................................................................................72
4.2.3.2NAD..............................................................................................72
4.2.3.3PCI................................................................................................72
4.2.3.4SID................................................................................................73
4.2.3.5RSID.............................................................................................73
4.2.3.6D1 to D5.......................................................................................73
4.2.4Node configuration and identification...........................................74
4.2.5Node configuration services.........................................................74
4.2.5.1Assign NAD..................................................................................74
4.2.5.2Conditional change NAD..............................................................75
4.2.5.3Data dump....................................................................................76
4.2.5.4Save Configuration.......................................................................76
4.2.5.5Assign frame ID range..................................................................77
4.2.6Identification.................................................................................78
4.2.6.1Read by identifier..........................................................................78
Diagnostic specification
5.1Introduction.......................................................................................81
5.1.1using the transport layer...............................................................81
5.1.2LIN master....................................................................................82
5.1.3slave nodes..................................................................................82
5.2Diagnostic classes............................................................................83
5.2.1Diagnostic Class I.........................................................................83
5.2.1.1Transport protocol........................................................................83
5.2.1.2Diagnostic services.......................................................................83
5.2.2Diagnostic Class II........................................................................83
5.2.2.1Transport protocol........................................................................83
5.2.2.2Diagnostic services.......................................................................84
剩余193页未读,继续阅读
资源评论
彪悍的灰太狼
- 粉丝: 3
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功