SAE J 2366-2-2001 Link Layer.pdf
《SAE J 2366-2-2001 Link Layer.pdf》由会员分享,可在线阅读,更多相关《SAE J 2366-2-2001 Link Layer.pdf(38页珍藏版)》请在麦多课文档分享上搜索。
1、SAE Technical Standards Board Rules provide that: “This report is published by SAE to advance the state of technical and engineering sciences. The use of this report is entirelyvoluntary, and its applicability and suitability for any particular use, including any patent infringement arising therefro
2、m, is the sole responsibility of the user.”SAE reviews each technical report at least every five years at which time it may be reaffirmed, revised, or cancelled. SAE invites your written comments and suggestions.TO PLACE A DOCUMENT ORDER: (724) 776-4970 FAX: (724) 776-0790SAE WEB ADDRESS http:/www.s
3、ae.orgCopyright 2000 Society of Automotive Engineers, Inc.All rights reserved. Printed in U.S.A.SURFACEVEHICLE400 Commonwealth Drive, Warrendale, PA 15096-0001RECOMMENDEDPRACTICEJ2366-2ISSUEDNOV2001Issued 2001-11Link LayerTABLE OF CONTENTS1. Scope . 42. References . 52.1 Applicable Publications 52.1
4、.1 SAE Publications 52.2 Related Publications . 52.2.1 SAE Publications 52.2.2 CAN Publication . 52.2.3 ISO Publication. 53. Definitions. 53.1 ATID . 53.2 Bit . 53.3 Clear. 53.4 Collision 53.5 Controlling Layer 53.6 Dominant 53.7 Frame . 53.8 FrameCollisionCounter Threshold, FCCThreshold 63.9 Halt S
5、tate 63.10 HDLC 63.11 IDB and IDB-C 63.12 Insane Node . 63.13 ITS 63.14 Key State 63.14.1 Key Off State 63.14.2 Key On State 63.14.3 Key Pulse . 63.15 LLC (Logical Link Control) 63.16 MAC (Media Access Control 63.17 Node. 63.17.1 Active Node 73.17.2 Not Active Node . 73.17.3 Not Present Node. 7SAE J
6、2366-2 Issued NOV2001-2-3.17.4 Quiescent Node 73.18 Octet .73.19 OSI73.20 PDU (Protocol Data Unit)73.21 Power Mode State 73.22 Quiescent Network .73.23 Random 73.24 Recessive .73.25 Set 83.26 Time Intervals .83.26.1 Activity Timer, TStartActivity.83.26.2 Wait Timer, TWait.83.26.3 Actual/Measured Tok
7、en Hold Time, T TokenHoldActual 83.26.4 Inter-Frame Maximum Delay, TInterFrame 83.26.5 Token Hold Period Start Interval, TStartTHP.83.26.6 My Token Hold Period Start Interval, T MyStartTHP .83.26.7 Network Inactivity Time TNoActivity.83.26.8 Lost Token Recovery Time TLostToken 83.26.9 Maximum Token
8、Hold Time, TTokenHoldMax 93.26.10 Maximum Token Rotation Time, T MaxRot93.26.11 Node Inactivity Maximum, TInactive93.26.12 Node Removal Timer, TNodeRemove 93.26.13 Power Mode Status Change Time Interval, TKeyOnOff 103.26.14 Bus Reset Time, TResetPeriod 103.26.15 Token Hold Time, TTokenHold 103.26.16
9、 Transmission Duration Time, TTxDuration. 103.26.17 Maximum Transmission Duration Time, T MaxTxDuration. 103.27 Token 103.28 Token Holder 103.29 Token/Done Frame. 103.30 Token/Start Frame 104. Environment104.1 IDB-C Node Hardware Requirements. 104.2 IDB-C without Gateway to OEM Data Bus .114.3 IDB-C
10、 with Gateway to OEM Data Bus 115. Protocol Overview . 125.1 Physical Bus Detection. 135.2 Logical Network Architecture 135.2.1 Virtual Token Bus . 135.2.2 Dynamic Address Allocation . 135.2.3 Power Mode Detection and Generation 135.2.4 Frame Flow Control 135.2.5 Node Removal Detection 145.2.6 Lost
11、Token Detection 145.2.7 Runaway/Insane Node Detection and Recovery 145.2.8 Recovery from bus contention following extended period of no activity .145.2.9 Recovery from bus contention when the T NoActivity timer has not expired 145.2.10 Enabling CAN Frame Filtering 155.2.11 Transmission Order of CAN
12、Frames.155.2.12 Link Level Diagnostics 15SAE J2366-2 Issued NOV2001-3-6. Link Layer Frame Format . 166.1 CAN Frame Format, Objects, and Elements 176.1.1 Loss of Arbitration. 176.1.2 Frame Acknowledgement . 176.1.3 Remove Frames .176.1.4 Extended Frame (29 Bit Identifier) Element definition 176.2 Arb
13、itration and CAN Error Handling 186.2.1 Transmitting Node Loses Arbitration 186.2.2 CAN BIT ERROR 186.2.3 CAN STUFF ERROR 186.2.4 CAN CRC ERROR . 186.2.5 CAN FORM ERROR .186.2.6 ACKNOWLEDGMENT ERROR 186.3 Media Access Control (MAC) Sub-layer . 186.3.1 MAC Field Definitions . 196.3.2 MAC Frame Defini
14、tions. 196.4 Logical Link Control (LLC) Sub-layer 276.4.1 Frame Field Definitions . 276.4.2 LLC DATA Frame containing SAE J2366-4 Data .286.4.3 LLC DATA Frame containing Other Data . 286.5 SAE J2366-2 Protocol Sequences . 296.5.1 Initialization . 296.5.2 Active State . 316.5.3 Get Token State 326.5.
15、4 Have Token State . 346.5.5 SendFrame Function 356.5.6 ReceiveFrame Function 366.5.7 InboundFrame Function 36Appendix A Halt State Processing . 38Figure 1 Scope of SAE J2366-2 .4Figure 2 Example IDB-C without OEM Data Bus 11Figure 3 Example IDB-C with OEM Data Bus.12Figure 4 Mapping of SAE J2366-2
16、on CAN 2.0B 16Figure 5 Link Layer Frame Format . 17Figure 6 MAC Sub-layer Frame Format 18Figure 7 MAC BUSRESET Control Frame Format . 20Figure 8 MAC DEVRESET Control Frame Format . 21Figure 9 MAC JOIN Control Frame Format 22Figure 10 MAC JNAK Control Frame Format . 23Figure 11 MAC LEAVE Control Fram
17、e Format .24Figure 12 MAC STATUS Control Frame Format 25Figure 13 MAC STATUSREQ Control Frame Format.26Figure 14 LLC General Frame Format 27Figure 15 LLC Other (non-SAE J2366-4) Data Frame Format . 28Figure 16 Initialization Sequence30Figure 17 Active State Sequence . 32Figure 18 Get Token State Seq
18、uence 33Figure 19 Have Token State Sequence 34Figure 20 SendFrame Function Sequence . 35Figure 21 ReceiveFrame Function Sequence 36Figure 22 InboundFrame Function Sequence 37SAE J2366-2 Issued NOV2001-4-Table 1 Physical Node ID Transmission Values7Table 2 Token Hold Time Maximums 9Table 3 CAN Elemen
19、ts 17Table 4 MAC Frame IDs Defined . 191. ScopeThis SAE Recommended Practice details the Link Layer of the Intelligent Transportation Systems(ITS) Data Bus, which is generally intended for in-vehicle use.The ITS Data Bus (IDB) is a non-proprietary token passing bus, designed to allow disparate consu
20、mer,vehicle, and commercial electronic components to communicate and share information across a standard,open data bus. This first version of the IDB is called IDB-C.This Recommended Practice describes the Link Layer of the IDB-C, as shown in Section 1. Below the LinkLayer of the IDB-C is the CAN 2.
21、0B Link Layer. The Physical Layer of the IDB-C incorporates the PhysicalLayer as specified by SAE J2366-1 and J2590.FIGURE 1SCOPE OF SAE J2366-2The IDB-C Link Layer is logically divided into two functional sub-layers, viz., Logical Link Control (LLC) andMedia Access Control (MAC). However, these are
22、 logical groupings that re-use some of the same bits withinthe CAN 2.0B frame for efficiency.The MAC sub-layer handles all media access functions, such as virtual token handling, addressing, andnotifications of IDB-C configuration changes to other MAC layers on the IDB-C.The LLC sub-layer provides t
23、he mechanisms to send and receive point-to-point or broadcast frames to otherLLC sub-layers on the IDB-C. In addition, the LLC provides an Alternate Transport Identifier (ATID) allowingmore than one set of higher layer protocols to be used on a single Node.SAE J2366-2 Issued NOV2001-5-2. References2
24、.1 Applicable PublicationsThe following publications form a part of this specification to the extent specifiedherein. Unless otherwise indicated, the latest issue of SAE publications shall apply.2.1.1 SAE PUBLICATIONSAvailable from SAE, 400 Commonwealth Drive, Warrendale, PA 15096-0001, http:/www.sa
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- SAEJ236622001LINKLAYERPDF
