Specification of ADC Driver, No.10, AUTOSAR R21-11(249) CP

Specification of ADC Driver, No.10, 2021-11

https://www.autosar.org/fileadmin/standards/classic/21-11/AUTOSAR_SWS_ADCDriver.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)
|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