RL78/G13 CHAPTER 11 A/D CONVERTER
R01UH0146EJ0100 Rev.1.00 475
Sep 22, 2011
CHAPTER 11 A/D CONVERTER
The number of analog input channels of the A/D converter differs, depending on the product.
20, 24, 25-pin 30, 32-pin 36-pin 40-pin 44, 48-pin 52, 64-pin 80-pin 100-pin 128-pin
Analog
input
channels
6 ch
(ANI0 to ANI2,
ANI16 to ANI18)
8 ch
(ANI0 to ANI3,
ANI16 to ANI19)
8 ch
(ANI0 to ANI5,
ANI18, ANI19)
9 ch
(ANI0 to ANI6,
ANI18, ANI19)
10 ch
(ANI0 to ANI7,
ANI18, ANI19)
12 ch
(ANI0 to ANI7,
ANI16 to ANI19)
17 ch
(ANI0 to ANI11,
ANI16 to ANI20)
20 ch
(ANI0 to ANI14,
ANI16 to ANI20)
26 ch
(ANI0 to ANI14,
ANI16 to ANI26)
11.1 Function of A/D Converter
The A/D converter is a 10-bit resolution
Note
converter that converts analog input signals into digital values, and is
configured to control analog inputs, including up to 26 channels of A/D converter analog inputs (ANI0 to ANI14 and ANI16
to ANI26).
The A/D converter has the following function.
• 10-bit resolution A/D conversion
Note
10-bit resolution A/D conversion is carried out repeatedly for one analog input channel selected from ANI0 to ANI14
and ANI16 to ANI26. Each time an A/D conversion operation ends, an interrupt request (INTAD) is generated (when
in the select mode).
Note 8-bit resolution can also be selected by using the ADTYP bit of A/D converter mode register 2 (ADM2).
Various A/D conversion modes can be specified by using the mode combinations below.
Trigger Mode Channel Selection Mode Conversion Operation Mode
• Software trigger
Conversion is started by specifying a
software trigger.
• Hardware trigger no-wait mode
Conversion is started by detecting a
hardware trigger.
• Hardware trigger wait mode
The power is turned on by detecting a
hardware trigger while the system is off and
in the conversion standby state, and
conversion is then started automatically
after the stabilization wait time passes.
• Select mode
A/D conversion is performed on
the analog input of one channel.
• Scan mode
A/D conversion is performed on
the analog input of four channels
in order.
• One-shot conversion mode
A/D conversion is performed on
the selected channel once.
• Sequential conversion mode
A/D conversion is sequentially
performed on the selected
channels until it is stopped by
software.
<R>