-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSN Pin = 0 on getting started linux #684
Comments
This is referring to CE0 (AKA GPIO8).
This could mean a lot of things. However, if
|
Just realized the getting started example's
It depends how long ago you last tried the library (there have been updates to the c'tor) We simply need more details to help you here. |
They are right that the communication was not established due to the |
Why is it so important that it say CE0 instead of 0? Part of the reason is because we need the same code to work on arduino and Linux. The other part of the reason is because there is more than 1 SPI bus on RPi (although it takes some extra work to enable a second or third SPI bus). I think CSN = CE0 is more confusing than it is concise. Even if you do manage to get
This change will not be considered for future release of the library because this library aims to support other Linux based SoC boards that are not a RPi. |
@Mbasttias I found the commit that changed the output for CSN pin's label. This was done just before release of v1.3.7. I can't endorse rolling back to v1.3.6 because you would lose the various important bugfixes in the later releases |
Output for RF24 radio(22, 0);
radio.begin();
radio.printDetails(); should say
@Mbasttias I"m closing this now. If you have a better suggestion that isn't specific to the Raspberry Pi, feel free to re-open this issue and post it here. |
hello, I just downloaded and installed the library but when I use some getting started the pin configuration is not correct and the communication is not established with another node.
the hardware configuration message is as follows
when you should dial
Besides, if I want to try any of the examples with another node anyway, the communication is not established either as sender or receiver. Previously I had used this library in another RPi and I had not given that problem. Look for several possible solutions related to the constructor RF24 radio(22, 0), , but I couldn't fix it.
The text was updated successfully, but these errors were encountered: