Analog-to-digital converter (ADC)
The total conversion time is calculated as follows:
T
conv
Example:
With ADCCLK = 30 MHz and sampling time = 3 cycles:
T
conv
11.6
Conversion on external trigger and trigger polarity
Conversion can be triggered by an external event (e.g. timer capture, EXTI line). If the
EXTEN[1:0] control bits (for a regular conversion) or JEXTEN[1:0] bits (for an injected
conversion) are different from "0b00", then external events are able to trigger a conversion
with the selected polarity.
and JEXTEN[1:0] values and the trigger polarity.
Table 50.
Trigger detection disabled
Detection on the rising edge
Detection on the falling edge
Detection on both the rising and falling edges
Note:
The polarity of the external trigger can be changed on the fly.
The EXTSEL[3:0] and JEXTSEL[3:0] control bits are used to select which out of 16 possible
events can trigger conversion for the regular and injected groups.
Table 51
273/1422
= Sampling time + 12 cycles
= 3 + 12 = 15 cycles = 0.5 µs with APB2 at 60 MHz
Table 50
Configuring the trigger polarity
Source
gives the possible external trigger for regular conversion.
Doc ID 018909 Rev 4
provides the correspondence between the EXTEN[1:0]
EXTEN[1:0] / JEXTEN[1:0]
00
01
10
11
RM0090
Need help?
Do you have a question about the STM32F40 Series and is the answer not in the manual?
Questions and answers