Skip to main content
Daniel Collado
Associate II
August 1, 2018
Question

How can I increase the ADC sampling frequency up to 2 MHZ?

  • August 1, 2018
  • 4 replies
  • 1104 views

I have only been able to increase it up to 600 KHz. I have studied the speed the ADC peripheral should have and should be even higher, it can be set at up to 84 MHz, with a prescaler of 2 and 6 bits of conversion should be 9 cycle clocks, resulting this on 4 MHz, but it is still acquiring at 600 KHz. What can be wrong?

This topic has been closed for replies.

4 replies

waclawek.jan
Super User
August 1, 2018

Using DMA?

JW

Daniel Collado
Associate II
August 1, 2018

No, without DMA, getting the data directly from the register.

waclawek.jan
Super User
August 1, 2018

Then maybe that "getting data directly from register" is the limiting factor.

JW

henry.dick
Associate II
August 1, 2018

You may be talking about a few things. While you can drive the adc with a high speed clock, it takes more than one clock cycle to sample and convert the analog signal.

All of that is spelled out in the datasheet.