R01UH0823EJ0100 Rev.1.00
Page 1593 of 1823
Jul 31, 2019
RX23W Group
44. 12-Bit A/D Converter (S12ADE)
44.3.4.3
Operation under Group-A Priority Control
Setting the PGS bit in the A/D group scan priority control register (ADGSPCR) to 1 in group scan mode makes operation
proceed under group-A priority control. When setting the PGS bit in the ADGSPCR register to 1, follow the procedure
described in
. If the procedure is not followed, A/D conversion operation and stored data are not
guaranteed.
In operation in basic group scan mode, input of the trigger for the other group during operation for A/D conversion in
group A or group B is ignored. Under group-A priority control, if a group-A trigger is input during A/D conversion for
group B, A/D conversion for group B is discontinued and A/D conversion for group A proceeds. If the setting of the
ADGSPCR.GBRSCN bit is 0, the converter enters a wait state on completion of the A/D conversion for group A. If the
setting of the ADGSPCR.GBRSCN bit is 1, the converter automatically restarts scanning for group B from the head of
the group after completion of the A/D conversion for group A.
summarizes operations in response to the
input of a trigger during A/D conversion with the settings of the ADGSPCR.GBRSCN bit.
Scan operations in group A or group B are the same in single scan mode. Furthermore, single scanning continues to
proceed if the ADGSPCR.GBRP bit is set to 1 during scanning operations for group B.
For the trigger settings in group scan mode, select a synchronous trigger for group A using the ADSTRGR.TRSA[5:0]
bits and select a synchronous trigger different from that of group A for group B using the ADSTRGR.TRSB[5:0] bits.
Set the ADSTRGR.TRSB[5:0] bits to 3Fh when setting the ADGSPCR.GBRP bit to 1. Furthermore, as targets for A/D
conversion, select channels for group A using the ADANSA0 and ADANSA1 registers, and for group B, select channels
different from those for group A using the ADANSB0 and ADANSB1 registers.