29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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.

RM0008<br />

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

Table 64.<br />

External trigger for regular channels for ADC3<br />

Source Connection type EXTSEL[2:0]<br />

TIM3_CC1 event<br />

000<br />

TIM2_CC3 event 001<br />

TIM1_CC3 event 010<br />

TIM8_CC1 event<br />

Internal signal from on-chip<br />

timers<br />

011<br />

TIM8_TRGO event 100<br />

TIM5_CC1 event 101<br />

TIM5_CC3 event 110<br />

SWSTART Software control bit 111<br />

Table 65.<br />

External trigger for injected channels for ADC3<br />

Source Connection type JEXTSEL[2:0]<br />

TIM1_TRGO event<br />

000<br />

TIM1_CC4 event 001<br />

TIM4_CC3 event 010<br />

TIM8_CC2 event<br />

Internal signal from on-chip<br />

timers<br />

011<br />

TIM8_CC4 event 100<br />

TIM5_TRGO event 101<br />

TIM5_CC4 event 110<br />

JSWSTART Software control bit 111<br />

The software source trigger events can be generated by setting a bit in a register<br />

(SWSTART <strong>and</strong> JSWSTART in ADC_CR2).<br />

A regular group conversion can be interrupted by an injected trigger.<br />

11.8 DMA request<br />

Note:<br />

Since converted regular channels value are stored in a unique data register, it is necessary<br />

to use DMA for conversion of more than one regular channel. This avoids the loss of data<br />

already stored in the ADC_DR register.<br />

Only the end of conversion of a regular channel generates a DMA request, which allows the<br />

transfer of its converted data from the ADC_DR register to the destination location selected<br />

by the user.<br />

Only ADC1 <strong>and</strong> ADC3 have this DMA capability. ADC2-converted data can be transferred in<br />

dual ADC mode using DMA thanks to master ADC1.<br />

Doc ID 13902 Rev 9 209/995

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

Saved successfully!

Ooh no, something went wrong!