BAT32G1x9 user manual | Chapter 32 Security features
1121 / 1149
Rev.1.02
32.3.6
A/D test function
The IEC60730 standard requires testing of A/D converters. This A/D test function is performed on the
positive (+) reference voltage, negative (
–) reference voltage, analog input channel (ANI), output voltage of
the temperature sensor, and internal reference voltage of the A/D converter A/D conversion to confirm that
the A/D converter is running normally.
The analog multiplexer can be confirmed by following these steps:
①
The ANIx pin is selected as the A/D conversion object (ADTES1, ADTES0=0, 0) through the ADTES
register.
②
A/D conversion of the ANIx pins (conversion result 1-1).
③
The negative (
–) reference voltage of the A/D converter is selected by the ADTES register as the A/D
conversion object (ADTES1, ADTES0=1, ). 0)
。
④
A/D conversion of the negative (
–) reference voltage of the A/D converter (conversion result 2-1).
⑤
The ANIx pin is selected as the A/D conversion object (ADTES1, ADTES0=0, 0) through the ADTES
register.
⑥
A/D conversion of the ANIx pins (conversion result 1-2).
⑦
The positive (+) reference voltage of the A/D converter is selected by the ADTES register as the A/D
conversion object (ADTES1, ADTES0=1, ). 1)
。
⑧
A/D conversion of the positive (+) reference voltage of the A/D converter (conversion result 2-2).
⑨
The ANIx pin is selected as the A/D conversion object (ADTES1, ADTES0=0, 0) through the ADTES
register.
⑩
A/D conversion of the ANIx pins (conversion result 1-3).
⑪
Verify that "Conversion Result 1-1", "Conversion Result 1-2", and "Conversion Result 1-3" are the
same.
⑫
Confirm that the A/D conversion result of "Conversion Result 2-1" is all "0" and the A/D of
"Conversion Result 2-2" The conversion result is all "1". With the above steps, you can select an
analog multiplexer and confirm that the wiring is not broken.
Note 1
During the conversion process of (1) to
(10),
if the analog input voltage is variable, other methods must be used
to confirm the analog multiplexer.
2. The conversion result contains an error, so the error must be considered appropriately when comparing the
conversion result.