This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RF4CE: optimize power consumption and latency

Hello,

 

I'm trying to optimize  power consumption and latency on a remote with RemoteTI 1.1.

 

I'm sending sensor data at 100Hz but sending take too much time and I lose some data.

I have disabled acknowledge when calling RTI_SendDataReq, but time between RTI_SendDataReq and RTI_SendDataCnf is longer without acknowledge rather with.

 

How can I reduce RTI_SendDataReq latency?

 

Thanks

  • Hey Thomas,

    you're probably sending multi-channel, this is why probably ACK takes shorter than UN-ACK.

    RTI_SendDataCnf is called when MAC/NWK layers have finished his duty of sending the data: in UN-ACK mode multichannel mode this happens after the packet is sent once on all 3 channels (should around 10-12 msec) systematically, while in ACK mode, even though we wait for the ACK, it can be shorter as the MAC returns a CNF as soon as the ACK is gotten, which may be from 4-5 msecs up to 1 sec but this last happens in very noisy environments.

    Hence probably you get ACK around 6-8 msecs on average while UN-ACK 10-12 msecs systematically, this is why it seems UNACK takes longer than ACK.

    Please set the TX options to SINGLE CHANNEL and you'd save the time MAC waits for ACK (864 usecs) at least.

    Ideally, to cope with freq agility and low latency, the best way to utilize the RF4CE pipe is to combine ACK and UNACK mode

    Please tell me if that is sufficient for you and if that helps. 

    Thanks,

    TheDarkSide