Comments (5)
Hi salmg,
I didn't tried to change the SPI channel, but this CC1101 library uses wiringPi for the raspberryPi SPI communication. Please check the SPI documentation here: http://wiringpi.com/reference/spi-library/
Please modify the following functions to SPI channel 1 in the cc1100_raspi.cpp file:
- wiringPiSPISetup (0, ...) -> wiringPiSPISetup (1, ...)
- wiringPiSPIDataRW (0,...) -> wiringPiSPIDataRW (1,...)
I did not tested it, but please try it.
from cc1101.
Hello,
I tried different things but none worked.
So I decided to try the second SPI device as slave with this configuracion:
It is working now with two projects sharing the same SPI0. Thanks.
from cc1101.
Yes, this is the simplest solution if your speed requirements for two devices are ok.
from cc1101.
that's true! do you have an email where I can contact you?
from cc1101.
from cc1101.
Related Issues (20)
- Will the TX_Demo and RX_Demo work on one raspberry pi at the same time? HOT 2
- Using CC1101 to Sniff 433Mhz for RF controls and sensors on Raspberry
- Tx is working, however Rx does not register any received signal. Antennas confirmed working.
- Noob problems HOT 6
- TX-only without addressing HOT 1
- Some question for porting to ESPxx HOT 1
- send txbuffer
- Message blocking
- Please Add a License HOT 1
- CC1101 detected, but demo transmit fails HOT 3
- Should the first byte of tx buffer be length byte ?
- Usability for USB (UART silabs cp210x) connected CC1101 HOT 2
- Arduino. TX. Hang in receive() -> sidle() after initialization.
- Use function
- Receive raw data for replay HOT 1
- Problems with Raspbian Bullseye HOT 4
- Issue with interfacing HOT 1
- Sending data from RPI to Arduino HOT 1
- No output after 'Init CC1100...' (Arduino) HOT 5
- RX_Demo using 315Mhz ASK/OOK door bell as a test
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 cc1101.