Part Number: LAUNCHXL-CC1352P
Other Parts Discussed in Thread: CC2538
Hi,
I recently got help from one of your colleagues in getting the time reported for tx/rx in the ApiMac_mcpsDataInd_t structure.
However the documentation states that it's the received/transmitted time in backoffs or MAC timer
units. I checked the technical-reference-manual.html and rxConfig.bAppendTimeStamp
reference doesn't explicitly say how to interpret the times.
1. Is the backoff time supposed to be in units of 16uS slots? (uint32_t timestamp)
2. The ratio of the MAC timer units (uint16_t timestamp2) and backoffs (timestamp) isn't consistent; which suggests
they are not the same measurement of received/transmitted times. (please see output below from a test)
3. What are the units for timestamp2? is it the same as Clock_tickPeriod
You can see from the numbers below that the ratio of timestamp/timestamp2 is not consistent,
I would imagine that if these two times are both reporting the time it took to receive/transmit the
packet then the ratio of the two numbers should be approximately the same number for each
set.
Below is an output from a run:
Sensor 0x1
rtt(Us) = 29062
rcvd backoffs (timestamp) = 3949
rcvd MAC units(timestamp2) = 33
Sensor 0x1
rtt(Us) = 29362
rcvd backoffs(timestamp) = 4675
rcvd MAC units(timestamp2) = 16
Sensor 0x1
rtt(Us) = 28752
rcvd backoffs(timestamp) = 5344
rcvd MAC units(timestamp2) = 47
Sensor 0x1
rtt(Us) = 29032
rcvd backoffs(timestamp) = 6074
rcvd MAC units(timestamp2) = 20
Sensor 0x1
rtt(Us) = 28572
rcvd backoffs(timestamp) = 6780
rcvd MAC units(timestamp2) = 5
Sensor 0x1
Thanks