-
Notifications
You must be signed in to change notification settings - Fork 10
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
Device not detectd #3
Comments
The problem looks like to be related in the continuous open and close of spi port for every operation. If I do not close it on Init() and modify every read/write like for example :
xfer2 works fine. Now the problem left is related to functions like lora.available() or lora.wait_packet_sent() that never exit. |
Thanks David , Constructor is now :
and if My branch is on : master...ToninoTarsi:master But not yet tested. PS. I only connected DI0 to GPIO25 |
This version (https://github.com/ToninoTarsi/pyRF95) works with my SX1276 in interrupt less mode. |
Hello!, I'll test the code ASAP and perhaps we can merge both codebases. |
Hi David ,
Maybe you can help me and address me to a solution.
I just got two Dragino Bee board : http://wiki.dragino.com/index.php?title=Lora_BEE
and I'm trying to use them with two RaspberriPI Zero. Connection is standard : SpDev0.0 interrupt GPIO25. When I try to use your library the device is not detected :
So I installed RadioHead library (from https://github.com/hallard/RadioHead) to test also with the original library :
so the SX1276 looks to be correctly detected on CS0 and TX RX works fine.
Any idea where the problem could be ?
Thanks
Tony
The text was updated successfully, but these errors were encountered: