The ADC module PmodAD1 I am currently using with 1M sampling rate and 12bit resolution I use spidev as a library to connect to ADC But it seems that he can only sample up to a sampling rate of 20KSPS I want a sample rate of at least 384Ksps

Is there a way to achieve my desired sampling rate other than using DMA?

Because it needs to cooperate with other software, that software is compiled using python So hope to be able to achieve 384Ksps without using c

  • Not sure exactly what you need or what resources you have available to you. Take a look at the PIC24F family of processors and use it as a peripheral chip. They appear do do what you want. Use it as a A/D converter, it has fifo buffering 32 deep, and with some coding you could save the results in the internal ram as well and read the results as fast as you want.
    – Gil
    May 20 at 5:13
  • I want to do it as much as possible without external hardware Is there any way to use bcm2835 to control GPIO, or to modify spidev.so to improve my ADC sampling speed May 20 at 5:36
  • Sorry I am not familiar with that Broadcom chip.
    – Gil
    May 20 at 15:25
  • Ok still thank you very much for your answer May 21 at 5:43


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.