Requirements on LIN, AUTOSAR R22-11, CP, No.42

Requirements on LIN, AUTOSAR R22-11, CP, No.42

AUTOSAR Countdown Calendar 2022

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

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

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

AUTOSAR R22-11 Release Event 20221208

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

下記URL順次確認中です。

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


間違っていたら、いいね　を押していただいて、コメント欄にご報告くださると幸いです。
編集リクエストが、構造的な変更をしている最中に、構造的な編集リクエストをしていただくと、
何をどう直したらいいかわからなくなってしまいます。自動修復ツールがつくれていません。ごめんなさい。

https://www.autosar.org/

文書は検索してダウンロードすることができます。
クラウドサービスにありがちな、あるのにないかのような検索結果が出ることがあります。

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

AUTOSAR R22-11 Qiita 記事一覧はこちらに編集中です。

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

 <この項は書きかけです。順次追記します。>
# 用語(terms)

|Term|Description|
|:--|:--|
|LIN-PDU| LIN Protocol Data Unit is the LIN header and the LIN response, i.e. Break, synch, PID, Data (1-8) and checksum In the ISO 17987 specifications, this is called just frame. LIN_PDU is more precise and omits confusion.
|LIN-SDU |LIN Service Data Unit. The data-part of the LIN response.
|Schedule Table |A Schedule Table determines the traffic on a LIN bus (one channel). One LIN bus could have more than one Schedule Table.
|Schedule Table Handler| The Schedule Table Handler is placed at the LIN Interface of a LIN master node. It will initiate LIN-PDU’s and confirm/indicate LIN-PDU’s. It will be called by upper layers.
|Schedule Table Manager|Keeps track of all available schedule and processes the active schedule table in a LIN master node.
|LIN Driver |Module name Lin. Describes the Software Driver.
|LIN Interface |Module name LinIf. LIN Interface, describes the ISO 17987 protocol communication stack.
|Sleep-mode |In the ISO 17987 specifications the term stand-by and sleep-mode is used in similar manner. To be consequent here only sleep-mode is used.
|LIN |Local Interconnect Network
|FF| First Frame
|CF| Consecutive Frames
|SF| Single Frames
|N_PDU| Network Protocol Data Unit
|PDUR| Protocol Data Unit Router
|N_SDU |Network Service Data Unit
|N_TA| Extended Addressing Mode Connection
|UART |Universal Asynchronous Receiver Transmitter. Dear children have many names, it is also known as SCI and ESCI.
|MRF| Master Request Frame
|SRF| Slave Response Frame

## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

Glossary も　参考に入れましょう。
https://www.autosar.org/fileadmin/standards/foundation/22-11/AUTOSAR_TR_Glossary.pdf

### [1] Layered Software Architecture, AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
### [2] General Requirements on Basic Software Modules, AUTOSAR_SRS_BSWGeneral.pdf
### [3] General Requirements on SPAL, AUTOSAR_SRS_SPALGeneral.pdf
### [4] Software Standardization Template, AUTOSAR_TPS_StandardizationTemplate.pdf
### [5] ISO 17987-1:2016 Road vehicles – Local Interconnect Network (LIN) – Part 1: General information and use case definition

https://www.iso.org/standard/61222.html
2   Normative references

ISO 17987-4, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical Physical Layer (EPL) specification 12 V/24 V
Bibliography

[1]	ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[2]	ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[3]	ISO 14229-7, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN)
[4]	ISO 17987-2, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
[5]	ISO 17987-3, Road vehicles — Local Interconnect Network (LIN) — Part 3: Protocol specification
[6]	ISO/TR 17987-51, Road vehicles — Local Interconnect Network (LIN) — Part 5: Application programmers interface (API)
[7]	ISO 17987-6, Road vehicles — Local Interconnect Network (LIN) — Part 6: Protocol conformance test specification
[8]	ISO 17987-7, Road vehicles — Local Interconnect Network (LIN) — Part 7: Electrical Physical Layer (EPL)
[9]	ISO/IEC 7498-1, Information processing systems — Open Systems Interconnection — Basic Reference Model: The Basic Model
[10]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services

### [[6] ISO 17987-2:2016 Road vehicles – Local Interconnect Network (LIN) – Part 2: Transport protocol and network layer services

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

2   Normative references
ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
ISO 14229-7:2015, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN)
ISO 17987-3:2016, Road vehicles — Local Interconnect Network (LIN) — Part 3: Protocol specification

Bibliography

