nRFBox icon indicating copy to clipboard operation
nRFBox copied to clipboard

spi communication problem

Open CtlAltDel6 opened this issue 1 year ago • 5 comments

Breadboard build only works with a single radio attatched to the spi channel. Built with nodemcu wroom32 and using nrf24l01 + modules and breakout boards. I have only a single channel scope so I am unable to watch both ce and csn lines to confirm signal timing and transmition from multiple radios concurrently. Have confirmed spi coms as the issue by running diodes to spi on second and third radios. With that setup I get three radios active in multi jaming and a reliable signal in scanner and analyzer from radio 1, but of course no mesurable signal from radio 2 or 3. I have tried 2 different proto board variations hoping that my jumper wires were at fault but both have failed.

CtlAltDel6 avatar Sep 14 '24 16:09 CtlAltDel6

Hello. I have the same story, but I don't understand it. Can you post a photo of how you did it?

opskrip avatar Sep 16 '24 20:09 opskrip

20240916_165907 I connected radio 1 straight to the spi bus pins and used three high speed switching diodes to connect both radio 2 and 3 together to the spi pins. This allows for the prepare radio logic to run and returns active on multi ble jammer. However I do not see any measurable effect in signal streangth as tested so far and from reading the code I need to dig into the rf24 library to see what the communication is supposed to look like and then maybe i can debug with a bus pirate. This may take a few weeks, i really wish i would have splurged on a multi channel oscilloscope. 20240916_165108

20240916_165129

CtlAltDel6 avatar Sep 16 '24 23:09 CtlAltDel6

20240916_171357 Both prototype builds fail in the same way

CtlAltDel6 avatar Sep 16 '24 23:09 CtlAltDel6

Thank you very much. I'm new to arduino, so I'm learning how to code through third-party projects. Have a nice day

opskrip avatar Sep 17 '24 04:09 opskrip

Hi @CtlAltDel6 as I tested the project with 3 nRF24, your problem might be a power issue, but the SPI communication is always on the table, I will try to test to see if I can find the problem. If both prototypes fail in the same way, there might be something wrong with my code, but I will try to test it again.

By the way, that's a really impressive prototype.

cifertech avatar Sep 20 '24 09:09 cifertech

20241229_124956 20241229_125027 Fixed in last update, rushed a messy case. 8.2" long, 3.6" wide, 1.2" depth including antenna. Thank you for all your hard work Cifertech

CtlAltDel6 avatar Dec 29 '24 19:12 CtlAltDel6

Closed, fully functional coms after update

CtlAltDel6 avatar Dec 29 '24 19:12 CtlAltDel6