You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i run a slightly adapted version of the timesync demo and experience sometimes a freezing of a time "slave" (mpsl assert 80, 2).
From my tests my assumption is, that this is due to the scheduling of a new earliest MPSL request if the slot was already extended up to 128 seconds Line 454.
If running into this path a new earliest timeslot request is triggered. However, the timeslot_end_handler() might not be called. As the MPSL_TIMESLOT_SIGNAL_ACTION_REQUEST will close a current timeslot and a new one is planned. My assumption is that the assert is then triggered due to improper closing of the timeslot.
From my perspective the condition might not be necessary. If the Extension Timer triggers and we are above the specified extended time, it might be possible to just skip the extension request and let the "time is about to end" timer handle the closing/rescheduling of the timeslot accordingly.
Due to time constraints I was not able to follow this up completely. However, I thought raising this issue might help in the future.
The text was updated successfully, but these errors were encountered:
This MPSL assert happens when a radio IRQ is triggered outside of a timeslot. So I think your assessment is reasonable, and that the proper cleanup is not done upon the end of the timeslot.
Hi,
i run a slightly adapted version of the timesync demo and experience sometimes a freezing of a time "slave" (mpsl assert 80, 2).
From my tests my assumption is, that this is due to the scheduling of a new earliest MPSL request if the slot was already extended up to 128 seconds Line 454.
If running into this path a new earliest timeslot request is triggered. However, the timeslot_end_handler() might not be called. As the MPSL_TIMESLOT_SIGNAL_ACTION_REQUEST will close a current timeslot and a new one is planned. My assumption is that the assert is then triggered due to improper closing of the timeslot.
From my perspective the condition might not be necessary. If the Extension Timer triggers and we are above the specified extended time, it might be possible to just skip the extension request and let the "time is about to end" timer handle the closing/rescheduling of the timeslot accordingly.
Due to time constraints I was not able to follow this up completely. However, I thought raising this issue might help in the future.
The text was updated successfully, but these errors were encountered: