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

about spi initial ads7951

HZhan42
Novice
1,474 Views

hello everyone ! I want to konw where I can see the code about edison how to initial the ads7951 use by spi2 ?

1 Solution
Diego_V_Intel
Employee
217 Views

Hello highmore,

The ADS7951 is connected to SPI and it uses the device spi5.0 to access the data: /sys/bus/spi/drivers/ads7955/spi5.0

The device above is a symbolic link to /sys/devices/pci0000:00/0000:00:07.1/spi_master/spi5/spi5.0

The initialization of the ADS7951 is the initialization of the SPI, and it can be found in the source code of the SPI driver:

/edison-src/build/tmp/work/core2-32-poky-linux/linux-libc-headers/3.14-r0/linux-3.14/drivers/spi/spi.c

Regards,

Diego.

View solution in original post

3 Replies
Diego_V_Intel
Employee
217 Views

Hello highmore,

I'm currently looking into this. I'll let you know once I find additional information.

Regards,

Diego.

Diego_V_Intel
Employee
218 Views

Hello highmore,

The ADS7951 is connected to SPI and it uses the device spi5.0 to access the data: /sys/bus/spi/drivers/ads7955/spi5.0

The device above is a symbolic link to /sys/devices/pci0000:00/0000:00:07.1/spi_master/spi5/spi5.0

The initialization of the ADS7951 is the initialization of the SPI, and it can be found in the source code of the SPI driver:

/edison-src/build/tmp/work/core2-32-poky-linux/linux-libc-headers/3.14-r0/linux-3.14/drivers/spi/spi.c

Regards,

Diego.

sk23
New Contributor II
217 Views

Hi Diego ,

I want use ADS7951 SPI Analog to digital (ADC) driver for Edison.( custom hard ware) .SPI is connection is same as Arduino Expansion board.

could you please suggest the processor.

Reply