09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Analog-to-digital converter (ADC) <strong>RM0090</strong><br />

A JEOC interrupt, if enabled, is generated after all injected ADC2 channels in the group<br />

have been converted.<br />

If another external trigger occurs after all injected channels in the group have been<br />

converted then the alternate trigger process restarts by converting the injected ADC1<br />

channels in the group.<br />

Figure 48. Alternate trigger: injected group of each ADC<br />

ADC1<br />

ADC2<br />

If the injected discontinuous mode is enabled for both ADC1 and ADC2:<br />

● When the 1st trigger occurs, the first injected ADC1 channel is converted.<br />

● When the 2nd trigger occurs, the first injected ADC2 channel are converted<br />

● and so on<br />

A JEOC interrupt, if enabled, is generated after all injected ADC1 channels in the group<br />

have been converted.<br />

A JEOC interrupt, if enabled, is generated after all injected ADC2 channels in the group<br />

have been converted.<br />

If another external trigger occurs after all injected channels in the group have been<br />

converted then the alternate trigger process restarts.<br />

Figure 49. Alternate trigger: 4 injected channels (each ADC) in discontinuous mode<br />

1st trigger<br />

ADC1<br />

ADC2<br />

1st trigger<br />

2nd trigger<br />

2nd trigger<br />

EOC, JEOC<br />

on ADC1<br />

3rd trigger<br />

Triple ADC mode<br />

3rd trigger<br />

EOC, JEOC<br />

on ADC2<br />

4th trigger<br />

4th trigger<br />

5th trigger<br />

EOC, JEOC<br />

on ADC1<br />

6th trigger<br />

EOC, JEOC<br />

on ADC2<br />

● When the 1st trigger occurs, all injected ADC1 channels in the group are converted.<br />

● When the 2nd trigger occurs, all injected ADC2 channels in the group are converted.<br />

● When the 3rd trigger occurs, all injected ADC3 channels in the group are converted.<br />

● and so on<br />

283/1416 Doc ID 018909 Rev 3<br />

. . .<br />

7th trigger<br />

(n)th trigger<br />

(n+1)th trigger<br />

JEOC on ADC1<br />

8th trigger<br />

JEOC on ADC2<br />

Sampling<br />

Conversion<br />

Sampling<br />

Conversion<br />

ai16060<br />

ai16059

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!