I’m trying to connect a nRF24L01+ on a ChipworkX devboard 1.5, but I have some trouble. I’m hoping to find guidance or tips on how to tackle this. Thanks in advance.
So here’s the setup (it’s a mesh network-like environment) :
- 4 sensor nodes, with nRF24s and ATTiny861 uCs, broadcasting messages at about 5 seconds each
- 1 master node with an nRF24 and an arduino board
- 1 master node with a nRF24 and a ChipworkX devboard ()
What I am trying to do is make the TX nodes talk to the ChipworkX SoM; the arduino board was just for testing.
SPI is working just fine, because I can configure and examine the nRF24 registers alright. Addresses and channels are also alright (the same on all boards, and auto-acknowledge is off, since I perform an ACK of my own), and the arduino board is picking all packets sent by the sensor nodes. There should be no range issue either, since the ChipworkX and the arduino are about 20cm from each other and the sensor nodes about 1m away.
The problem is that the nRF24 hooked up to the ChipworkX board raises RX interrupts on what appears to be a random basis, once every 15 to 45 minutes or so, even if the packets are sent over the network at a rate of about one packet every 1 second. The packets it receives are correct.
I have also tried polling the nRF24 at regular intervals, but with no success.
The carrier detect on the nRF24 (CD or RPD) goes to 1 when sensor nodes are transmitting, so I assume the module gets them, but they never make it to the RX queue, and stays on 0 when everything else but the ChipworkX module is powered, so I assume there is no interference.
Well, here it is. Hope someone can help me out, since I have run out ou ideas.
Thanks in advance.