r5s72060w200fpv Renesas Electronics Corporation., r5s72060w200fpv Datasheet - Page 861

no-image

r5s72060w200fpv

Manufacturer Part Number
r5s72060w200fpv
Description
32-bit Risc Microcomputer Superhtm Risc Engine Family / Sh7200 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5S72060W200FPV
Manufacturer:
NEC
Quantity:
3 490
Part Number:
R5S72060W200FPV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
R5S72060W200FPV
0
17.4
The A/D converter uses the successive-approximation method, and the resolution is 10 bits. It has
three operating modes: single mode, multi mode, and scan mode. Switching the operating mode or
analog input channels must be done while the ADST bit in ADCSR is 0 to prevent incorrect
operation. The ADST bit can be set at the same time as the operating mode or analog input
channels are changed.
17.4.1
Single mode should be selected when only A/D conversion on one channel is required.
In single mode, A/D conversion is performed once for the specified one analog input channel, as
follows:
1. A/D conversion for the selected channel starts when the ADST bit in ADCSR is set to 1 by
2. When A/D conversion is completed, the A/D conversion result is transferred to the A/D data
3. After A/D conversion has completed, the ADF bit in ADCSR is set to 1. If the ADIE bit is set
4. The ADST bit that remains 1 during A/D conversion is automatically cleared to 0 when A/D
When the operating mode or analog input channel selection must be changed during A/D
conversion, to prevent incorrect operation, first clear the ADST bit to 0 to halt A/D conversion.
After making the necessary changes, set the ADST bit to 1 to start A/D conversion again. The
ADST bit can be set at the same time as the mode or channel selection is switched.
Typical operations when a single channel (AN1) is selected in single mode are described next.
Figure 17.2 shows a timing diagram for this example (the bits which are set in this example belong
to ADCSR).
1. Single mode is selected, input channel AN1 is selected (CH[2:0] = 001), the A/D interrupt is
2. When A/D conversion is completed, the A/D conversion result is transferred into ADDRB_0.
3. Since ADF = 1 and ADIE = 1, an ADI0 interrupt is requested.
4. The A/D interrupt handling routine starts.
software, MTU2, MTU2S, or external trigger input.
register corresponding to the channel.
to 1 at this time, an ADI interrupt request is generated.
conversion is completed, and the A/D converter becomes idle.
enabled (ADIE = 1), and A/D conversion is started (ADST = 1).
At the same time the ADF flag is set to 1, the ADST bit is cleared to 0, and the A/D converter
becomes idle.
Operation
Single Mode
Rev. 2.00 Dec. 09, 2005 Page 837 of 1152
Section 17 A/D Converter (ADC)
REJ09B0191-0200

Related parts for r5s72060w200fpv