-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[at86rf2xx] failed assertion in _isr #5678
Description
Hi.
Sometimes I get this failed assertion in the at86rf2xx when I'm working with more than 20 nodes.
I added an option for enabling/disabling the receiver of at86rf2xx (required for the OpenThread port, sorry for the indentation (: ). This option is working, but once in a very while I get the assert.
The pending_tx variable is modified here. When there's a TRX_END IRQ, the _isr function checks the state of the driver to see if it's the end of a reception or transmission. But for some reason I get an IRQ when there's no pending transmission. I got the same problem once before adding the RX_LISTENING option, so I'm not sure if it's related to that.
Also, I sometimes get a recv len of more than UINT16_MAX (very unusual though).
Anyone have had any of these problems before?