0

I know that MCP 3008 can provide sampling rate around 100Ksps. I'm looking to connect ADC with sampling rate least 3Msps.

Ghanima
  • 15,578
  • 15
  • 58
  • 113
  • Yes, both SPI and I2C of Raspberry allow you such speed. – Eddy_Em Jan 12 '16 at 18:27
  • There is a chapter in the following free book on the Pi that describes ADC connection of various ADC components to the Pi including the ADC0832, the MCP3208, ADS1015 and Arduino. The book can be found here: https://leanpub.com/pi (Disclosure: I am the author) – Kolban Feb 12 '16 at 01:17

2 Answers2

1

If your ADC would operate with it's own memory you could operate it with RPI. Problem is not the RPI itself but the fact that you're probably not running RtOS on it.

More is explained in this post: Is Pi powerful enough for an oscilloscope project?

Bungee75
  • 121
  • 4
1

It depends on the ADC and how it stores/transmits samples.

You would need a SPI device as the I2C bus at 400 kbps simply doesn't have the bandwidth.

SPI you could drive at circa 30 Mbps.

However another limitation is in the Linux SPI driver itself. On the Pi you can only make circa 20 k calls per seconds to the SPI driver. If each call can only get one sample than you will be limited to 20 ksps, far short of the desired 3 Msps.

If you bypass the Linux SPI driver you might get 100 k calls per second, so 100 ksps if each call can only provide one sample.

joan
  • 67,803
  • 5
  • 67
  • 102