This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ADC sampling rate with oversampling issue

Hi,

I am using the nRF52840 to sample some channel.

I am using the nRF5SDK160098a08e2 for that and based on the saadc example.

These are the results for my tests.:

  1. 4000sps with 64 oversampling, I got sampling rate of 1370Sps, not expecting to get 4000Sps cause 4000*64 > 200K
  2. 3000sps with 64 oversampling, I got sampling rate of 1015Sps, need to fix this one
  3. 2000sps with 64 oversampling, I got sampling rate of 1015Sps, need to fix this one
  4. 4000sps with 32oversampling, I got sampling rate of  2028Sps, need to fix this one
  5. 3000sps with 32 oversampling, I got sampling rate of 1522Sps, need to fix this one
  6. 2000sps with 32 oversampling, I got sampling rate of 2008Sps
  7. 4000sps with 16oversampling, I got sampling rate of  4000Sps
  8. 3000sps with 16 oversampling, I got sampling rate of 3003Sps
  9. 2000sps with 16 oversamplingadc, I got sampling rate of 2001Sps
  10. 4000sps with 8 oversampling, I got sampling rate of   4000Sps
  11. 3000sps with 8 oversampling, I got sampling rate of   3000Sps
  12. 2000sps with 8 oversampling, I got sampling rate of   2000Sps

The problem is that the sampling rate from test number 2 to test number 5 is not as expected!

How can I fix this please?

Best Regards

JK

Parents Reply Children
No Data
Related