![](http://datasheet.mmic.net.cn/120000/S1C17564F00E10C_datasheet_3574343/S1C17564F00E10C_237.png)
21 A/D CONVERTER (ADC10)
21-4
Seiko Epson Corporation
S1C17554/564 TECHNICAL MANUAL
2. Continuous conversion mode (ADMS = 1)
The A/D converter repeatedly performs A/D conversion for the channels in the range specified by ADCS[2:0]
and ADCE[2:0] until stopped with software.
At initial reset, the A/D converter is set to one-time conversion mode.
Trigger Selection
21.3.4
Select a trigger source to start A/D conversion from among the three types listed in Table 21.3.4.1 using ADTS[1:0]/
ADC10_TRG register.
3.4.1 Trigger Selection
Table 21.
ADTS[1:0]
Trigger source
0x3
External trigger (#ADTRG)
0x2
Reserved
0x1
16-bit timer Ch.0
0x0
Software trigger
(Default: 0x0)
1. External trigger (#ADTRG)
The signal input to the #ADTRG pin is used as a trigger. To use this trigger source, the I/O port pin must be
configured for the #ADTRG input using the port function select bit (see the “I/O Ports (P)” chapter). An A/D
conversion starts when a falling edge of the #ADTRG signal is detected.
Note: When using an external trigger to start A/D conversion, ensure to maintain the Low period of the
trigger signal input to the #ADTRG pin for two or more S1C17 Core operating clock cycles.
2. 16-bit timer (T16) Ch.0
The underflow signal of T16 Ch.0 is used as a trigger. Since the T16 underflow cycle can be programmed with
flexibility, this trigger source is effective when periodic A/D conversions are required. For more information on
timer settings, see the “16-bit Timers (T16)” chapter.
3. Software trigger
Writing 1 to ADCTL/ADC10_CTL register with software serves as a trigger to start A/D conversion.
Sampling Time Setting
21.3.5
The analog signal input sampling time in this A/D converter can be configured to eight steps (two to nine A/D con-
version clock cycles) using ADST[2:0]/ADC10_TRG register.
3.5.1 Sampling Time Settings
Table 21.
ADST[2:0]
Sampling time
(in A/D conversion clock cycles)
0x7
9 cycles
0x6
8 cycles
0x5
7 cycles
0x4
6 cycles
0x3
5 cycles
0x2
4 cycles
0x1
3 cycles
0x0
2 cycles
(Default: 0x7)
The sampling time must satisfy the acquisition time condition (tACQ, time required for acquiring input voltage). Fig-
ure 21.3.5.1 shows an equivalent circuit of the analog input portion.