Closed RobTWTG closed 2 months ago
Hi, Could you please precise the RP_Margin you are using ? Do you have something similar to below in your implementation ?
if ( smtc_modem_is_irq_flag_pending( ) == false ) {
hal_watchdog_reload( );
hal_mcu_set_sleep_for_ms( MIN( sleep_time_ms, WATCHDOG_RELOAD_PERIOD_MS ) );
}
Many thanks, Best regards
Thank you for replying, it looked like it was an issue on our side how we provided time to smtc_modem_hal_get_time_in_ms, in some rare cases subseconds where passed wrong with 1000ms margin error. That caused this assert with class b enabled.
I will close the issue.
During our duration tests, we observed an issue when we enable class B and send many uplinks, the lbm trace shows this:
Here the smtc_modem_hal_on_panic callback gets called and our application trace shows:
It looks like the timeout for RX2 is not handled anymore. Does this have something to do with the priority system of tasks? We did modify the RP_Margin to a higher value. Hopefully the lbm team can provide some answers in our investigation, let us know if we can provide more information or try something.