TMP91C824
91C824-182
2008-02-20
3.11 Analog/Digital
Converter
The TMP91C824 incorporates a 10-bit successive approximation-type analog/digital
converter (AD converter) with 8-channel analog input.
Figure 3.11.1 is a block diagram of the AD converter. The 8-channel analog input pins (AN0
to AN7) are shared with the input only port 8 and can thus be used as an input port.
Note: When IDLE2, IDLE1 or STOP mode is selected, so as to reduce the power, with some
timings the system may enter a standby mode even though the internal comparator is still
enabled. Therefore be sure to check that AD converter operations are halted before a
HALT instruction is executed.
Figure 3.11.1 Block Diagram of AD Converter
INTAD
interrupt
Comparator
VREFH
VREFL
M
u
lt
iple
x
e
r
Sample and
hold
AD mode control register 1 ADMOD1
ADMOD1 <ADTRGE>
<ADCH2:0><VREFON>
Scan
Repeat
Interrupt
Busy
End
Start
+
−
Internal data bus
Channel
selector
AD mode control register 0 ADMOD0
<EOCF> <ADBF> <ITM0> <REPEAT> <SCAN> <ADS>
ADTRG
AD conversion result
register
ADREG04L to ADREG37L
ADREG04H to ADREG37H
DA converter
AD converter control
circuit
Analog input
AN7 (P87)
AN6 (P86)
AN5 (P85)
AN4 (P84)
AN3/
ADTRG
(P83)
AN2 (P82)
AN1 (P81)
AN0 (P80)