Part Number: CC1312R
Other Parts Discussed in Thread: SYSCONFIG
Hello,
I'm creating a new thread regarding ti154stack sensor send message algorithm issue, because earlier one was closed - Link.
I did additional testing with coordinator + 2 sensors and coordinator + 3 sensors setup. Below are results summary, also archive with sniffer logs and oscilograms -
* 2_sensors test:
Stack parameters - 200kbps bandwidth ETSI, BeaconOrder - 8, SuperframeOrder - 2, CONFIG_MAC_MAX_CSMA_BACKOFFS - 0,
CONFIG_MAX_RETRIES - 0, CONFIG_MIN_BE - 0, CONFIG_MAX_BE - 1
(CH1/2 depicts sensor 0x0002, CH2/4 sensor 0x0001 in the attached oscillograms)
Every 4th beacon has empty payload, which lets both sensors transmit at the same time.
Following times are beacon timestamps from sniffer application.
LBT actually captured only on -
• 152.371713
• 211.354310
Unwanted retransmission on
• 58.982601 (sensor 2)
• 78.643468 (sensor 1)
• 98.304334 (sensor 2)
• 108.134765 (sensor 1)
• 196.608662 (sensor 1)
• 260.511942 (sensor 1)
Wanted behaviour is only seen if either both sensor's succeed to transmit their messages on one superframe or either one of the sensor actually does LBT and drops the message if channel is occupied. Other cases show that only one sensor is doing LBT on alarm-beacon reception, therefore other sensor retransmits its message 1-2 beacons later.
3_sensors test:
Stack parameters - 200kbps. BeaconOrder 10, SuperframeOrder 2, CONFIG_MAC_MAX_CSMA_BACKOFFS 0,
CONFIG_MAX_RETRIES 0, CONFIG_MIN_BE 0, CONFIG_MAX_BE 1
CH1 depicts 1st sensor TX, CH2 3rd sensor TX, CH3 2nd sensor TX, CH4 (trigger source) 2nd sensor RX.
CH4 shows beacon reception on sensor 2, other channels show transmission events on mentioned sensors.
Oscillograms are not as informative as in 2_sensors test, because here basically only TX events are shown.
Every 6th beacon has empty payload, which lets sensors transmit at the same time.
Unwanted retransmission on -
9.830447 (sensor 1,2)
186.778238 (sensor 3)
216.269536 (sensor 1)
As per previous statements by Žilvinas, expected behaviour is that messages would be dropped if LBT fails and no retransmission occur.
It is important to note that message retransmission problem is seen with 200kbps bandwidth, whereas with 50kbps there are no retransmissions, which is I think why You guys could not reproduce the issue before.
The main question is why MAC layer chooses to re-transmit the received packet from link controller, even though it did not even try to listen for channel occupation?(2_sensors test showed this multiple times).
Thank You.










