没有合适的资源?快使用搜索试试~ 我知道了~
首页lin协议-spec-V2.1.pdf
资源详情
资源评论
资源推荐
Website: www.lin-subbus.org Contact: Technical-Contact@lin-subbus.org
LIN Specification Package
Revision 2.1
November 24, 2006; Page 1
LIN
Specification Package
Revision 2.1
© LIN Consortium, 2006.
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.
Registered copy for datastack@gmail.com
Website: www.lin-subbus.org Contact: Technical-Contact@lin-subbus.org
LIN Specification Package
Revision 2.1
November 24, 2006; Page 2
REVISION HISTORY
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.
Registered copy for datastack@gmail.com
Website: www.lin-subbus.org Contact: Technical-Contact@lin-subbus.org
LIN Specification Package
Revision 2.1
November 24, 2006; 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 Changes between LIN 1.3 and LIN 2.0 ........................................17
1.1.7.4 Changes between LIN 2.0 and LIN 2.1 ........................................17
1.1.8 References ...................................................................................18
1.2 LIN Glossary .....................................................................................19
Protocol Specification
2.1 Introduction .......................................................................................24
2.2 Signal Management..........................................................................25
2.2.1 Signal types ..................................................................................25
2.2.2 Signal consistency........................................................................25
2.2.3 Signal packing ..............................................................................25
2.2.4 Signal reception and transmission................................................26
2.3 Frame Transfer .................................................................................28
2.3.1 Frame structure ............................................................................28
2.3.1.1 Break field.....................................................................................29
2.3.1.2 Sync byte field ..............................................................................29
2.3.1.3 Protected identifier field ................................................................30
2.3.1.4 Data ..............................................................................................30
2.3.1.5 Checksum.....................................................................................31
2.3.2 Frame length ................................................................................31
2.3.3 Frame types..................................................................................32
2.3.3.1 Unconditional frame......................................................................32
2.3.3.2 Event triggered frame ...................................................................32
Registered copy for datastack@gmail.com
Website: www.lin-subbus.org Contact: Technical-Contact@lin-subbus.org
LIN Specification Package
Revision 2.1
November 24, 2006; Page 4
2.3.3.3 Sporadic frame .............................................................................35
2.3.3.4 Diagnostic frames.........................................................................36
2.3.3.5 Reserved frames ..........................................................................37
2.4 Schedule tables ................................................................................38
2.4.1 Time definitions ............................................................................38
2.4.2 frame Slot .....................................................................................38
2.4.3 Schedule table handling ...............................................................39
2.5 Task Behavior Model ........................................................................40
2.5.1 Master task state machine............................................................40
2.5.2 Slave task state machine..............................................................40
2.5.2.1 Break/sync field sequence detector..............................................40
2.5.2.2 Frame processor ..........................................................................41
2.6 Network Management.......................................................................44
2.6.1 slave communication state diagram .............................................44
2.6.2 Wake up .......................................................................................45
2.6.3 Go to sleep ...................................................................................46
2.7 Status Management..........................................................................47
2.7.1 Concept ........................................................................................47
2.7.2 Event triggered frames .................................................................47
2.7.3 Reporting to the cluster ................................................................47
2.7.4 Reporting within own node ...........................................................48
2.8 Appendices .......................................................................................49
2.8.1 Table of numerical properties .......................................................49
2.8.2 Table of valid frame identifiers......................................................50
2.8.3 Example of checksum calculation ................................................52
2.8.4 Syntax and mathematical symbols used in this standard.............53
Transport Layer Specification
3.1 Introduction .......................................................................................55
3.2 Transport layer..................................................................................56
3.2.1 PDU structure ...............................................................................56
3.2.1.1 Overview.......................................................................................57
3.2.1.2 NAD ..............................................................................................57
3.2.1.3 PCI................................................................................................57
3.2.1.4 LEN...............................................................................................58
3.2.1.5 SID................................................................................................58
3.2.1.6 D1 to D6 .......................................................................................58
3.2.2 Communication.............................................................................58
3.2.2.1 Single Frame Transmission..........................................................59
3.2.2.2 Multiple Frame Transmission .......................................................59
3.2.3 Error Handling ..............................................................................59
Registered copy for datastack@gmail.com
Website: www.lin-subbus.org Contact: Technical-Contact@lin-subbus.org
LIN Specification Package
Revision 2.1
November 24, 2006; Page 5
3.2.4 Defined requests ..........................................................................60
3.2.5 timing constraints..........................................................................60
Node configuration and Identification Specification
4.1 Introduction .......................................................................................64
4.2 Node configuration and identification................................................65
4.2.1 LIN product identification ..............................................................65
4.2.1.1 Wildcards......................................................................................65
4.2.2 Slave Node model ........................................................................66
4.2.2.1 Initial NAD.....................................................................................67
4.2.3 PDU structure ...............................................................................68
4.2.3.1 Overview.......................................................................................69
4.2.3.2 NAD ..............................................................................................69
4.2.3.3 PCI................................................................................................69
4.2.3.4 SID................................................................................................70
4.2.3.5 RSID .............................................................................................70
4.2.3.6 D1 to D5 .......................................................................................70
4.2.4 Node configuration and identification ...........................................71
4.2.5 Node configuration services .........................................................71
4.2.5.1 Assign NAD ..................................................................................71
4.2.5.2 Conditional change NAD ..............................................................72
4.2.5.3 Data dump ....................................................................................73
4.2.5.4 Save Configuration .......................................................................73
4.2.5.5 Assign frame ID range..................................................................74
4.2.6 Identification .................................................................................75
4.2.6.1 Read by identifier..........................................................................75
Diagnostic specification
5.1 Introduction .......................................................................................78
5.1.1 using the transport layer ...............................................................78
5.1.2 LIN master ....................................................................................79
5.1.3 slave nodes ..................................................................................79
5.2 Diagnostic classes ............................................................................80
5.2.1 Diagnostic Class I.........................................................................80
5.2.1.1 Transport protocol ........................................................................80
5.2.1.2 Diagnostic services.......................................................................80
5.2.2 Diagnostic Class II........................................................................80
5.2.2.1 Transport protocol ........................................................................80
5.2.2.2 Diagnostic services.......................................................................81
5.2.3 Diagnostic Class III.......................................................................81
5.2.3.1 Addressing....................................................................................81
Registered copy for datastack@gmail.com
剩余190页未读,继续阅读
And_1iu
- 粉丝: 2
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0