kangyou
Posts: 8
Joined: Sat Nov 29, 2014 2:57 am

MCP3204 sample rate confusion

Thu Jan 01, 2015 3:40 pm

Hi everybody.

Recently I'm working with MCP3204. It is declared to have 100ksamples/s speed at 5V with 12 bit resolution. So will I truly get 100k 12 bit samples per second(for the ideal case)? Or I will get 100k/12bit=8.3k samples per instead?

This is a noob question but it'll be very appreciated if anyone could give me an answer.

And Happy New Year for everyone! :D

User avatar
mikronauts
Posts: 2794
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: MCP3204 sample rate confusion

Thu Jan 01, 2015 4:38 pm

You will get (up to) 100k 12 bit samples per second, BUT that depends on getting the SPI clock rate high enough.

I seem to recall that joan has gotten ~60k samples per second.
kangyou wrote:Hi everybody.

Recently I'm working with MCP3204. It is declared to have 100ksamples/s speed at 5V with 12 bit resolution. So will I truly get 100k 12 bit samples per second(for the ideal case)? Or I will get 100k/12bit=8.3k samples per instead?

This is a noob question but it'll be very appreciated if anyone could give me an answer.

And Happy New Year for everyone! :D
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

kangyou
Posts: 8
Joined: Sat Nov 29, 2014 2:57 am

Re: MCP3204 sample rate confusion

Fri Jan 02, 2015 12:27 am

mikronauts wrote:You will get (up to) 100k 12 bit samples per second, BUT that depends on getting the SPI clock rate high enough.

I seem to recall that joan has gotten ~60k samples per second.
kangyou wrote:Hi everybody.

Recently I'm working with MCP3204. It is declared to have 100ksamples/s speed at 5V with 12 bit resolution. So will I truly get 100k 12 bit samples per second(for the ideal case)? Or I will get 100k/12bit=8.3k samples per instead?

This is a noob question but it'll be very appreciated if anyone could give me an answer.

And Happy New Year for everyone! :D
Thank you. That's great to know the "sample" mentioned here is the 12-bits one. Last night I tried to use library from http://www.airspayce.com/mikem/bcm2835/ and that worked. I can tolerate the sampling jitter somehow.

Return to “Automation, sensing and robotics”