没有合适的资源?快使用搜索试试~ 我知道了~
首页LIN 2.2A_Spec_20101231.pdf
LIN 2.2A_Spec_20101231.pdf
需积分: 50 259 浏览量
更新于2023-05-26
评论 2
收藏 4.49MB PDF 举报
说明: LIN协议v2.2A,包括协议规范包、物理层规范、应用程序接口规范、节点能力语言规范以及配置语言规范 (LIN protocol v2.2A, including the protocol specification package, the physical layer specification, the application interface specification, the node capacity and configuration language specification language specification)
资源详情
资源评论
资源推荐

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 she
et 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.1 LIN ....................................................................................................10
1.1.1 Scope ...........................................................................................10
1.1.2 Features and possibilities .............................................................10
1.1.3 Work flow concept ........................................................................11
1.1.4 Node concept ...............................................................................12
1.1.5 Concept of operation ....................................................................12
1.1.5.1 Master and slave ..........................................................................12
1.1.5.2 Frames .........................................................................................13
1.1.5.3 Data transport...............................................................................13
1.1.5.4 Schedule table..............................................................................14
1.1.6 Document overview ......................................................................14
1.1.7 History and background................................................................14
1.1.7.1 Compatibility with LIN 1.3 .............................................................15
1.1.7.2 Compatibility with LIN 2.0 .............................................................16
1.1.7.3 Compatibility with LIN 2.1 .............................................................16
1.1.7.4 Changes between LIN 1.3 and LIN 2.0 ........................................17
1.1.7.5 Changes between LIN 2.0 and LIN 2.1 ........................................17
1.1.7.6 Changes between LIN 2.1 and LIN 2.2 ........................................18
1.1.8 References ...................................................................................18
1.2 LIN Glossary .....................................................................................20
Protocol Specification
2.1 Introduction .......................................................................................25
2.2 Signal Management..........................................................................26
2.2.1 Signal types ..................................................................................26
2.2.2 Signal consistency........................................................................26
2.2.3 Signal packing ..............................................................................26
2.2.4 Signal reception and transmission................................................27
2.3 Frame Transfer .................................................................................29
2.3.1 Frame structure ............................................................................29
2.3.1.1 Break field.....................................................................................30
2.3.1.2 Sync byte field ..............................................................................30
2.3.1.3 Protected identifier field ................................................................31
2.3.1.4 Data ..............................................................................................31
2.3.1.5 Checksum.....................................................................................32
2.3.2 Frame length ................................................................................32
2.3.3 Frame types..................................................................................33

Website: www.lin-subbus.org
LIN Specification Package
Revision 2.2A
December 31, 2010; Page 4
2.3.3.1 Unconditional frame......................................................................33
2.3.3.2 Event triggered frame ...................................................................34
2.3.3.3 Sporadic frame .............................................................................36
2.3.3.4 Diagnostic frames.........................................................................37
2.3.3.5 Reserved frames ..........................................................................38
2.4 Schedule tables ................................................................................39
2.4.1 Time definitions ............................................................................39
2.4.2 frame Slot .....................................................................................39
2.4.3 Schedule table handling ...............................................................40
2.5 Task Behavior Model ........................................................................41
2.5.1 Master task state machine............................................................41
2.5.2 Slave task state machine..............................................................41
2.5.2.1 Break/sync field sequence detector..............................................41
2.5.2.2 Frame processor ..........................................................................42
2.6 Network Management.......................................................................45
2.6.1 slave communication state diagram .............................................45
2.6.2 Wake up .......................................................................................46
2.6.3 Go to sleep ...................................................................................47
2.7 Status Management..........................................................................49
2.7.1 Concept ........................................................................................49
2.7.2 Event triggered frames .................................................................49
2.7.3 Reporting to the cluster ................................................................49
2.7.4 Reporting within own node ...........................................................50
2.8 Appendices .......................................................................................52
2.8.1 Table of numerical properties .......................................................52
2.8.2 Table of valid frame identifiers......................................................53
2.8.3 Example of checksum calculation ................................................55
2.8.4 Syntax and mathematical symbols used in this standard.............56
Transport Layer Specification
3.1 Introduction .......................................................................................58
3.2 Transport layer..................................................................................59
3.2.1 PDU structure ...............................................................................59
3.2.1.1 Overview.......................................................................................60
3.2.1.2 NAD ..............................................................................................60
3.2.1.3 PCI................................................................................................60
3.2.1.4 LEN...............................................................................................61
3.2.1.5 SID................................................................................................61
3.2.1.6 D1 to D6 .......................................................................................61
3.2.2 Communication.............................................................................61
3.2.2.1 Single Frame Transmission..........................................................62

Website: www.lin-subbus.org
LIN Specification Package
Revision 2.2A
December 31, 2010; Page 5
3.2.2.2 Multiple Frame Transmission .......................................................62
3.2.3 Error Handling ..............................................................................62
3.2.4 Defined requests ..........................................................................63
3.2.5 timing constraints..........................................................................63
Node configuration and Identification Specification
4.1 Introduction .......................................................................................67
4.2 Node configuration and identification................................................68
4.2.1 LIN product identification ..............................................................68
4.2.1.1 Wildcards......................................................................................68
4.2.2 Slave Node model ........................................................................69
4.2.2.1 Initial NAD.....................................................................................70
4.2.3 PDU structure ...............................................................................71
4.2.3.1 Overview.......................................................................................72
4.2.3.2 NAD ..............................................................................................72
4.2.3.3 PCI................................................................................................72
4.2.3.4 SID................................................................................................73
4.2.3.5 RSID .............................................................................................73
4.2.3.6 D1 to D5 .......................................................................................73
4.2.4 Node configuration and identification ...........................................74
4.2.5 Node configuration services .........................................................74
4.2.5.1 Assign NAD ..................................................................................74
4.2.5.2 Conditional change NAD ..............................................................75
4.2.5.3 Data dump ....................................................................................76
4.2.5.4 Save Configuration .......................................................................76
4.2.5.5 Assign frame ID range..................................................................77
4.2.6 Identification .................................................................................78
4.2.6.1 Read by identifier..........................................................................78
Diagnostic specification
5.1 Introduction .......................................................................................81
5.1.1 using the transport layer ...............................................................81
5.1.2 LIN master ....................................................................................82
5.1.3 slave nodes ..................................................................................82
5.2 Diagnostic classes ............................................................................83
5.2.1 Diagnostic Class I.........................................................................83
5.2.1.1 Transport protocol ........................................................................83
5.2.1.2 Diagnostic services.......................................................................83
5.2.2 Diagnostic Class II........................................................................83
5.2.2.1 Transport protocol ........................................................................83
5.2.2.2 Diagnostic services.......................................................................84
剩余193页未读,继续阅读


















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0