English
Language : 

UPD784907 Datasheet, PDF (43/98 Pages) NEC – 16-BIT SINGLE-CHIP MICROCONTROLLER
µPD784907, 784908
8.7 A/D Converter
An analog/digital (A/D) converter having 8 multiplexed analog inputs (ANI0 through ANI7) is incorporated.
The successive approximation system is used for conversion. The result of conversion is held in the 8-bit A/D
conversion result register (ADCR). Thus, speedy high-precision conversion can be achieved.
A/D conversion can be started in the following two ways:
• Hardware start: Conversion is started by trigger input (INTP5).
• Software start: Conversion is started by setting the bit of the A/D converter mode register (ADM).
After conversion has started, one of the following modes can be selected:
• Scan mode: Multiple analog inputs are selected sequentially to convert multiple pins.
• Select mode: A single analog input is selected at all times to enable conversion data to be obtained continuously.
ADM is used to specify the above modes, as well as the termination of conversion.
When the result of conversion is transferred to ADCR, an interrupt request (INTAD) is generated. Using this feature,
the results of conversion can be continuously transferred to memory by the macro service.
Cautions
1. For this product, apply the same voltage as the power supply voltage (AVDD) to the reference
voltage input pin (AVREF1).
2. When port 7 is used as both an output port and A/D input line, do not manipulate the output
port while A/D conversion is in progress.
Figure 8-9. Block Diagram of A/D Converter
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
ANI6
ANI7
INTP5
Sample and hold circuit
Voltage comparator
Edge
detection
circuit
Conversion
trigger
Successive
approximation
register (SAR)
Control
circuit
INTAD
Trigger enable
A/ D converter mode
register (ADM)
8
A/ D conversion
result register (ADCR)
8
8
Series resistor string
AVDD
Connection
control
R/2
AVREF1
A/D current cut selection
register (IEAD)
R
R/2
AVSS
Internal bus
Data Sheet U11680EJ2V0DS00
43