[riot-notifications] [RIOT-OS/RIOT] nrf802154: take FCS into account for lifs/sifs calculation (#11138)

Koen Zandberg notifications at github.com
Tue Mar 12 20:40:33 CET 2019


Okay, I think I've nailed the issue here. It's an related *bug* with the timer initialization. First #11146 should be a dependency of this PR to actually validate the timing. with those commits cherry-picked in, I get the following (17B total size):

![image](https://user-images.githubusercontent.com/5160052/54230438-b75daa00-4506-11e9-9336-d846a337cf42.png)

The weird thing here is that the GPIO is high->low->high, while it should be low->high->low.

#### issue:
As per API, timers are initialized running, so after initialization the `NRF802154_TIMER` is already running. So when the `timer_set` call in _send is executed, the `timer_cb` is executed `SIFS` or `LIFS` time later, clearing the GPIO. After some time, the transmission ends, setting the GPIO again. The fix is to call `timer_stop()` directly after the `timer_init()` (below the assertion check). I'll add this as an additional commit to #11146 as that PR attempts to fix all timer related issues.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11138#issuecomment-472151583
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190312/9a455ce1/attachment.html>


More information about the notifications mailing list