Specification of I/O Hardware Abstraction, No.47, AUTOSAR R21-11(252) CP

Specification of I/O Hardware Abstraction, No.47, 2021-11

https://www.autosar.org/fileadmin/standards/classic/21-11/AUTOSAR_SWS_IOHardwareAbstraction.pdf

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

AUTOSAR 21-11,160文書読んだ。2022年5月中に全部読み。

https://qiita.com/kaizen_nagoya/items/9935c9e58bf82e1e63d2

AUTOSAR 21-11, 62文書読んだ。2022年5月中に半分到達予定。

https://qiita.com/kaizen_nagoya/items/648b32867635993410c8

AUTOSAR R21-11(0) 仕様ダウンロード一覧。単語帳。参考文献資料作成

https://qiita.com/kaizen_nagoya/items/9b3a1b9b8d1e8d7e288e

# 用語(terms)
|Expression |Description |Example|
|:--|:--|:--|
|AUTOSAR |AUTomotive Open System ARchitecture|
|API| Application Programming Interface|
|BSW| Basic SoftWare|
|BSWMD |Basic SoftWare Module Description|
|C/S |Client/Server|
|DET |Default Error Tracer|
|ECU |Electronic Control Unit|
|HW |HardWare|
|IoHwAb |Input/Output Hardware Abstraction|
|ISR |Interrupt Service Routine|
|MCAL |MicroController Abstraction Layer|
|OS| Operating System|
|RTE| RunTime Environment|
|S/R |Sender/Receiver|
|SW| SoftWare|
|SWC |SoftWare Component (see [8] for further information)|
|XML |eXtensible Markup Language|
|Callback|Within this document, the term ‘callback’ is used for API services, which are intended for notifications to other BSW modules.
|Callout|Callouts are function stubs, which can be filled at configuration time, with the purpose to add functionality to the module that provides the callout.
|Class| A class represents a set of signals that has similar electrical characteristics. |Analogue class, Discrete class, …
|Client / Server communication| This definition is an extract from [9]: Client-server communication involves two entities, the client which is the requirer (or user) of a service and the server that provides the service. The client initiates the communication, requesting that the server performs a service, transferring a parameter set if necessary. The server, in the form of the RTE, waits for incoming communication requests from a client, performs the requested service and dispatches a response to the client's request. So, the direction of initiation is used to categorize whether an AUTOSAR Software Component is a client or a server.
|Electrical Signal| An electrical signal is the physical signal on the pin of the ECU. |Physical input voltage at an ECU-Pin
|ECU pin| An ECU pin is an electrical hardware connection of the ECU with the rest of the electronic system.
|ECU Signal| An ECU Signal is the software representation of an electrical signal. An ECU signal has attributes and a symbolic name |Input voltage ,Discrete Output, PWM Input
|ECU Signal Group |An ECU Signal Group is the software representation  Specification of I/O Hardware Abstraction of a group of electrical signals.
|Attributes| Characteristics that can be Software (SW) and Hardware (HW) for each kind of ECU signals existing in an ECU. Some of the Attributes are fixed by the port definitions, others can be configured in the I/O Hardware Abstraction.|Range, Lifetime / delay
|Sender-receiver communication|This definition is an extract from [9]: Sender-receiver communication involves the transmission and reception of signals consisting of atomic data elements that are sent by one component and received by one or more components. A senderreceiver interface can contain multiple data elements. Sender-receiver communication is one-way - any reply sent by the receiver is sent as a separate senderreceiver communication. A port of a component that requires an AUTOSAR sender-receiver interface can read the data elements described in the interface and a port that provides the interface can write the data elements.
|Symbolic name| The symbolic name of a ECU signal is used by the I/O Hardware Abstraction to make a link (function, pin)
|Range|This is a functional range and not an electrical range. All the range is used either for functional needs or for diagnosis detections For analogue ECU signals [lowerLimit...upperLimit] (Voltage, current). For the particular case of a resistance signal and a timing signal (period), the lowerLimit value can not be negative.|[-12Volts...+12Volts] (voltage) [0,1] (discrete signals) [0…upperLimit] (period timing signal) [-100…100%] (Duty Cycle based timing signal)
|Resolution|This attribute is for many Classes dependent on the range and the Data Type.Example: (upperLimit - lowerLimit) / (2datatypelength -1) For the others classes, it is known and defined. |[-12 Volts…+12Volts] Data Type : 16 bits Resolution => 24 / 65535
|Accuracy| It depends of hardware peripheral used for acquisition and/or generation. |ADC converter could be a 8/10/12/16 bits converter
|Inversion |Inversion between the physical value and the logical value. This attribute is not visible butdone by I/O Hardware Abstraction to deliver expected values to users. |Physical HighState -> (signal=False) Physical LowState -> (signal=True)
|Sampling rate| Time period required to get a signal value.| Sampling rate for a sampling windows (burst)



## 英日
日本語は仮訳

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 ECU Configuration
AUTOSAR_TPS_ECUConfiguration.pdf
[5] Glossary, AUTOSAR_TR_Glossary.pdf
https://www.autosar.org/fileadmin/standards/foundation/21-11/AUTOSAR_TR_Glossary.pdf
[6] General Requirements on SPA
AUTOSAR_SRS_SPALGeneral.pdf
[7] Requirements on I/O Hardware Abstraction
AUTOSAR_SRS_IOHWAbstraction.pdf
[8] Software Component Template
AUTOSAR_TPS_SoftwareComponentTemplate.pdf
[9] Specification of RTE Software
AUTOSAR_SWS_RTE.pdf
[10] Specification of ECU State Manager
AUTOSAR_SWS_ECUStateManager.pdf
[11] Specification of ECU Resource Template
AUTOSAR_TPS_ECUResourceTemplate.pdf
[12] Specification of ADC Driver
AUTOSAR_SWS_ADCDriver.pdf
[13] Specification of DIO Driver
AUTOSAR_SWS_DIODriver.pdf
[14] Specification of ICU Driver
AUTOSAR_SWS_ICUDriver.pdf
[15] Specification of PWM Driver
AUTOSAR_SWS_PWMDriver.pdf
[16] Specification of PORT Driver
AUTOSAR_SWS_PORTDriver.pdf
[17] Specification of GPT Driver
AUTOSAR_SWS_GPTDriver.pdf
[18] Specification of SPI Handler/Driver
AUTOSAR_SWS_SPIHandlerDriver.pdf
[19] Basic Software Module Description Template
AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[20] Specification of Standard Types
AUTOSAR_SWS_StandardTypes.pdf
[21] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf
[22] Specification of OCU Driver
AUTOSAR_SWS_OCUDriver.doc