Electronic Components Datasheet Search
  English  ▼

X  

AN4073 Datasheet(PDF) 17 Page - STMicroelectronics

Part # AN4073
Description  How to improve ADC accuracy when using STM32F2xx and STM32F4xx microcontrollers
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4073 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button AN4073 Datasheet HTML 13Page - STMicroelectronics AN4073 Datasheet HTML 14Page - STMicroelectronics AN4073 Datasheet HTML 15Page - STMicroelectronics AN4073 Datasheet HTML 16Page - STMicroelectronics AN4073 Datasheet HTML 17Page - STMicroelectronics AN4073 Datasheet HTML 18Page - STMicroelectronics AN4073 Datasheet HTML 19Page - STMicroelectronics AN4073 Datasheet HTML 20Page - STMicroelectronics AN4073 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 32 page
background image
DocID022945 Rev 5
17/32
AN4073
STM32F2 and STM32F4 practical measurements
31
Note:
These timing measurements are considered based on the optimum ART configuration:
(Data+Instruction) cache ON, Prefetch OFF, which results in the best ADC noise immunity.
In other ART configurations, these measurements could result in a difference of a few
cycles.
Note:
Please note that the time required to get N samples = N * (tSAMPLING + tCONVERSION)
3.4
Measurement conclusion
Following the previous results, we can conclude that, in order to obtain the most accurate
conversion results when using the STM32F2/F405/F415/F407/F417 ADC, care must be
taken to configure the ART Flash memory accelerator accordingly. This configuration must
be (Data+Instruction) ON and prefetch OFF to achieve the best accuracy by limiting the
internal noise generated by the Flash.
This section shows how you can choose the best trade-off between A/D conversion
accuracy and the required A/D conversion speed.
For example, the measurements given above demonstrate that, with a 12-bit ADC
resolution, +- 5 LSB can be achieved using an averaging by 4 algorithm (0.6 Msps) when
the ART Flash memory accelerator is configured with (Data+Instruction) ON and prefetch
OFF.
Table 5. Time needed to compute averaging
Computation
time
Averaging by 4 (1)
1. Computation = time taken to add the N samples and divide them by N.
Averaging by 6 (1) Averaging by 8 (1)
Averaging by 8,
delete 4 (2)
2. Computation = time taken to sort the 8 ADC samples, delete the 4 dispersed ones, add the other 4
samples and divide them by 4. This result depends on the sorting algorithm (in this case, the sorting
algorithm is based on successive permutation, which is not optimized for speed).
CPU cycles(3)
3. CPU frequency is 144 MHz, as described in Section 3.1.1.
18
26
36
517



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com