Channel-Wise Programmable Sampling Time; Figure 36. Right Alignment Of 12-Bit Data; Figure 37. Left Alignment Of 12-Bit Data; Figure 38. Left Alignment Of 6-Bit Data - ST STM32F410 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0401
Special case: when left-aligned, the data are aligned on a half-word basis except when the
resolution is set to 6-bit. in that case, the data are aligned on a byte basis as shown in
Figure
38.
11.5

Channel-wise programmable sampling time

The ADC samples the input voltage for a number of ADCCLK cycles that can be modified
using the SMP[2:0] bits in the ADC_SMPR1 and ADC_SMPR2 registers. Each channel can
be sampled with a different sampling time.
The total conversion time is calculated as follows:
T
conv
Example:
With ADCCLK = 30 MHz and sampling time = 3 cycles:
T
conv

Figure 36. Right alignment of 12-bit data

Figure 37. Left alignment of 12-bit data

Figure 38. Left alignment of 6-bit data

= Sampling time + 12 cycles
= 3 + 12 = 15 cycles = 0.5 µs with APB2 at 60 MHz
RM0401 Rev 3
Analog-to-digital converter (ADC)
223/771
242

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF