Specification of SPI Handler/Driver, AUTOSAR 38, R22-11, CP


AUTOSARが2023年版、R(Release)23-11を公開しました。
https://www.autosar.org/fileadmin/standards/R23-11/CP/AUTOSAR_CP_SWS_SPIHandlerDriver.pdf

R22-11
https://www.autosar.org/fileadmin/standards/classic/R22-11/AUTOSAR_SWS_SPIHandlerDriver.pdf

R21-11
https://www.autosar.org/fileadmin/standards/classic/R21-11/AUTOSAR_SWS_SPIHandlerDriver.pdf

R20-11
https://www.autosar.org/fileadmin/standards/classic/R20-11/AUTOSAR_SWS_SPIHandlerDriver.pdf

R19-11
https://www.autosar.org/fileadmin/standards/classic/R19-11/AUTOSAR_SWS_SPIHandlerDriver.pdf


文書は検索してダウンロードできます。
https://www.autosar.org/


<この項は書きかけです。順次追記します。>
This article is not completed. I will add some words in order.

# Release Overviews
AUTOSARには現在3つの分類があります。Foundation, CAN OSEK/VDXのClassic Platform, Ethernet/TCP/IP POSIXのAdaptive Platform.

Foundation Release Overview, AUTOSAR 781, R23-11, FO
https://qiita.com/kaizen_nagoya/items/f249bdb8c313d8bff883

Classic Platform Release Overview, AUTOSAR No.0 ,R23-11, CP
https://qiita.com/kaizen_nagoya/items/9d22c8722cbc0f42b137

Adaptive Platform Release Overview, AUTOSAR 782, R23-11, AP
https://qiita.com/kaizen_nagoya/items/13a104606a34fe24fcf7

# Qiita 記事一覧
Autosar Foundation R23-11 一覧
https://qiita.com/kaizen_nagoya/items/c30674cb2dac2fcbbd04

AUTOSAR Adaptive Platform R23-11一覧
https://qiita.com/kaizen_nagoya/items/1dece8799a730367b0dc

Autosar Classic Platform R23-11 一覧
https://qiita.com/kaizen_nagoya/items/f770f6c2906e1dcbf180


# 文書変更(Document Change) 
>• SWS_Spi_00389 moved to mandatory interfaces
• Editorial changes
# 用語(terms)

|term|Description|
|:--|:--|
|DET| Default Error Tracer – module to which errors are reported.
|DEM |Diagnostic Event Manager – module to which production relevant errors are reported.
|SPI |Serial Peripheral Interface. It is exactly defined hereafter in this document.
|CS| Chip Select
|MISO |Master Input Slave Output
|MOSI| Master Output Slave Input
|EB| Externally buffered channels. Buffers containing data to transfer are outside the SPI Handler/Driver.
|IB| Internally buffered channels. Buffers containing data to transfer are inside the SPI Handler/Driver.
|ID |Identification Number of an element (Channel, Job, Sequence).
|Channel |A Channel is a software exchange medium for data that are defined with the same criteria: Config. Parameters, Number of Data elements with same size and data pointers (Source & Destination) or location.
|Job |A Job is composed of one or several Channels with the same Chip Select (one chip select = one external device). A Job is considered atomic and therefore cannot be interrupted by another Job. A Job has an assigned priority. Depending on the configuration, the CS may be kept asserted for the whole job (so for all the Channels) or released for each data frame at SPI bus level.
|Sequence| A Sequence is a number of consecutive Jobs to transmit but it can be rescheduled between Jobs using a priority mechanism. A Sequence transmission is interruptible (by another Sequence transmission) or not depending on a static configuration.
|Data frame| A data frame is the physical frame of bits on the SPI bus in relation with SpiDataWidth.

# References
[1] Layered Software Architecture AUTOSAR_CP_EXP_LayeredSoftwareArchitecture.pdf
[2] General Requirements on SPAL AUTOSAR_CP_SRS_SPALGeneral.pdf
[3] General Requirements on Basic Software Modules AUTOSAR_CP_SRS_BSWGeneral.pdf
[4] Specification of Default Error Tracer AUTOSAR_CP_SWS_DefaultErrorTracer.pdf
[5] Specification of ECU Configuration AUTOSAR_CP_TPS_ECUConfiguration.pdf
[6] Requirements on SPI Handler/Driver AUTOSAR_CP_SRS_SPIHandlerDriver.pdf
[7] Specification of Diagnostic Event Manager AUTOSAR_CP_SWS_DiagnosticEventManager.pdf
[8] Glossary AUTOSAR_FO_TR_Glossary.pdf
https://www.autosar.org/fileadmin/standards/R23-11/FO/AUTOSAR_FO_TR_Glossary.pdf
[9] Specification of MCU Driver AUTOSAR_CP_SWS_MCUDriver .pdf
[10] Specification of PORT Driver AUTOSAR_CP_SWS_PORTDriver
[11] Basic Software Module Description Template, AUTOSAR_CP_TPS_BSWModuleDescriptionTemplate.pdf
[12] List of Basic Software Modules AUTOSAR_CP_TR_BSWModuleList
[13] Specification of Standard Types, AUTOSAR_CP_SWS_StandardTypes.pdf
[14] General Specification of Basic Software Modules AUTOSAR_CP_SWS_BSWGeneral.pd



## 補足資料（Additions）
祝休日・謹賀新年：2024年の目標
https://qiita.com/kaizen_nagoya/items/b659d922327a7dcdc898

2023 Countdown Calendar 主催・参加一覧
https://qiita.com/kaizen_nagoya/items/c4c2f08ac97f38d08543

CountDownCalendar月間　いいねをいただいた記事群　views　順
https://qiita.com/kaizen_nagoya/items/583c5cbc225dac23398a

Countdown Calendar 2023, 百記事目を書くにあたって。
https://qiita.com/kaizen_nagoya/items/45185a04cfd88b71256a

1年間をまとめた「振り返りページ」＠２０２３
https://qiita.com/kaizen_nagoya/items/bcd1ebd49d3a9e8c7a90

AUTOSAR 文書番号
https://qiita.com/kaizen_nagoya/items/8b894228a0b76c2265c7

AUTOSAR R23-11 記憶の記録
https://qiita.com/kaizen_nagoya/items/701bc800b5f137e51a36

AUTOSAR Countdown Calendar 2023
https://qiita.com/advent-calendar/2023/autosar

AUTOSAR Abstract Platformへの道 R22-11
https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

自動車　記事　１００
https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

Basic principles, ボッシュ自動車handbook(英語)11版まとめ<2>
https://qiita.com/kaizen_nagoya/items/24a1ba5da3d09b2a95d1

JAXA/IPA クリティカルソフトウェアワークショップ WOCS言語関連発表(改定版)
https://qiita.com/kaizen_nagoya/items/4789832baf494cb74626

＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.


# 文書履歴(document history)
ver. 0.01 初稿 　20240122
### 最後までおよみいただきありがとうございました。
いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.
Please press the like icon 💚　and follow me for your happy life.