没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Specification of CAN Transport Layer
AUTOSAR CP R21-11
Document Title
Specification of CAN Transport
Layer
Document Owner AUTOSAR
Document Responsibility AUTOSAR
Document Identification No 14
Document Status published
Part of AUTOSAR Standard Classic Platform
Part of Standard Release R21-11
Document Change History
Date Release Changed by
Description
2021-11-25 R21-11
AUTOSAR
Release
Management
• Improve Error handling
• Clarifications
2020-11-30 R20-11
AUTOSAR
Release
Management
• Improve Error sections
• Clarifications
2019-11-28 R19-11
AUTOSAR
Release
Management
• Added configuration diagrams
• Clarifications
• Changed Document Status from
Final to published
2018-10-31 4.4.0
AUTOSAR
Release
Management
• Removed some limitations for
Half-duplex
• Minor corrections
2017-12-08 4.3.1
AUTOSAR
Release
Management
• Clarification of metadata provision
• Extend data length for CAN-FD
• Rollout of Runtime errors
• Minor corrections
2016-11-30 4.3.0
AUTOSAR
Release
Management
• Harmonized API functions
description
• Parallel handling of CAN 2.0 and
CAN-FD clarification
• Introduction of reliable Tx
Confirmation
• Clarification of addressing in Upper
Layers using MetaData
1 of 96 Document ID 14: AUTOSAR_SWS_CANTransportLayer
Specification of CAN Transport Layer
AUTOSAR CP R21-11
2015-07-31 4.2.2
AUTOSAR
Release
Management
• File structure correction
• FC_OVFL clarification
• DET Renaming and Extension
Incorporation
2014-10-31 4.2.1
AUTOSAR
Release
Management
• Introduced support for CAN Flexible
Data rate
• Minor corrections
• Clarifications
2014-03-31 4.1.3
AUTOSAR
Release
Management
• Revised padding behaviour.
• Clarified relation between CanTp
MainFunctionPeriod and other
timers.
• Revised CanTp_RxIndication()
prototype.
• Extended parameter CanTpTc for
receive cancellation.
2013-10-31 4.1.2
AUTOSAR
Release
Management
• Replace NTFRSLT_OK\NTFRSLT_
<other> E_OK\E_NOT_OK
• Handling of unexpected arrival of
N-PDU table clarification
• Editorial changes
• Removed chapter(s) on change
documentation
2013-03-15 4.1.1
AUTOSAR
Release
Management
• Error handling has been improved
• PostBuild concept has been refined
• Introduction of HDV support
• Clarifications of buffer handling
2011-12-22 4.0.3
AUTOSAR
Release
Management
• CanTp does not report production
errors anymore
• Metamodel structure changed
• Harmonization with the new buffer
concept
• Change the BlockSize to be statically
configurable instead a maximum
value
2011-04-15 4.0.2
AUTOSAR
Release
Management
• Corrections and improvement in
errors description;
• API services correction;
• Clarifications in relation with buffer
handling
• Updated table in Ch. 6 for half and
full duplex support
2 of 96 Document ID 14: AUTOSAR_SWS_CANTransportLayer
Specification of CAN Transport Layer
AUTOSAR CP R21-11
2009-12-18 4.0.1
AUTOSAR
Release
Management
• Added Mixed Addressing Mode
• CanTp supports Full Duplex Mode
• New buffering concept
• Added possibility to change CanTp
parameters
• Legal disclaimer revised
2007-12-21 3.0.1
AUTOSAR
Release
Management
• Addition of transmit cancellation
feature
• DataLength check only for too small
DLC (CanTp220)
• Restriction on mapping of N-Pdu
(SWS_CanTp_00248)
• Document meta information
extended
• Small layout adaptations made
2007-07-24 2.1.16
AUTOSAR
Release
Management
• “Advice for users” revised
• “Revision Information” added
2007-01-24 2.1.15
AUTOSAR
Release
Management
• Clarification and correction of error
management: list of
production\development error and
behavior in case of error
• Addition of SWS_CanTp_00166 and
SWS_CanTp_00167 to avoid
blocking situation in case of no buffer
provided by upper layer
• Remove of CanTpRxWftMax of
container CanTpTxNSdu
• 1 parameter added for the call of
Det_ReportError
• Add header files inclusions
• Addition of CanTpNSa container in
configuration chapter
• Legal disclaimer revised
2006-11-28 2.1
AUTOSAR
Release
Management
• Document structure adapted to
common Release 2.0 SWS
Template.
2005-05-31 1.0
AUTOSAR
Release
Management
• Initial Release
3 of 96 Document ID 14: AUTOSAR_SWS_CANTransportLayer
Specification of CAN Transport Layer
AUTOSAR CP R21-11
Disclaimer
This wor k (specification and/or software implementation) and the material contained in
it, as released by AUTOSAR, is for the purpose of information only. AUTOSAR and the
companies that have contributed to it shall not be liable for any use of the work.
The material contained in this work is protected by copyr ight and other types of intel-
lectual property rights. The commercial exploitation of the material contained in this
work requires a license to such intellectual property rights.
This work may be utilized or reproduced without any modification, in any form or by
any means, for informational purposes only. For any other purpose, no part of the work
may be utilized or reproduced, in any form or by any means, without permission in
writing from the publisher.
The work has been developed for automotive applications only. It has neither been
developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
4 of 96 Document ID 14: AUTOSAR_SWS_CANTransportLayer
Specification of CAN Transport Layer
AUTOSAR CP R21-11
Table of Contents
1 Introduction and functional overview 8
2 Acronyms and Abbreviations 10
3 Related documentation 13
3.1 Input documents & related standards and norms . . . . . . . . . . . . 13
3.2 Related specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4 Constraints and assumptions 14
4.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.2 Applicability in automotive domain . . . . . . . . . . . . . . . . . . . . . 14
5 Dependencies to other modules 14
5.1 AUTOSAR architecture basic concepts . . . . . . . . . . . . . . . . . . 14
5.1.1 CAN Transport Layer connection(s) . . . . . . . . . . . . . . 14
5.1.2 CAN Transport Layer interactions . . . . . . . . . . . . . . . 15
5.1.3 Processing mode . . . . . . . . . . . . . . . . . . . . . . . . 16
5.1.4 Data consistency . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.1.5 Static configuration . . . . . . . . . . . . . . . . . . . . . . . 16
5.1.6 PDU Router services . . . . . . . . . . . . . . . . . . . . . . 17
5.1.7 CAN Interface services . . . . . . . . . . . . . . . . . . . . . 17
5.2 File structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.2.1 Code file structure . . . . . . . . . . . . . . . . . . . . . . . . 17
5.2.2 Header file structure . . . . . . . . . . . . . . . . . . . . . . . 18
5.2.3 Version check . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.2.4 Design Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6 Requirements Tracing 18
7 Functional specification 22
7.1 Services provided to upper layer . . . . . . . . . . . . . . . . . . . . . 23
7.1.1 Initialization and shutdown . . . . . . . . . . . . . . . . . . . 23
7.1.2 Transmit request . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.1.3 Transmit cancellation . . . . . . . . . . . . . . . . . . . . . . 25
7.2 Services provided to the lower layer . . . . . . . . . . . . . . . . . . . . 25
7.2.1 Transmit confirmation . . . . . . . . . . . . . . . . . . . . . . 25
7.2.2 Reception indication . . . . . . . . . . . . . . . . . . . . . . . 26
7.3 Internal behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.3.1 N-SDU Reception . . . . . . . . . . . . . . . . . . . . . . . . 26
7.3.2 N-SDU Transmission . . . . . . . . . . . . . . . . . . . . . . 31
7.3.3 Buffer strategy . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.3.4 Protocol parameter setting services . . . . . . . . . . . . . . 36
7.3.5 Tx and Rx data flow . . . . . . . . . . . . . . . . . . . . . . . 36
7.3.6 Relationship between CAN NSduId and CAN LSduId . . . . 37
7.3.7 Concurrent connection . . . . . . . . . . . . . . . . . . . . . 38
5 of 96 Document ID 14: AUTOSAR_SWS_CANTransportLayer
剩余95页未读,继续阅读
资源评论
嵌入式知行
- 粉丝: 3364
- 资源: 35
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功