Hello!
How to use the ADC with a certain sample rate? Which sample rate is max? Where I can see any examples?
Thanks!
Hello!
How to use the ADC with a certain sample rate? Which sample rate is max? Where I can see any examples?
Thanks!
Hello,
The max sample rate is given by the conversion time for your ADC configuration. You can find these conversion times in the product specification, chapter 8.11.
Example: 10 bit conversion takes 68 us. This gives a max sampling rate of 1/68us = 14.7 kHz.
I am attaching a small ADC-example that a colleague of mine made.
Thanks for the quick response.
Shall I use the timer to obtain any fixed sample rate?
Yes, that is recommended.