Scan Mode; Figure 15.3 Example Of A/D Converter Operation (Single Mode, Channel 1 Selected) - Renesas H8SX/1500 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1500 Series:
Table of Contents

Advertisement

ADIE
A/D conversion start
ADST
ADF
Channel 0 (AN0)
Waiting for conversion
operation state
Waiting for
Channel 1 (AN1)
conversion
operation state
Channel 2 (AN2)
Waiting for conversion
operation state
Channel 3 (AN3)
Waiting for conversion
operation state
ADDRA
ADDRB
ADDRC
ADDRD
Note: * ↓ indicates the timing of instruction execution by software.

Figure 15.3 Example of A/D Converter Operation (Single Mode, Channel 1 Selected)

15.4.2

Scan Mode

In scan mode, A/D conversion is to be performed sequentially on the analog inputs of the specified
channels up to four or eight channels.
1. When the ADST bit in ADCSR is set to 1 by software, TPU, or an external trigger input, A/D
conversion starts on the first channel in the group. Consecutive A/D conversion on a maximum
of four channels (SCANE and SCANS = B'10) or on a maximum of eight channels (SCANE
and SCANS = B'11) can be selected. When consecutive A/D conversion is performed on four
channels, A/D conversion starts on AN0 when CH3 and CH2 = B'00, on AN4 when CH3 and
CH2 = B'01, on AN8 when CH3 and CH2 = B'10, and on AN12 when CH3 and CH2 = B'11.
When consecutive A/D conversion is performed on eight channels, A/D conversion starts on
AN0 when CH3 = B'0 and on AN8 when CH3 = B'1.
2. When A/D conversion for each channel is completed, the A/D conversion result is sequentially
transferred to the corresponding ADDR of each channel.
3. When A/D conversion of all selected channels is completed, the ADF bit in ADCSR is set to 1.
If the ADIE bit is set to 1 at this time, an ADI interrupt request is generated. A/D conversion of
the first channel in the group starts again.
Set*
Set*
Waiting for conversion
A/D conversion 1
Set*
Clear*
A/D conversion 2
Reading A/D conversion result
A/D conversion result 1
Rev. 3.00 Mar. 14, 2006 Page 557 of 804
Section 15 A/D Converter
Clear*
Waiting for conversion
Reading A/D conversion result
A/D conversion result 2
REJ09B0104-0300

Advertisement

Table of Contents
loading

Table of Contents