Specification of LIN Driver, AUTOSAR 72, R23-11 CP

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

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

R21-11
https://www.autosar.org/fileadmin/standards/R21-11/CP/AUTOSAR_SWS_LINDriver.pdf

R20-11
https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_LINDriver.pdf

R19-11
https://www.autosar.org/fileadmin/standards/R19-11/CP/AUTOSAR_SWS_LINDriver.pdf
https://www.autosar.org/

文書は検索してダウンロードできます。
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) 
>• LIN_E_TIMEOUT removed as Production Error
• Misleading note regarding Lin_CheckWakeup removed
• Editorial Changes
# 用語(terms)

|term|Description|
|:--|:--|
|AUTOSAR |Automotive Open System Architecture
|COM|Communication
|ECU |Electronic Control Unit
|EcuM |ECU Manager
|DEM |Diagnostic Event Manager
|DET |Default Error Tracer
|ISR |Interrupt Service Routine
|LIN |Local Interconnect Network (as defined by [16])
|MCAL| MicroController Abstraction Layer
|MCU| Micro Controller Unit
|OS |Operating System
|PDU |Protocol Data Unit. Consists of Identifier, data length and Data (SDU)
|PID| Protected ID (as defined by [16])
|PLL| Phase-Locked Loop
|RAM| Random Access Memory
|RX |Reception
|SCI| Serial Communication Interface
|SDU |Service Data Unit. Data that is transported inside the PDU
|SFR| Special Function Register
|SPAL| Standard Peripheral Abstraction Layer
|SRS| Software Requirement Specification
|SW| Software
|SWS |Software Specification
|TP| Transport Layer
|TX |Transmission
|UART| Universal Asynchronous Receiver Transmitter
|XML| Extensible Markup Language
|Id| Identifier

enumeration
LIN cluster
LIN frame
LIN hardware unit LIN header
LIN node
LIN response
This can be in "C" programming language an enum or a #define.
As defined by [1]: "A cluster is the LIN bus wire plus all the nodes."
As defined by [1]: "All information is sent packed as frames; a frame consist of the header and a response."
A LIN hardware unit may drive one or multiple LIN channels to control one or multiple LIN clusters.
As defined by [1]: "A header is the first part of a frame; it is always sent by the master."
As defined by [1]: "Loosely speaking, a node is an ECU. However, a single ECU may be connected to multiple LIN clusters."
As defined by [1]: "A LIN frame consists of a header and a response. Also called a Frame response."
Table 2.3: Glossary used in the scope of this Document
Specification of LIN Driver AUTOSAR CP R23-11
Glossary:
Description:
LIN channel
The LIN channel entity interlinks the ECUs of a LIN cluster physically: An ECU is part of a LIN cluster if it contains one LIN controller that is connected to one LIN channel of the LIN cluster. An ECU is allowed to connect to a particular LIN cluster through one channel only.
LIN controller
A dedicated LIN hardware with a build Frame processing state machine. A hardware which is capable to connect to several LIN clusters is treated as several LIN controllers.
LIN frame processor
Frame processing implies the complete LIN frame handling. Implementation could be achieved as software emulated solution or with a dedicated LIN controller.

# References

Glossaryも掲載しましょう。
https://www.autosar.org/fileadmin/standards/R23-11/FO/AUTOSAR_FO_TR_Glossary.pdf

[1] ISO 17987:2016 (all parts), Road vehicles – Local Interconnect Network (LIN) https://www.iso.org
[2] General Specification of Basic Software Modules AUTOSAR_CP_SWS_BSWGeneral
[3] Specification of LIN Interface AUTOSAR_CP_SWS_LINInterface
[4] Specification of MCU Driver AUTOSAR_CP_SWS_MCUDriver
[5] Specification of Default Error Tracer AUTOSAR_CP_SWS_DefaultErrorTracer
[6] Specification of Diagnostic Event Manager AUTOSAR_CP_SWS_DiagnosticEventManager
[7] Specification of Operating System AUTOSAR_CP_SWS_OS
[8] General Requirements on Basic Software Modules AUTOSAR_CP_SRS_BSWGeneral
[9] Requirements on LIN AUTOSAR_CP_SRS_LIN

## 補足資料（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

博論の乗りで、Youtube記事を論文にするには
https://qiita.com/kaizen_nagoya/items/05e4d2b121b6b80a5c6b

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 初稿 　20240105
### 最後までおよみいただきありがとうございました。
いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.
Please press the like icon 💚　and follow me for your happy life.