Comments (5)
Yes, SPI and I2C are enabled.
from red-pitaya-notes.
Pavel - Thank you for your quick reply! Much appreciated. A few more questions:
-
Where is SPI configured in the kernel ?
-
Are there any links to some quick SPI or I2C tests (in C/C++)? For instance is this example applicable - http://redpitaya.com/examples-new/spi/ ?
Regards!
from red-pitaya-notes.
Where is SPI configured in the kernel ?
https://github.com/pavel-demin/red-pitaya-notes/blob/master/patches/linux-xlnx-xilinx-v2016.1.patch#L74
https://github.com/pavel-demin/red-pitaya-notes/blob/master/patches/devicetree.patch#L58
Are there any links to some quick SPI or I2C tests (in C/C++)?
SPI:
http://redpitaya.com/examples-new/spi/
http://armbedded.eu/node/318
I2C:
http://redpitaya.com/examples-new/i2c/
https://github.com/pavel-demin/red-pitaya-notes/blob/master/projects/sdr_transceiver_hpsdr/server/sdr-transceiver-hpsdr.c
For instance is this example applicable - http://redpitaya.com/examples-new/spi/ ?
I think that this example should work after replacing spidev1.0
with spidev2.0
.
from red-pitaya-notes.
Thank you! This was very helpful and it looks like I can now open and write to the device. I am still looking into the various SPI MODE settings ... I am trying to do loopback test. I will read the documentation and play around with things.
Regards!
from red-pitaya-notes.
I connected the MOSI pin to the MISO pin and ran the test and saw the bytes come out. Everything is working.
from red-pitaya-notes.
Related Issues (20)
- Question about fir for 122.88 hpsdr receiver with 7010 FPGA (TRX-DUO) HOT 5
- The MCPHA.exe could not establish connection to the IP address HOT 2
- EDIMAX EW-7811UN V.1 still supported? HOT 2
- TREADY issue in axis_selector.v HOT 2
- mcpha: description in projects/mcpha/app/index.html still refers to old (tcl/tk) version HOT 2
- Issue with Python Interface "mcpha.py". HOT 1
- Measure Level Issue and Enhancement request HOT 3
- Memory specification in the block design HOT 2
- Minimal project with fpga-server -client structure with hub interface, a ADC interface, and a DAC interface HOT 3
- Hotspot mode not working HOT 2
- Issue with Redpitaya working using GNU Radio HOT 7
- Issue with Packet Transmission using Redpitaya and GNU Radio HOT 2
- Does old Vivado editon supported? HOT 4
- Implementation of OpenHPSDR protocol 2 in application "SDR Tranceiver HPSDR" HOT 1
- Bitstream Compilation Error for 122_88 projects. HOT 6
- Ethernet Connectivity Issues with Red Pitaya Boards HOT 1
- RedPitaya / TRX-DUO ip config HOT 4
- Build break due to apk-tools missing HOT 2
- Multichannel analyser HOT 7
- Question about exp_n_tri_io and exp_p_trio_io_io HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from red-pitaya-notes.