I have some problem after have transmitted and received around 40 000 messages, suddenly the DWM1000 driver get stuck when it enters dwt_writetxdata(), then dwt_writetodevice(), and finally spend it’s forever time in dwt_writetospi(). and never get back out from this constellation.
Anyone that have an idea what could be the issue with this?
Right now I am thinking that a watchdog is the only short term solution. But what could be the reasons for it to get stuck like this?
The hardware is DWM1000, and SW: dw1000_api_rev2p04. (Hunter: dwt_writetospi is a decawave function).
Yes, that sounds like a valid reason to it’s malfunction.
Don’t really understand how the decamutexon(), decamutexon(off) is supposed to be implemented… Have to study this closer.