09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Dual ADC mode<br />

At the end of conversion event on ADC1 or ADC2:<br />

● A 32-bit DMA transfer request is generated (if DMA[1:0] bits in the ADC_CCR register<br />

are equal to 0b10). This request transfers the ADC2 converted data stored in the upper<br />

half-word of the ADC_CDR 32-bit register to the SRAM and then the ADC1 converted<br />

data stored in the lower half-word of ADC_CCR to the SRAM.<br />

● An EOC interrupt is generated (if enabled on one of the two ADC interfaces) when the<br />

ADC1/ADC2’s regular channels have all been converted.<br />

Figure 44. Regular simultaneous mode on 16 channels: dual ADC mode<br />

ADC1<br />

ADC2<br />

Triple ADC mode<br />

CH0 CH1 CH2 CH3<br />

CH15 CH14 CH13 CH12<br />

Trigger End of conversion on ADC1 and ADC2<br />

Sampling<br />

Conversion<br />

CH15<br />

CH0<br />

At the end of conversion event on ADC1, ADC2 or ADC3:<br />

● Three 32-bit DMA transfer requests are generated (if DMA[1:0] bits in the ADC_CCR<br />

register are equal to 0b01). Three transfers then take place from the ADC_CDR 32-bit<br />

register to SRAM: first the ADC1 converted data, then the ADC2 converted data and<br />

finally the ADC3 converted data. The process is repeated for each new three<br />

conversions.<br />

● An EOC interrupt is generated (if enabled on one of the three ADC interfaces) when the<br />

ADC1/ADC2/ADC3’s regular channels are have all been converted.<br />

Figure 45. Regular simultaneous mode on 16 channels: triple ADC mode<br />

ADC1 CH0 CH1 CH2 CH3 ... CH15<br />

ADC2 CH15 CH14 CH13 CH12 ... CH0<br />

ADC3 CH10 CH12 CH8 CH5 ...<br />

CH2<br />

...<br />

...<br />

ai16054<br />

Trigger End of conversion on ADC1, ADC2 and ADC3<br />

Sampling<br />

Conversion<br />

ai16055<br />

Doc ID 018909 Rev 3 280/1416

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

Saved successfully!

Ooh no, something went wrong!