Skip to main content
Visitor II
September 7, 2025
Question

Hard fault in Class B Multicast

  • September 7, 2025
  • 1 reply
  • 429 views

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

1 reply

STTwo-32
Technical Moderator
September 29, 2025

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