- Tue Jul 24, 2007 12:19 am
#32879
Hi all,
I succeeded in designing a driver to send a packet with nRF24L01. Now I want to do a higher layer protocol to send packets bigger than 32 bytes, and for this I need to split them into 32-byte chunks. I have at most 4 chunks per big packet.
Now, my problem is that if I push packets in TX FIFO until it is full, and then after one packet is transmitted, I push the last one, at the receiver side I get all times only 3 packets. If I push the packets in turn, one by one, after DS interrupt, sometimes I get 4 packets at the receiver, sometimes 3 packets. I am not using auto-ack and retransmission, and this would probably solve the problem, but this is a particular case of the protocol, when I can't enable this: I'm sending broadcast packets, so I cannot wait for ACK.
Does anyone of you have an idea about this problem, or tried doing something similar and succeeded ? Thank you in advance for your help !
I succeeded in designing a driver to send a packet with nRF24L01. Now I want to do a higher layer protocol to send packets bigger than 32 bytes, and for this I need to split them into 32-byte chunks. I have at most 4 chunks per big packet.
Now, my problem is that if I push packets in TX FIFO until it is full, and then after one packet is transmitted, I push the last one, at the receiver side I get all times only 3 packets. If I push the packets in turn, one by one, after DS interrupt, sometimes I get 4 packets at the receiver, sometimes 3 packets. I am not using auto-ack and retransmission, and this would probably solve the problem, but this is a particular case of the protocol, when I can't enable this: I'm sending broadcast packets, so I cannot wait for ACK.
Does anyone of you have an idea about this problem, or tried doing something similar and succeeded ? Thank you in advance for your help !
Lucian