R01UH0822EJ0100 Rev.1.00
Page 809 of 1041
Jul 31, 2019
RX13T Group
26. 12-Bit A/D Converter (S12ADF)
Note 1. The frequency of PCLK, the peripheral module clock, becomes that set in the SCKCR.PCKB[3:0] bits, and that of ADCLK, the A/
D conversion clock, becomes the frequency set in the SCKCR.PCKD[3:0] bits.
Note 2. The number of extended bits during addition differs depending on the addition count.
2-bit extension: 1-time to 4-time conversion (add zero to three times)
4-bit extension: 16-time conversion (add 15 times)
Note 3. See section 11, Low Power Consumption for details.
Note 4. Wait for 1 μs or longer to start A/D conversion after release from the module stop state.
Note:
When setting an A/D conversion start trigger to ADTRG0#, set the pin mode control bit in the port mode register for the
corresponding pin to 1 (peripheral functions), and set the pin function select bit in the pin function control register to ADTRG0#.
See section 17, I/O Ports for details.
Note 1. See section 11, Low Power Consumption for details.
Note 2. Wait for 1 μs or longer to start A/D conversion after release from the module stop state.
Interrupt sources
In the modes except double trigger mode and group scan mode, a scan end interrupt request (S12ADI)
can be generated on completion of single scan.
In double trigger mode, a scan end interrupt request (S12ADI) can be generated on completion of double
scan.
In group scan mode, a scan end interrupt request (S12ADI) can be generated on completion of group A
scan, whereas a scan end interrupt request (GBADI) for group B can be generated on completion of
group B scan, and a group C scan end interrupt request (GCADI) can be generated on completion of
group C scan.
When double trigger mode is selected in group scan mode, an A/D scan end interrupt request (S12ADI)
can be generated on completion of double scan of group A, and the corresponding scan end interrupt
request (GBADI/GCADI) can be generated on completion of group B and group C scan.
The S12ADI, GBADI, and GCADI interrupts can activate the data transfer controller (DTC).
Low power consumption
function
Module stop state can be set.*
Table 26.2
Functions of 12-Bit A/D Converter
Item
Pin Name, Abbreviation
Analog input channels
AN000 to AN007, internal
reference voltage
Conditions for
A/D conversion
start
Software
Software trigger
Enabled
Asynchronous
trigger
Trigger input pin
ADTRG0#
Synchronous
trigger
Compare match/input capture from MTU0.TGRA
TRGA0N
Compare match/input capture from MTU1.TGRA
TRGA1N
Compare match/input capture from MTU2.TGRA
TRGA2N
Compare match/input capture from MTU3.TGRA
TRGA3N
Compare match/input capture from MTU4.TGRA or underflow
(trough) of MTU4.TCNT in complementary PWM mode
TRGA4N
Compare match from MTU0.TGRE
TRG0N
Compare match between MTU4.TADCORA and MTU4.TCNT
TRG4AN
Compare match between MTU4.TADCORB and MTU4.TCNT
TRG4BN
Compare match between MTU4.TADCORA and MTU4.TCNT,
or compare match between MTU4.TADCORB and
MTU4.TCNT
TRG4AN or TRG4BN
Compare match between MTU4.TADCORA and MTU4.TCNT,
and compare match between MTU4.TADCORB and
MTU4.TCNT (when interrupt skipping function 2 is used)
TRG4ABN
Channel-dedicated sample-and-
hold function
Target channels
AN000 to AN002
PGA
Target channels
AN000 to AN002
Interrupts
S12ADI, GBADI, GCADI interrupt
Setting of module stop function*
MSTPCRA.MSTPA17 bit
Table 26.1
Specifications of 12-Bit A/D Converter (2/2)
Item
Description