S12ZVM ADC abnormality check

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12ZVM ADC abnormality check

967件の閲覧回数
pratibhasurabhi
Contributor V

Hi All,

I am using MC9S12ZVML128 MCU.

I want to implement the fail safe for ADC abnormality

Is there any functionality/feature available in MCU to check the ADC is broken and giving abnormal reading.

If such feature is not available then how can we check that ADC is abnormal.

Thanks in advance.

0 件の賞賛
返信
1 返信

926件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi pratibhasurabhi,

The ADC module reports errors in the ADC Error Interrupt Flag Register (ADCEIF).

Since the ADC commands and results are transferred from and to SRAM by the internal DMA, the MCU can correct single-bit ECC errors and detect double-bit ECC errors (ADC Status Register (ADCSTS) DBECC_ERR).

Double-bit ECC errors detection triggers a machine exception.

pastedImage_2.png

Also, please have a look at Section 1.13.1 ADC Calibration in the S12ZVM RM rev.2.13

Regards,

Daniel

0 件の賞賛
返信