Specification of LIN Interface, No.73, CP, AUTOSAR R22-11(2)

Specification of LIN Interface, AUTOSAR R22-11, CP, No.73


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_LINInterface.pdf


https://www.autosar.org/

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

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

# 要求/仕様（Requirement and Specification)
InterfaceにhRequirementはない。
# 一覧

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との関係

Adaptive Platformと統合。

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


## 文書変更(Document Change) 
>Changed upper limit of LinTpP2Timing and LinTpP2Max
 Renamed the arguments “Schedule” (SWS_LinIf_00202 LinIf_ScheduleRequest) and “schedule” (SWS_LinIf_00520 <User>_ScheduleRequestConfirmat ion)
# 用語(terms)

|Term|Description|
|:--|:--|
|CF| Continuous Frame in LIN TP
|FF| First Frame in LIN TP
|ID| Identifier
|LDF| LIN Description File
|LIN TP| LIN Transport Protocol (Part of the LIN Interface)
|MRF| Master Request Frame
|NAD |Node Address. Each slave in LIN must have a unique NAD.
|NC |Node Configuration
|N_As| Time for transmission of the LIN frame (any N-PDU) on the sender side (see ISO 17987-2 [19]).
|N_Cr| Time until reception of the next consecutive frame N-PDU (see ISO 17987-2 [19]).
|N_Cs| Time until transmission of the next consecutive frame N-PDU (see ISO 17987-2 [19]).
|P2| Time between reception of the last frame of a diagnostic request on the LIN bus and the slave node being able to provide data for a response.
|P2* |Time between sending a response pending frame (0x78) and the LIN-slave being able to provide data for a response.
|PID |Protected ID
|RX| Reception
|SID |Service Identifier (of node configuration service)
|SF |Single Frame in LIN TP
|SRF| Slave Response Frame
|SRS| Software Requirement Specification
|TX| Transmission
|Slot Delay| The time between start of frames in a schedule table. The unit is in number of time-bases for the specific cluster.
|Jitter| Difference between longest delay and shortest delay (e.g. Worst case execution time – Best case execution time)
|Maximum frame length|The maximum frame length is the TFRAME_MAX as defined in the ISO 17987-3 [19] (i.e. The nominal frame length plus 40 %).
|Schedule entry is due|This means that the LIN Interface has arrived at a new entry in the schedule table and a frame (received or transmitted) will be initiated.
|Slave-to-slave| From a LIN master node’s point of view, there exist 3 different directions of frames on the LIN bus: Response transmitted by the master, Response received by the master and Response transmitted by one slave and received by another slave. The slave-to-slave is describing the last one. This is not described explicitly in the ISO 17987 specifications, but mentioned in Figure 14 in ISO 17987-3: Three unconditional frame transfers.
|Irrelevant frame| From a LIN slave node point of view, there exist 3 different directions of frames on the LIN bus: Response transmitted by the slave, Response received by the slave and Response that is ignored by the slave (i.e. communication between master and another slave or between two other slaves). These ignored frames are named irrelevant frames in this specification. This is not described explicitly  in the ISO17987 specifications.
|Relevant frame| From a LIN slave node point of view, a frame that is transmitted or received by the slave. Opposite of irrelevant frame.
|Sporadic frame| This is one of the unconditional frames that are attached to a sporadic slot.
|Sporadic slot |This is a placeholder for the sporadic frames. The reason to name it slot is that it has no LIN frame ID.
|Tick| The tick is the smallest time entity to handle the communication on all channels.
|Bus idle timeout |Lapse of time duration with no bus activity


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

T.B.D.

# 参考(reference)

[1] List of Basic Software Modules
AUTOSAR_TR_BSWModuleList.pdf
[2] Layered Software Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[3] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGeneral.pdf
[4] Specification of Standard Types
AUTOSAR_SWS_StandardTypes.pdf
[5] Specification of Default Error Tracer
AUTOSAR_SWS_DefaultErrorTracer.pdf
[6] Requirements on LIN
AUTOSAR_SRS_LIN.pdf
[7] Specification of LIN Driver
AUTOSAR_SWS_LINDriver.pdf
[8] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[9] Specification of ECU State Manager
AUTOSAR_SWS_ECUStateManager.pdf
[10] Specification of LIN State Manager
AUTOSAR_SWS_LINStateManager.pdf
[11] Basic Software Module Description Template
AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[12] Specification of LIN Transceiver Driver
AUTOSAR_SWS_LINTransceiverDriver.pdf
[13] Specification of PDU Router
AUTOSAR_SWS_PDURouter.pdf
[14] Specification of Communication Stack Types
AUTOSAR_SWS_CommunicationStackTypes.pdf
[15] Specification of Basic Software Mode Manager
AUTOSAR_SWS_BSWModeManager.pdf
[16] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
[17] LIN Specification Package Revision 2.1, November 24, 2006
http://www.lin-subbus.org/
### [18] SAE J2602-1 (2012-11), LIN Network for Vehicle Applications

LIN Network for Vehicle Applications J2602-1_202110

https://www.sae.org/standards/content/j2602-1_202110/

### [19] ISO 17987:2016 (all parts), Road vehicles – Local Interconnect Network (LIN)

#### ISO 17987-1:2016
Road vehicles — Local Interconnect Network (LIN) — Part 1: General information and use case definition

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
1 To be published.

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

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


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





# 関連文書(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 LIN Interface, AUTOSAR 73, R22-11 CP, 20230401

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

 ＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
# 文書履歴(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.