R01UH0823EJ0100 Rev.1.00 Page 1597 of 1823
Jul 31, 2019
RX23W Group 44. 12-Bit A/D Converter (S12ADE)
(7) On completion of A/D conversion on the group A, rescanning operation on group B sets the ADCSR.ADST bit to 1
automatically if the setting of the ADGSPCR.GBRSCN bit is 1 (rescanning operation enabled). After that, A/D
conversion for the ANn group B channels selected in the ADANSB0 and ADANSB1 registers starts again in order
from the channel with the lowest number n.
(8) On completion of A/D conversion on a single channel, the result is stored in the corresponding A/D data register
(ADDRy).
(9) If a group A trigger is input during A/D conversion on group B for rescanning, the ADCSR.ADST bit is cleared to 0
(A/D conversion stop) and the ongoing A/D conversion on group B is stopped.
(10) After that, the ADCSR.ADST bit is set to 1 automatically and A/D conversion for the ANn group A channels
selected in the ADANSA0 and ADANSA1 registers starts in order from the channel with the lowest number n.
(11) On completion of A/D conversion on a single channel, the result is stored in the corresponding A/D data register
(ADDRy).
(12) An S12ADI0 interrupt request is generated if the setting of the ADCSR.ADIE bit is 1 (S12ADI0 interrupt upon
scanning completion enabled).
(13) On completion of A/D conversion on group A, rescanning operation on group B sets the ADCSR.ADST bit to 1
automatically if the setting of the ADGSPCR.GBRSCN bit is 1 (rescanning operation enabled). After that, A/D
conversion for the ANn group B channels selected in the ADANSB0 and ADANSB1 registers starts again in order
from the channel with the lowest number n.
(14) If a group A trigger is input during A/D conversion on group B for rescanning, steps 9 to 13 are repeated. If a group
A trigger is not input, the ADCSR.ADST bit is cleared automatically on completion of A/D conversion on group B
and the 12-bit A/D converter enters a wait state.
Figure 44.15 Example of Operations under Group-A Priority Control (2)
(when ADGSPCR.GBRSCN = 1 and ADGSPCR.GBRP = 0)
Channel 1
(AN001)
Waiting for conversion
Channel 2
(AN002)
Waiting for conversion
Channel 3
(AN003)
Waiting for conversion
ADDR1
ADDR2
ADDR3
A/D conversion B1
(2)
Stored
A/D conversion B2
Waiting for conversion
Waiting for conversion
*
1
A/D conversion B3
A/D conversion result B1
A/D conversion result B2
A/D conversion result B4
(2)
(6)
(8)
Stored
Stored
Waiting for conversion
ADST
A/D
conversion
started
Waiting for conversion
ADDR0
A/D conversion result A1
Interrupt generated
A/D conversion A1
(7)
(3)
Channel 0
(AN000)
(1)
A/D conversion B4
A/D conversion B5
Waiting for conversion
A/D conversion B6*
1
Waiting for conversion
Waiting for conversion
A/D conversion result B5
(8)
Stored
Trigger for
group B
Trigger for
group A
Group A
Group B
Waiting for conversion
(5)
Stored
GBADI
First A/D conversion on group B
(Group B is activated by a group B
trigger.)
A/D conversion
on group A
under group-A
priority control
Second A/D conversion on group B
(Group B is automatically activated for
rescanning.)
(4)
(9) (10)
A/D conversion A2
A/D conversion result A2
(11)
Stored
(12)
Interrupt generated
Waiting for conversion
A/D conversion
on group A
under group-A
priority control
(13)
A/D conversion B7
Third A/D conversion
on group B (Group B
is automatically
activated for
rescanning.)
Note 1. The converted data of A/D conversion B3 is ignored.