Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TLars5
Beginner
1,086 Views

Intel Edison Arduino breakout board ADC sampling rate slow

Jump to solution

Intel Edison Arduino breakout board ADC sampling rate is stated in the "Intel® Edison Kit for Arduino Hardware Guide (February 2015,Revision 007)"

subsection 3.3 (attached):

"The analog inputs are fed to an ADS7951 A/D converter. This device has the following features:

• 20 MHz clock rate

• 12-bit A/D conversion

• 1 MHz sample rate..."

I am using the Edison Atom Eclipse, programming in C++ using the mraa library and cannot achieve a sampling rate higher than about 10 kHz.

How can the information in the Intel Edison Arduino breakout board hardware manual be realized?

Or is the information given wrong or ambigous? (Like: "The ADC can sample at 1 MHz but the SPI-bus can't transfer at that rate")

Tomas

1 Solution
Carlos_M_Intel
Employee
91 Views

Hi Tomas,

I checked the document you have posted and I looked for more information in order to find if someone else has done more tests with this and if someone has been able to use a higher sample rate.

I found the following:

The http://www.ti.com/product/ADS7951 ADC has a 20 MHz clock rate and the Sample Rate of it is 1MSPS. There are other threads where you can find more discussions related to this:

This one has very useful information: :

...the ADS7951 can be connected to 1Mhz SPI to sample and transfer data at 1 MHz. Edison SPI linux driver in the current release that is used by Arduino for Edison can only reach 2.9KHz. Intel made the SPI driver source code available through the BSP for the users to make changes and customize the SPI driver to fits their needs.

Regards,

Charlie

View solution in original post

1 Reply
Carlos_M_Intel
Employee
92 Views

Hi Tomas,

I checked the document you have posted and I looked for more information in order to find if someone else has done more tests with this and if someone has been able to use a higher sample rate.

I found the following:

The http://www.ti.com/product/ADS7951 ADC has a 20 MHz clock rate and the Sample Rate of it is 1MSPS. There are other threads where you can find more discussions related to this:

This one has very useful information: :

...the ADS7951 can be connected to 1Mhz SPI to sample and transfer data at 1 MHz. Edison SPI linux driver in the current release that is used by Arduino for Edison can only reach 2.9KHz. Intel made the SPI driver source code available through the BSP for the users to make changes and customize the SPI driver to fits their needs.

Regards,

Charlie

View solution in original post

Reply