-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Having issues with ACK not working correctly? Please see common issues.
Describe the bug
A clear and concise description of what the bug is.
The scanner example compiles and runs on the RPi fine, but the output is 0 with random rare 1. The scanner program for the arduino runs as expected.
Please include:
- Code to reproduce: current library using example in rf24libs/RF24/examples_linux/extra
- Expected behaviour: like that of the Arduino code
- What device(es) are you using? Please specify make and model. Arduino Nano, RPi 3B+
Additional context
Add any other context about the problem here.
The process to test is
- download libraries
2.in a terminal, move to folder - make
- sudo ./scanner
I use scanner to ensure my wiring is correct. When I got a bad result:
- I found a loopback test to check MISO and MOSI. This was showed they were wired correctly.
- I used pigs to bit-bang the other pins (SCLK, CE, CSN) and power was present.
- I swapped in three different nRF24's that worked on the Nano's
The hardware was good.
I ran GettingStarted on two Nano's with success
In a similar fashion to how I tried to run scanner, I ran GettingStarted on the RPi3b+ and one Nano with success.
From this I conclude that there is a problem with scanner.
Scanner is not important other than to confirm that the wiring is correct. An unsophisticated diagnostic program that does this function would be OK, read and write a register?
This is low priority