Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9881 Discussions

Intel Edison Arduino breakout board ADC sampling rate slow

TLars5
Beginner
1,183 Views

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
188 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
189 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

Reply