Specification of CAN Transceiver Driver, No.71, CP, AUTOSAR 22-11(2)

Specification of CAN Transceiver Driver, No.71, 2021-11

AUTOSARが、2022年の版、R22-11公開しました。公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

https://qiita.com/kaizen_nagoya/items/18471d0b340480fdcd42

下記URL順次確認中です。

https://www.autosar.org/fileadmin/standards/R22-11/CP/AUTOSAR_SWS_CANTransceiverDriver.pdf

# 要求/仕様（Requirement and Specification)

# 一覧

AUTOSAR R22-11 Classic Platform 一覧はこちら。

Classic Platform Release Overview, AUTOSAR R22-11, CP, No.0(2)

https://qiita.com/kaizen_nagoya/items/80636f4ca7c16501803b


AUTOSAR R22-11 マラソン

https://qiita.com/kaizen_nagoya/items/988aa405a6fdd794fe53



Qiitaの記事の一覧は作成中です。

AUTOSAR R22-11 一覧（２）

https://qiita.com/kaizen_nagoya/items/6b0615884e954c65fb43



# Abstract Platform との関係　

文書全体で、どう統合するとよいかの指針を示すとよい。　

案：
1  RequirementおよびSpecificationの基本事項はすべてAbstract Platformに記載する。　
2　国際規格との関係はすべてAbstract Platformに記載する。
3  Model類はAbstract Platform Modelから導出するようにする。
4 文書、ARXML,json, Manifest 類のTemplateは基本Abstract Platformで記述する。
5 C++ Template 機能について、OS、通信規約、制御用を提案する。

# ISO CAN
## SO/CD 11898-1
Road vehicles — Controller area network (CAN) — Part 1: Data link layer and physical coding sub-layer

https://www.iso.org/standard/83292.html

I## SO/DIS 11898-2
Road vehicles — Controller area network (CAN) — Part 2: High-speed medium access unit

https://www.iso.org/standard/85120.html

###   Normative references

ISO 11898-1:2015, Road vehicles — Controller area network (CAN) — Part 1: Data link layer and physical signalling
ISO 16845-2, Road vehicles — Controller area network (CAN) conformance test plan — Part 2: High-speed medium access unit — Conformance test plan

### Bibliography

[1]	ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model
[2]	ISO 11898-3, Road vehicles — Controller area network (CAN) — Part 3: Low-speed, fault-tolerant, medium-dependent interface
[3]	ISO 11898-4, Road vehicles — Controller area network (CAN) — Part 4: Time-triggered communication


## Bosch
ISOになる前の文書をBoschが公開している。

https://web.archive.org/web/20151211125301/http://www.bosch-semiconductors.de/media/ubk_semiconductors/pdf_1/canliteratur/can_fd_spec.pdf


どの記事も、12/8の公開行事以降に最新文書に対応した書き換えを順次行います。



<この項は書きかけです。順次追記します。>


## 文書変更(Document Change) 
> Added support for CanXL
# 用語(terms)

|Term|Description|
|:--|:--|
|ComM |Communication Manager
|DEM| Diagnostic Event Manager
|DET| Default Error Tracer
|DIO |Digital Input Output (SPAL module)
|EB| Externally Buffered channels. Buffers containing data to transfer are outside the SPI Handler/Driver.
|EcuM |ECU State Manager
|IB|Internally Buffered channels. Buffers containing data to transfer are inside the SPI Handler/Driver.
|ISR |Interrupt Service Routine
|MCAL| Micro Controller Abstraction Layer
|Port| Port module (SPAL module)
|n/a |Not Applicable
|SBC |System Basis Chip; a device, which integrates e.g. CAN and/or LIN transceiver, watchdog and power control.
|SPAL| Standard Peripheral Abstraction Layer
|SPI Channel|A channel is a software exchange medium for data that are defined with the same criteria: configuration parameters, number of data elements with same size and data pointers (source & destination) or location. See specification of SPI driver for more details.
|SPI Job|A job is composed of one or several channels with the same chip select. A job is considered to be atomic and therefore cannot be interrupted. A job has also an assigned priority. See specification of SPI driver for more details.
|SPI Sequence|A sequence is a number of consecutive jobs to be transmitted. A sequence depends on a static configuration. See specification of SPI driver for more details.
|CAN Channel |A physical channel which is connected to a CAN network from a CAN controller through a CAN transceiver.
|API| Application Programming Interface

