-
Notifications
You must be signed in to change notification settings - Fork 31
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
RF24 sends data backwards! #3
Comments
This wouldn't be the root cause of my inability to make RF24 on an Arduino talk to node-nrf on a Pi, would it? Hmm... |
Could certainly be part of it. Naturally, you'll also need to make sure the channel/CRC/ack/etc. settings all match too. I've been able to RX on the Tessel from an Arduino broadcasting (I turned auto-ack off to passively listen, since another device was sending those packets already) with mostly just a simple data reverse: Line 14 in 7cf824c
|
ugh. Yeah. Such an option would really be nice. Also: all the addresses are reversed to (which caused my issues...). |
Sure, would appreciate it! It should probably be an additional option on Odd the addresses are reversed, I thought I'd tackled that one already but maybe not tested enough. Thanks for the followup (and patience)! |
What is the status of this fix? It looks like there was some activity 18 months ago but never made it into the master. Is this project still being maintained? Is there something we (the fans of this project) can do to assist? I see there are also some old pull requests outstanding ... are these going to be addressed? |
Well, I guess it's debatable but in short the datasheet for the nRF24L01+ says that data should be clocked over the SPI bus LSByte first. However this is not what RF24 does!
For RF24.cpp↔︎RF24.cpp communication, this isn't a problem since it's read back in the same order too. But because of that right now users of our code will get everything "in reverse" when talking to an e.g. Arduino :-/
Probably best to just add a special option to openPipe to handle this automatically for the user, otherwise this will be a major compatibility annoyance!
The text was updated successfully, but these errors were encountered: