Hi, I am trying to measure the latency of CC1350 when sending a 1 kByte of userdata over Sub-1 Ghz Rx & Tx.
I have two CC1350 Launchpads and I am thinking of sending a few packets of data, put an interrupt when the first packet is sent from Tx so that a timer starts counting (in ms) and get an interrupt when the Rx received the last packet of data.
Questions:
1.) Is this the right way to find a latency?
2.) I am thinking of sending 4 packets of 260 bytes data each (preamble:4 bytes + syncword: 4 bytes + CRC:2 bytes + UserData: 250 bytes).
Is that okay and how do I set up these parameters in the code?
3.)How do I regulate the timer and interrupt to find out the time (in ms) between data being sent and data being fully received?
Thank you for any of your answers!!
Bojan