upd78f9211grt2-jjg-a ETC-unknow, upd78f9211grt2-jjg-a Datasheet - Page 164

no-image

upd78f9211grt2-jjg-a

Manufacturer Part Number
upd78f9211grt2-jjg-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
ETC-unknow
Datasheet
(5) ANI0/P20 to ANI3/P23
(6) Input impedance of ANI0 to ANI3 pins
(7) Interrupt request flag (ADIF)
164
<1> The analog input pins (ANI0 to ANI3) are also used as input port pins (P20 to P23).
<2> If a digital pulse is applied to the pins adjacent to the pins currently used for A/D conversion, the expected
In this A/D converter, the internal sampling capacitor is charged and sampling is performed during sampling time.
Since only the leakage current flows other than during sampling and the current for charging the capacitor also
flows during sampling, the input impedance fluctuates both during sampling and otherwise.
If the shortest conversion time of the reference voltage is used, to perform sufficient sampling, it is recommended
to make the output impedance of the analog input source 1 kΩ or lower, or attach a capacitor of around 0.01
to 0.1
The interrupt request flag (ADIF) is not cleared even if the analog input channel specification register (ADS) is
changed.
Therefore, if an analog input pin is changed during A/D conversion, the A/D conversion result and ADIF for the
pre-change analog input may be set just before the ADS rewrite. Caution is therefore required since, at this time,
when ADIF is read immediately after the ADS rewrite, ADIF is set despite the fact A/D conversion for the post-
change analog input has not ended.
When A/D conversion is stopped and then resumed, clear ADIF before the A/D conversion operation is resumed.
Remarks 1. n = 0 to 3
A/D conversion
When A/D conversion is performed with any of ANI0 to ANI3 selected, do not access P20 to P23 while
conversion is in progress; otherwise the conversion resolution may be degraded.
value of the A/D conversion may not be obtained due to coupling noise. Therefore, do not apply a pulse to
the pins adjacent to the pin undergoing A/D conversion.
µ
ADCRH
F to the ANI0 to ANI3 pins (see Figure 9-19).
ADCR,
ADIF
2. m = 0 to 3
ADS rewrite
(start of ANIn conversion)
Figure 9-20. Timing of A/D Conversion End Interrupt Request Generation
ANIn
CHAPTER 9 A/D CONVERTER
ADS rewrite
(start of ANIm conversion)
User’s Manual U16994EJ3V0UD
ANIn
ANIn
ANIm
ANIn
ADIF is set but ANIm conversion
has not ended.
ANIm
ANIm
ANIm
µ
F

Related parts for upd78f9211grt2-jjg-a