A/D Conversion In Double Trigger Mode - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
TRG4BN event
TRG4ABN event
TRG4AN event
TRG4AN
TRG4BN
TRG4ABN
Scan end interrupt
Group B Scan end
Interrupt
Group C Scan end
Interrupt
Figure 26.13
Example of Operation in Group Scan Mode
(Basic Operation: Synchronous Triggers from MTU Used)
26.3.4.2

A/D Conversion in Double Trigger Mode

When double trigger mode is selected in group scan mode, two rounds of single scan operation started by a synchronous
trigger are performed as a sequence for group A. For groups B and C, single scan operation started by a synchronous
trigger is performed once.
In group scan mode, the synchronous triggers of groups A and B, or groups A, B, and C can be selected using the
TRSA[5:0], TRSB[5:0], and TRSC[5:0] bits in ADSTRGR, respectively. Different triggers should be used for each
group A, B, and C so that scanning of groups A, B, and C does not occur simultaneously. Software trigger and
asynchronous trigger should not be used. When the TRG4AN or TRG4BN is selected in the ADSTRGR.TRSA[5:0] bits
as the synchronous trigger of the group A, operation is in the extended double trigger mode.
The channels to be scanned are selected using bits ADCSR.DBLANS[4:0] for group A, register ADANSB0 for group B,
and register ADANSC0 for group C.
In group scan mode, the internal reference voltage A/D conversion select bit (S12AD.ADEXICR.OCSA) should be set to
0 (deselected).
When double trigger mode is selected in group scan mode, self-diagnosis cannot be selected.
Duplication of A/D conversion data is enabled by setting the channel numbers to be duplicated to the
ADCSR.DBLANS[4:0] bits and setting the ADCSR.DBLE bit to 1.
The following describes operation in group scan mode with double trigger mode using a synchronous trigger from the
MTU. The TRG4ABN, TRGA0N, and TRGA1N triggers from the MTU are assumed to be used to start conversion of
groups A, B, and C, respectively.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Timer count
(1)
Group A scanned
(3)
(5)
(2)
Group B scanned
(4)
Group C scanned
26. 12-Bit A/D Converter (S12ADF)
Time
(6)
Page 852 of 1041

Advertisement

Table of Contents
loading

Table of Contents