I am using an XBee in API mode, in a timing critical application. I have noticed that when using the XBee as a serial replacement, the transfer occurs almost instantly, however when I transmit an API frame of 2 bytes, the transfer takes about 1/4 to 1/2 a second.
Is this due to the way that the API mode works, or is this a limitation of my microcontroller? Also, in API mode is there any way of boosting the speed (possibly by increasing the baud rate or disabling ACKs)?
Hmm, you mean TX/sending 2 bytes of ‘RF data’ with an frame 0x10 or 0x11? So 1 byte or 3 bytes is faster?
I have no trouble sending a dozen frames a second (but I use ZigBee or DigiMesh), and I know of customers expecting a 50msec latency with 802.15.4 (note: Zigbee won’t support this! but this is 802.15.4/S1 forum, not ZigBee forum).
You are using direct transmission, correct?
The TX options include disabling the ACK.
I have never seriously used 802.15.4, but perhaps either 0x10 or 0x11 is faster?