Hello what SPI Driver does the Red Pitaya use and what is the compatible string? In fact, how may I find the list of devices used by the Red Pitaya?
Regards!
What is the compatible string for the SPI driver
-
- Posts: 1
- Joined: Thu Jul 06, 2017 4:50 pm
-
- Posts: 7
- Joined: Thu Jan 07, 2016 10:39 am
Re: What is the compatible string for the SPI driver
Can you explain a bit what you are searching for?
Userspace access to SPI is provided using character driver https://github.com/RedPitaya/linux-xlnx ... i/spidev.c available at /dev/spidev1.0
One example to use it is at https://github.com/RedPitaya/RedPitaya/ ... /spi/spi.c
As a reference I generally prefer https://github.com/RedPitaya/linux-xlnx ... dev_test.c, for hardware testing you can actually use this application straight from bash.
List of all devices used by kernel is inside devicetree. Simplest way to search it is in /opt/redpitaya/dtraw.dts or just cating stuff from /proc/device-tree, since that represent current state of devicetree.
Cheers,
Uroš
Userspace access to SPI is provided using character driver https://github.com/RedPitaya/linux-xlnx ... i/spidev.c available at /dev/spidev1.0
One example to use it is at https://github.com/RedPitaya/RedPitaya/ ... /spi/spi.c
As a reference I generally prefer https://github.com/RedPitaya/linux-xlnx ... dev_test.c, for hardware testing you can actually use this application straight from bash.
List of all devices used by kernel is inside devicetree. Simplest way to search it is in /opt/redpitaya/dtraw.dts or just cating stuff from /proc/device-tree, since that represent current state of devicetree.
Cheers,
Uroš
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: Bing [Bot] and 33 guests