Specifications

Table Of Contents
S1C62740 TECHNICAL SOFTWARE EPSON II-61
CHAPTER 6: PERIPHERAL CIRCUITS (A/D Converter)
Measurement mode selection
The A/D converter can measurement the following mode:
• Terminal voltage vs GND
• Difference voltage between terminal
• Resistance between terminal
How to set the measurement mode and measurement terminals are
shown as following:
Table 6.13.4 Measurement item selection
AIS3 AIS2 AIS1 AIS0 AI4 AI3 AI2 AI1 AI0 Measurement items
000000001AI0 voltage measurement (GND reference)
000000010AI1 voltage measurement (GND reference)
000000100AI2 voltage measurement (GND reference)
000001000AI3 voltage measurement (GND reference)
000010000AI4 voltage measurement (GND reference)
000100011AI1 differential voltage measurement (AI0 reference)
001001100AI3 differential voltage measurement (AI2 reference)
010010100AI2 resistance measurement (AI4 reference)
100011000AI3 resistance measurement (AI4 reference)
Note: It is inhibit to set other condition that is not shown on the above table.
A/D conversion
When the above four stages is set properly, then can start the A/D
conversion by set ADON (F6H•D3) = "1". When set ADON to "1", it
means to reset A/D converter and start converting.
Figure 6.13.1 show the integration amplifier's output.
Fig. 6.13.1
Integration amplifier output
Readout the A/D converter and check valid
There are 13 bits for the A/D converter counter data (AD12–AD0).
And with a sign bit ADP for input polarity.
It should be read the A/D converter counter data from the lowest
word to highest word, then check the valid bit IDR. If IDR = "1",
means the data is invalid.
ADON = "1" ADON = "1"
reset and start
(even though ADON
already set to "1")