I’m new to XBee modules. I have a S2C ZigBee module in transparent mode configured as router. It is connected to Arduino and sends a 30-byte data package every 100ms. The coordinator is in API mode.
In the beginning, everything is fine, one RX frame contains one package. But after a while, I start to see a few packages stuffed into one frame, sometimes there are bytes missing too. Power cycling the router makes the system working normally, but the same problem will arise again later.
Hi mvut, if I have a second transmitter with the same configuration. This issue happens more frequently. Does it mean the transmitter RF transmission speed is not fast enough to send out data from Arduino? Or the coordinator is not able to handle the incoming data packages?
I don’t think anyone can answer that one yet. What is your DL and DH set to on your router? How many hops are there between the router and the Coordinator?
Just from router to coordinator. I don’t have hardware flow control, I don’t send a large amount of data, I assume the module should be able to handle it directly.
I’m using Digi XBee Grove Development Board and XCTU to simulate data. I could see CTS indicator in XCTU console flashing sometimes. Does it mean hardware flow control is on?
That has to be handled within your applications. Try using a ACK Retry function in your code. That is, don’t send the next packet till you get an ACK back from the first.