Community
cancel
Showing results for 
Search instead for 
Did you mean: 
HZhan42
Novice
1,364 Views

about spi initial ads7951

Jump to solution

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
107 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
107 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
108 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

sk23
New Contributor II
107 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