RL78/G1P
CHAPTER 9 A/D CONVERTER
R01UH0895EJ0100 Rev.1.00
295
Nov 29, 2019
9.10 Cautions for A/D Converter
(1) Operating current in STOP mode
Shift to STOP mode after stopping the A/D converter (by setting bit 7 (ADCS) of A/D converter mode register 0
(ADM0) to 0). The operating current can be reduced by setting bit 0 (ADCE) of the ADM0 register to 0 at the same
time.
To restart from the standby status, clear bit 0 (ADIF) of interrupt request flag register 1H (IF1H) to 0 and start
operation.
(2) Input range of ANI0 to ANI7 and ANI16 pins
Observe the rated range of the ANI0 to ANI7 and ANI16 pins input voltage. If a voltage of V
DD
, and AV
REFP
or higher
and V
SS
, and AV
REFM
or lower (even in the range of absolute maximum ratings) is input to an analog input channel,
the converted value of that channel becomes undefined. In addition, the converted values of the other channels may
also be affected.
When internal reference voltage (1.45 V) is selected reference voltage source for the + side of the A/D converter, do
not input internal reference voltage or higher voltage to a pin selected by the ADS register. However, it is no problem
that a pin not selected by the ADS register is input voltage greater than the internal reference voltage.
Caution Internal reference voltage (1.45 V) can be used only in HS (high-speed main) mode. For detail, refer
to Figure 22-3 Format of User Option Byte (000C2H).
(3) Conflicting
operations
<1> Conflict between the A/D conversion result register (ADCR, ADCRH) write and the ADCR or ADCRH register
read by instruction upon the end of conversion
The ADCR or ADCRH register read has priority. After the read operation, the new conversion result is written to
the ADCR or ADCRH registers.
<2> Conflict between the ADCR or ADCRH register write and the A/D converter mode register 0 (ADM0) write, the
analog input channel specification register (ADS), or A/D port configuration register (ADPC) write upon the end
of conversion
The ADM0, ADS, or ADPC registers write has priority. The ADCR or ADCRH register write is not performed,
nor is the conversion end interrupt signal (INTAD) generated.
(4) Noise
countermeasures
To maintain the 12-bit resolution, attention must be paid to noise input to the AV
REFP
, V
DD
, ANI0 to ANI7, and ANI16
pins.
<1> Be sure to separate V
DD
and V
SS
from other power supplies and connect a capacitor with low equivalent
resistance and good frequency response characteristics (a capacitance of about 0.01
F is recommended)
between V
DD
and V
SS
.
<2> The higher the output impedance of the analog input source, the greater the influence. To reduce the noise,
connecting external C as shown in Figure 9-44 is recommended.
<3> Do not switch these pins with other pins during conversion.
<4> The accuracy is improved if the HALT mode is set immediately after the start of conversion.
<5> Separate digital and analog signals so that they do not cross or approach each other.