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

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

AUTOSAR Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/autosar

2022/12/05日の投稿です。

AUTOSARが、今年の版、R22-11をまもなく公開します。

下記は想定URLです。まだ公開していなければごめんなさい。

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


https://www.autosar.org/

文書は検索してダウンロードできます。

https://www.autosar.org/nc/document-search/

AUTOSAR R22-11記事一覧はこちら。

https://qiita.com/kaizen_nagoya/items/11a1654e1e9ec0e4d001

 <この項は書きかけです。順次追記します。>
# 用語(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.


## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

[1] Layered Software Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[2] General Requirements on SPAL
AUTOSAR_SRS_SPALGeneral.pdf
[3] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[4] Specification of Default Error Tracer
AUTOSAR_SWS_DefaultErrorTracer.pdf
[5] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[6] Requirements on SPI Handler/Driver
AUTOSAR_SRS_SPIHandlerDriver.pdf
[7] Specification of Diagnostic Event Manager
AUTOSAR_SWS_DiagnosticEventManager.pdf
[8] Glossary, AUTOSAR_TR_Glossary.pdf
https://www.autosar.org/fileadmin/standards/foundation/22-11/AUTOSAR_TR_Glossary.pdf
[9] Specification of MCU Driver
AUTOSAR_SWS_MCUDriver .pdf
[10] Specification of PORT Driver
AUTOSAR_SWS_PORTDriver
[11] Basic Software Module Description Template,
 AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[12] List of Basic Software Modules
AUTOSAR_TR_BSWModuleList
[13] Specification of Standard Types,
AUTOSAR_SWS_StandardTypes.pdf
[14] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf



# Countdown Calendar 2022

今年企画した6つのCountdown Calendarと、それぞれの記事一つをご紹介します。

AUTOSAR Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/autosar

AUTOSAR References to ISO, IEC, ITU, IEEE, RFC and SEA etc.

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

Automotive Handbook Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/automotivehandbook

Basic principles, ボッシュ自動車handbook(英語)11版まとめ<2>

https://qiita.com/kaizen_nagoya/items/24a1ba5da3d09b2a95d1


2022 いいねをいただいた記事ランキング(O.K.版) Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/goods

2022年１月下旬　いいねをいただいた記事　16

https://qiita.com/kaizen_nagoya/items/0ee589a8edaeab24fd2a

CDCale(O.K.) Countdown Calendar 2022

https://qiita.com/advent-calendar/2022/adventcalendar2022

「会議は15分未満」に。小耳にはさんだ話。

https://qiita.com/kaizen_nagoya/items/510c47c5d1e8d03145db

ABC language (O.K.版） Advent Calendar 2022

https://qiita.com/advent-calendar/2022/abc_ok

LLVMソースコードのコンパイルをしようと思ってハマった罠とそこから脱出するための努力

https://qiita.com/kaizen_nagoya/items/16f270e42b947756ced3

ABC maker(O.K版） Advent Calendar 2022

https://qiita.com/advent-calendar/2022/abcmaker

JAXA/IPA クリティカルソフトウェアワークショップ WOCS言語関連発表(改定版)

https://qiita.com/kaizen_nagoya/items/4789832baf494cb74626


CountdownCalendar2022 報告

https://qiita.com/kaizen_nagoya/items/5b4b99cb9ad571f4094b


# 関連文書(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


# 更新資料　Abstract Platform, Vehicle Modelへの対応版

Specification of SPI Handler/Driver, AUTOSAR R22-11, CP, No.38(2)

https://qiita.com/kaizen_nagoya/items/35a9a8ad252408e3669f

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

# 文書履歴(document history)
ver. 0.01 初稿 20221207
ver. 0.02 URL訂正　20221219
ver. 0.03 Countdown Calendar 変更　20230107