Hi,
I am trying to send a message from slave to master periodically at every received sync packet. To do so, The slave waits for the sync packet and after receiving it, it starts transmitting the data immediately (only if the previous transmit was successful or failed). It seems that by doing this, the slave waits for the next sync packet after transmission to send the message making an extra delay of a channel period. In addition, master receives the packet at the next sync packet adding an extra delay resulting in a total delay of two channel periods.
If I try sending acknowledged message, it is never received by the master at the time of transmission and it is received at the next sync packet. However, if I try sending broadcast data, I see that sometimes the message is received at the time of transmission (every other message is received).
The ANT datasheet states that after sending the sync packet, the master goes to receive mode for a short time. How long is that? After receiving the sync packet, how much time do I have to send a message so that it is received by the master quickly? I prefer using acknowledged messages but it seems that it only works sometimes with broadcast data.
Thanks for your help in advance.