Figure 140. Alternate Trigger: Injected Group Of Each Adc - ST STM32G4 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

RM0440
1.
When the 1st trigger occurs, all injected master ADC channels in the group are
converted.
2.
When the 2nd trigger occurs, all injected slave ADC channels in the group are
converted.
3.
And so on.
A JEOS interrupt, if enabled, is generated after all injected channels of the master ADC in
the group have been converted.
A JEOS interrupt, if enabled, is generated after all injected channels of the slave ADC in the
group have been converted.
JEOC interrupts, if enabled, can also be generated after each injected conversion.
If another external trigger occurs after all injected channels in the group have been
converted then the alternate trigger process restarts by converting the injected channels of
the master ADC in the group.
MASTER ADC
SLAVE ADC
Note:
Regular conversions can be enabled on one or all ADCs. In this case the regular
conversions are independent of each other. A regular conversion is interrupted when the
ADC has to perform an injected conversion. It is resumed when the injected conversion is
finished.
The time interval between 2 trigger events must be greater than or equal to 1 ADC clock
period. The minimum time interval between 2 trigger events that start conversions on the
same ADC is the same as in the single ADC mode.
Injected discontinuous mode enabled (JDISCEN=1 for both ADC)

Figure 140. Alternate trigger: injected group of each ADC

JEOC on
1st trigger
master ADC
2nd trigger
JEOC on
slave ADC
3rd trigger
MASTER ADC
SLAVE ADC
Sampling
Conversion
JEOC on
JEOC,JEOS on
master ADC
master ADC
JEOC on
slave ADC
JEOC on
master ADC
JEOC on
4th trigger
slave ADC
RM0440 Rev 1
Analog-to-digital converters (ADC)
JEOC, JEOS on
slave ADC
JEOC on
JEOC,JEOS on
master ADC
master ADC
JEOC on
JEOC, JEOS on
slave ADC
slave ADC
ai16059-m
635/3748
683

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF