2022-09-08 01:23 AM
My question is how to set the sample rate exactly? I know that I have to set it via the CTR register and there via the values INPCMP and INPSAMP. I also know where to set the values in the LLD-Config. However, I do not understand which change of the values causes what exactly, so how the sample rate is then calculated.
I have already calculated the data from the data sheet with my values but I always come to other values as they are in the Config.
Can someone help me here or give an example for a specific sample rate (eg 10kHz)?
Thanks a lot
Solved! Go to Solution.
2022-09-12 08:49 AM
Hello,
I recommend you to read the chapter "ADC sampling and conversion timing" in Reference Manual about the CTR0 fields to control ADC timings.
Best regards.
2022-09-12 08:49 AM
Hello,
I recommend you to read the chapter "ADC sampling and conversion timing" in Reference Manual about the CTR0 fields to control ADC timings.
Best regards.