Specification of ADC Driver, AUTOSAR R22-11, CP, No.10(2)

Specification of ADC Driver, AUTOSAR R22-11, CP, No.10

https://www.autosar.org/

AUTOSARが、2022年の版、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_SWS_ADCDriver.pdf

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



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

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


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との関係
センサ類の入出力の共通化を測る。 
Classic Platformのドライバ類に共通な仕様で、Adaptive Platformでも必要な機能を抜き出す。


 <この項は書きかけです。順次追記します。>
## 文書変更(Document Change) 
• SWS_ADC_00460 editorially adapted according to TPS_STDT_00042

https://www.autosar.org/fileadmin/standards/foundation/22-11/AUTOSAR_TPS_StandardizationTemplate.pdf
>[TPS_STDT_00042] namePattern for shortNames of TraceableText in Stan- dardization Documents ⌈The intended name pattern applicable to short names TraceableText (in fact representing e.g. requirement tags) in AUTOSAR standard- ization documents is defined as
  [{platform}_]{keyword(TraceCategory)}_{module}_({special}[_{index}])|{index}
In this pattern, the placeholders are defined as:
• platform is either AP or CP or FO.
• keyword(TraceCategory) is defined in [3] in keyword set Information- Categories, entries with classification TraceCategory.
• module is either module abbreviation in [4] or an entry of the keyword set Docu- mentAbbreviations with classification DocumentAbbreviation in [3] or the functional cluster shortname in [5]. Inside one document only the same module abbreviation or keyword shall be used.
• index is a numerical index
• special is one of (SPEC, NA, GEN, CONSTR). Note that special may also have an optional index. This allows to provide different special items with more detailed information.


# 用語(terms)
|Term|Description|
|:--|:--|
|DEM |Diagnostic Event Manager
|DET| Default Error Tracer
|ADC| Analogue Digital Converter
|MCU |icrocontroller Unit
|API| Application Programming Interface
|HW |Hardware
|SW |Software
|ADC HW Unit| Represents a microcontroller input electronic device that includes all parts necessary to perform an “analogue to digital conversion”.
|ADC Module |ADC Basic Software module ADC Driver, abbreviated also with ADC Driver
|ADC Channel| Represents a logical ADC entity bound to one port pin. Multiple ADC entities can be mapped to the same port pin.
|ADC Channel Group|A group of ADC channels linked to the same ADC hardware unit (e.g. one Sample&Hold and one A/D converter). The conversion of the whole group is triggered by one trigger source.
|ADC Result Buffer (ADC Streaming Buffer, ADC Stream Buffer)|The user of the ADC Driver has to provide a buffer for every group. This buffer can hold multiple samples of the same group channel if streaming access mode is selected. If single access mode is selected one sample of each group channel is held in the buffer.
|Software Trigger| Software API call that starts the conversion of one ADC channel group or a continuous series of ADC channel group conversions.
|Hardware Trigger |ADC internal trigger signal that starts one conversion of an ADC channel group. ADC hardware trigger are generated internally in the ADC hardware, e.g. based on an ADC timer or a trigger edge signal. The trigger hardware is tightly coupled or integrated in the ADC hardware. No software is required to start the ADC channel group conversion after the hardware trigger is detected. Note: If the ADC hardware does not support hardware trigger, a similar behavior can be realized with software trigger in combination with the GPT/ICU driver. E.g. in a GPT timer notification function a software triggered ADC channel group conversion can be started.
|Conversion Mode| One-Shot: The conversion of an ADC channel group is performed once after a trigger and the results are written to the assigned result buffer. A trigger can be a software API call or a hardware event. Continuous: The conversions of an ADC channel group are performed continuously after a software API call (start) and the results are written to the assigned result buffer. The conversions themselves are running automatically (hardware/interrupt controlled). The Continuous conversions can be stopped by a software API call (stop).
|Sampling Time, Sample Time|Time during which the analogue value is sampled (e.g. loading the capacitor, …) Conversion Time Time during which the sampled analogue value is converted into digital representation.
|Acquisition Time| Sample Time + Conversion Time.


## 英日
日本語は仮訳

T.B.D.

# 参考(reference)

[1] General Requirements on Basic Software Modules,
AUTOSAR_SRS_BSWGeneral.pdf
[2] General Requirements on SPAL,
AUTOSAR_SRS_SPALGeneral.pdf
[3] Specification of Standard Types,
AUTOSAR_SWS_StandardTypes.pdf
[4] List of Basic Software Modules,
AUTOSAR_TR_BSWModuleList.pdf
[5] Specification of Diagnostic Event Manager,
AUTOSAR_SWS_DiagnosticEventManager.pdf
[6] Specification of Default Error Tracer,
AUTOSAR_SWS_DefaultErrorTracer.pdf
[7] Requirements on ADC Driver,
AUTOSAR_SRS_ADCDriver.pdf
[8] Specification of ECU Configuration,
AUTOSAR_TPS_ECUConfiguration.pdf
[9] Layered Software Architecture,
AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
[10] Specification of ECU State Manager,
AUTOSAR_SWS_ECUStateManager.pdf
[11] Specification of I/O Hardware Abstraction,
AUTOSAR_SWS_IOHardwareAbstraction.pdf
[12] Basic Software Module Description Template,
AUTOSAR_TPS_BSWModuleDescriptionTemplate.pdf
[13] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral.pdf


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


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

# 文書履歴(document history)
ver. 0.01 初稿 20230105

ver. 0.02 ありがとう追記 20230502

### 最後までおよみいただきありがとうございました。

いいね　💚、フォローをお願いします。

####  Thank you very much for reading to the last sentence.

Please press the like icon 💚　and follow me for your happy life.