## 英日単語帳
日本語は仮訳

T.B.D.

# 参考(reference)
[1] List of Basic Software Modules
AUTOSAR_TR_BSWModuleList.pdf
[2] Layered Software Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[3] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[4] General Requirements on Basic Software
AUTOSAR_SRS_BSWGeneral.pdf
[5] Specification of Specification of CAN Interface
AUTOSAR_SWS_CANInterface.pdf
[6] Basic Software Module Description Template,
AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[7] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
### [8] ISO11898 – Road vehicles - Controller area network (CAN)

#### ISO 11898-1:2015
Road vehicles — Controller area network (CAN) — Part 1: Data link layer and physical signalling

https://www.iso.org/standard/63648.html

3   Normative references

ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model — Part 1
ISO/IEC/IEEE 8802-3:2014, Standard for Ethernet — Part 3

Bibliography

[1]	ISO 7637-3, Road vehicles — Electrical disturbances from conduction and coupling — Part 3: Electrical transient transmission by capacitive and inductive coupling via lines other than supply lines
[2]	ISO 11992-1, Road vehicles — Interchange of digital information on electrical connections between towing and towed vehicles — Part 1: Physical and data-link layers
[3]	ISO/IEC 8802-2, Information technology — Telecommunications and information exchange between systems — Local and metropolitan area networks — Specific requirements — Part 2: Logical link control
[4]	ISO/IEC 8802-2:1998/Cor 1:2000

#### ISO 11898-2:2016
Road vehicles — Controller area network (CAN) — Part 2: High-speed medium access unit

https://www.iso.org/standard/67244.html

2   Normative references

ISO 11898-1:2015, Road vehicles — Controller area network (CAN) — Part 1: Data link layer and physical signalling
ISO 16845-2, Road vehicles — Controller area network (CAN) conformance test plan — Part 2: High-speed medium access unit with selective wake-up functionality

Bibliography

[1]	ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model
[2]	ISO 11898-3, Road vehicles — Controller area network (CAN) — Part 3: Low-speed, fault-tolerant, medium-dependent interface
[3]	ISO 11898-4, Road vehicles — Controller area network (CAN) — Part 4: Time-triggered communication
[4]	ISO 11898-5, Road vehicles — Controller area network (CAN) — Part 5: High-speed medium access unit with low-power mode
[5]	ISO 11898-6, Road vehicles — Controller area network (CAN) — Part 6: High-speed medium access unit with selective wake-up functionality

ISO 11898-3:2006
Road vehicles — Controller area network (CAN) — Part 3: Low-speed, fault-tolerant, medium-dependent interface

ISO 11898-4:2004
Road vehicles — Controller area network (CAN) — Part 4: Time-triggered communication




# 関連文書(Related document)

2023年1月　記事数一覧

https://qiita.com/kaizen_nagoya/items/78153968c5de76a7fd83

年末100記事を30点に仕上げる。

https://qiita.com/kaizen_nagoya/items/3ffdc82caee3a325d1d7

2023 書き初め

https://qiita.com/kaizen_nagoya/items/d494737e2627127b530d

「はじめてのCAN/CANFD 」 ベクタージャパン ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/1fee270be00ef90ca4ec


三方良し　Udemy 車載LAN入門講座 CAN通信編

https://qiita.com/kaizen_nagoya/items/bed038c52510fea72c0a


詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(1) 著者　 ＜エンジニア夏休み企画 読書感想文＞

https://qiita.com/kaizen_nagoya/items/e9971698a108c3dba794

詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(2)参考文献 ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/e156cbdd5fce9263776e

詳解 車載ネットワーク CAN、CAN FD、LIN、CXPI、Ethernetの仕組みと設計のために

https://qiita.com/kaizen_nagoya/items/44a9e6b0f5363b4a5b35


# R22-11 URL変更

Specification of CAN Transceiver Driver, AUTOSAR 71, R22-11, CP, 20230421

https://qiita.com/kaizen_nagoya/items/c8c4ece3ec8c047d910a

＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞

# 文書履歴(document history)
ver. 0.01 初稿 　20230109
ver. 0.02 ありがとう追記 20230607
### 最後までおよみいただきありがとうございました。

いいね　💚、フォローをお願いします。

####  Thank you very much for reading to the last sentence.

Please press the like icon 💚　and follow me for your happy life.