
ML610Q421/ML610Q422/ML610421 User’s Manual
Chapter 25 Successive Approximation Type A/D Converter
25 – 10
25.3.2 Operation of the Successive Approximation A/D Converter
For direct input, operate SA-ADC in the following procedure.
1. Before starting SA-ADC, start oscillation of the high-speed clock (HSCLK) and wait until the oscillator settles.
2. When HSCLK is within the range from 375KHz to 625kHz, set bit 1 (SACK) of the SA-ADC control register
(SADCON0) to “0” and when HSCLK is within the range from 1.5MHz to 4.2MHz, set it to “1”.
3. Set the SA-ADC mode register 0 (SADMOD0).
4. When bit 0 (SARUN) of SA-ADC control register 1 (SADCON1) is set to “1”, the SA-ADC circuit becomes active
and performs A/D conversion from the lower channel number that is selected in the SA-ADC mode register
(SADMOD0).
5. A/D conversion results are stored in the applicable SA-ADC result registers (SADRnL, SADRnH) and when A/D
conversion of the largest channel number that is selected terminates, an SA-ADC conversion termination interrupt
(ADSINT) is generated.
6. Finally, using bit 0 (SALP) of the SADCON0 register, it is possible to select whether A/D conversion is terminated
(SARUN bit is “0”) or A/D conversion is automatically restarted at termination of A/D conversion of the last channel.
Even if a channel is switched during A/D conversion, the channel that is selected at the start of A/D conversion is
maintained until an A/D conversion termination interrupt occurs.
Figure 25-3 shows the SA-ADC operation timing when channel 0 and channel 1 are selected.
Figure 25-3 SA-ADC Operation Timing at Direct Input
Note:
A/D conversion time in 500kHzRC oscillation mode is 46
µ
s.
HSCLK
SARUN
A/D conversion
on channel 0
A/D conversion
on channel 1
SADINT
A/D operation signal
Conversion time
26.86
µ
Conversion time
26.86
µ
Содержание ML610421
Страница 1: ...ML610Q421 ML610Q422 ML610421 User s Manual Issue Date Feb 9 2015 FEUL610Q421 06...
Страница 15: ...Chapter 1 Overview...
Страница 44: ...Chapter 2 CPU and Memory Space...
Страница 49: ...Chapter 3 Reset Function...
Страница 53: ...Chapter 4 MCU Control Function...
Страница 69: ...Chapter 5 Interrupts INTs...
Страница 93: ...Chapter 6 Clock Generation Circuit...
Страница 110: ...Chapter 7 Time Base Counter...
Страница 121: ...Chapter 8 Capture...
Страница 129: ...Chapter 9 1 kHz Timer 1kHzTM...
Страница 135: ...Chapter 10 Timers...
Страница 160: ...Chapter 11 PWM...
Страница 172: ...Chapter 12 Watchdog Timer...
Страница 180: ...Chapter 13 Synchronous Serial Port...
Страница 195: ...Chapter 14 UART...
Страница 216: ...Chapter 15 I2 C Bus Interface...
Страница 231: ...Chapter 16 NMI Pin...
Страница 237: ...Chapter 17 Port 0...
Страница 246: ...Chapter 18 Port 1...
Страница 252: ...Chapter 19 Port 2...
Страница 259: ...Chapter 20 Port 3...
Страница 270: ...Chapter 21 Port 4...
Страница 282: ...Chapter 22 Port A...
Страница 290: ...Chapter 23 Melody Driver...
Страница 304: ...Chapter 24 RC Oscillation Type A D Converter...
Страница 327: ...Chapter 25 Successive Approximation Type A D Converter...
Страница 338: ...Chapter 26 LCD Drivers...
Страница 371: ...Chapter 27 Battery Level Detector...
Страница 378: ...Chapter 28 Power Supply Circuit...
Страница 381: ...Chapter 29 On Chip Debug Function...
Страница 384: ...Appendixes...
Страница 435: ...Revision History...