[1]	ISO 17987-4, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical Physical Layer (EPL) specification (12V/24V)
[2]	ISO/TR 17987-5, Road vehicles — Local Interconnect Network (LIN) — Part 5: Application Programmers Interface (API)
[3]	ISO 17987-6, Road vehicles — Local Interconnect Network (LIN) — Part 6: Protocol conformance test specification
[4]	ISO 17987-7, Road vehicles — Local Interconnect Network (LIN) — Part 7: Electrical Physical Layer (EPL) conformance test specification
[5]	ISO/IEC 7498-1, Information processing systems — Open Systems Interconnection — Basic Reference Model: The Basic Model — Part 1
[6]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services

### [7] ISO 17987-3:2016 Road vehicles – Local Interconnect Network (LIN) – Part 3: Protocol specification

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

2   Normative references

ISO 17987-2:2016, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
ISO 17987-4:2016, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical Physical Layer (EPL) specification 12V/24V
ISO 17987-6:2016, Road vehicles — Local Interconnect Network (LIN) — Part 6: Protocol conformance test specification

Bibliography

[1]	ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[2]	ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[3]	ISO 14229-7, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on LIN implementation (UDSonLIN)
[4]	ISO 17987-7, Road vehicles —Local Interconnect network (LIN) — Part 7: Electrical Physical Layer (EPL) conformance test specification
[5]	ISO/IEC 7498-1, Information processing systems — Open systems interconnection — Basic reference model
[6]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[7]	ISO/TR 17987-5, Road vehicles —Local Interconnect network (LIN) — Part 5: Application Programmers Interface (API)
[8]	SAE J2602/1:2012-11, LIN Network for Vehicle Applications


### [8] ISO 14229-7:2015 Road vehicles – Unified diagnostic services (UDS) – Part 7: UDS on local interconnect network (UDSonLIN)

更新

ISO 14229-7:2022
Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN)

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

2   Normative references

ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Application layer
ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
ISO 17987-2, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
ISO 17987-3, Road vehicles — Local Interconnect Network (LIN) — Part 3: Protocol specification
ISO 17987-4, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical physical layer (EPL) specification 12 V/24 V

Bibliography

[1]	ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model
[2]	ISO/IEC 10731:1994, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[3]	ISO/TR 17987-5, Road vehicles — Local Interconnect Network (LIN) — Part 5: Application programmers interface (API)


### [9] ISO/TR 17987-5:2016 Road vehicles – Local Interconnect Network (LIN) – Part 5: Application programmers interface (API)

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

No Normative Reference

Bibliography

[1]	ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[2]	ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[3]	ISO 14229-7, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on LIN implementation (UDSonLIN)
[4]	ISO 15765-2, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 2: Transport protocol and network layer services
[5]	ISO 17987-2:2016, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
[6]	ISO 17987-3:2016, Road vehicles — Local Interconnect Network (LIN) — Part 2: Protocol specification
[7]	ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model — Part 1
[8]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services


### [10] ISO 17987-6:2016 Road vehicles – Local Interconnect Network (LIN) – Part 6: Protocol conformance test specification

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

2   Normative references
ISO 17987-2:2016, Road vehicles — Local Interconnect Network (LIN) — Part 2: Transport protocol and network layer services
ISO 17987-3:2016, Road vehicles — Local Interconnect Network (LIN) — Part 3: Protocol specification
ISO 17987-4:2016, Road vehicles — Local Interconnect Network (LIN) — Part 4: Electrical Physical Layer (EPL) specification 12V/24V

Bibliography

[1]	ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model
[2]	ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
[3]	ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[4]	ISO 14229-7, Road vehicles — Unified diagnostic services (UDS) — Part 7: UDS on local interconnect network (UDSonLIN)
[5]	ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[6]	ISO 17987-5:2016, Road vehicles — Local Interconnect Network (LIN) — Part 5: Application programmers interface (API)
[7]	SAE J2602-1:2012, LIN Network for Vehicle Applications

Note: Non-ISO LIN specifications (LIN 2.2A and LIN 2.1 by LIN Consortium) are available at <https://www.lin-cia.org/standards/>, even after closure of the LIN Consortium.

# 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への対応版

Requirements on LIN, AUTOSAR R22-11, CP, No.42(2)

https://qiita.com/kaizen_nagoya/items/8f42f6d0c5df5bb4bae9

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

# 文書履歴(document history)
ver. 0.01 初稿 20221209
ver. 0.02 Countdown Calendar 変更　20230107