English
Language : 

M34512M2 Datasheet, PDF (34/80 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
PRELIMINARY NSocothimcaene:gpTeah.riasmisetnrioct laimfiintsalasrepescuibfijceacttioton.
MITSUBISHI MICROCOMPUTERS
4512 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
(7) Operation description
A-D conversion is started with the A-D conversion start instruction
(ADST). The internal operation during A-D conversion is as follows:
ΠWhen A-D conversion starts, the register AD is cleared to
“00016.”
 Next, the topmost bit of the register AD is set to “1,” and the
comparison voltage Vref is compared with the analog input volt-
age VIN.
Ž When the comparison result is Vref < VIN, the topmost bit of the
register AD remains set to “1.” When the comparison result is
Vref > VIN, it is cleared to “0.”
The 4512 Group repeats this operation to the lowermost bit of the
register AD to convert an analog value to a digital value. A-D con-
version stops after 62 machine cycles (46.5 µs when f(XIN) = 4.0
MHz in high-speed mode) from the start, and the conversion result
is stored in the register AD. An A-D interrupt activated condition is
satisfied and the ADF flag is set to “1” as soon as A-D conversion
completes (Figure 27).
Table 16 Change of successive comparison register AD during A-D conversion
At starting conversion
1st comparison
2nd comparison
3rd comparison
Change of successive comparison register AD
-------------
1
0
0 ----- 0
0
0
-------------
-------------
U1
1
0 ----- 0
0
0
-------------
-------------
U1 U2
1
----- 0
0
0
-------------
After 10th comparison
completes
A-D conversion result
-------------
U1 U2 U3 ----- U8 U9 UA
-------------
U1: 1st comparison result
U3: 3rd comparison result
U9: 9th comparison result
U2: 2nd comparison result
U8: 8th comparison result
UA: 10th comparison result
VDD
2
VDD
2
VDD
2
VDD
2
Comparison voltage (Vref) value
VDD
±
4
VDD
VDD
± 4 ±8
±
○
○
○
○
±
VDD
1024
(8) A-D conversion timing chart
Figure 27 shows the A-D conversion timing chart.
ADST instruction
A-D conversion
completion flag (ADF)
DAC operation signal
Fig. 27 A-D conversion timing chart
62 machine cycles
34