2025-09-07 5:16 AM
Dears,
I hope you are doing well!
I am running the ST example LoRaWAN End Node FreeRTOS.
After switching to class B, the MCU goes into hard fault in the following function call stack:
LoRaMacClassBProcess() -> LoRaMacClassBProcessMulticastSlot() -> ComputePingOffset() in Line *pingOffset = ( uint16_t )( result % pingPeriod ); that's because the pingPeriod value is zero.
What may be the reason for this?
And I don't understand why the functions related to multicast processing is enabled by default in Class B before setting up any multicast configurations from the server to the node.
Thank you for your support.
Best Regards,
Abd El-Rahman Kadah
Standard Firmware Engineer
IoT Team
AZKA Technology Company
2025-09-29 9:41 AM
Hello @abdelrahman-kadah-azka
Could you please give more details about your issue. What was the steps you followed to review this behavior. What are the changes you've done on the original code. What are your debug results if possible.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.