cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL5 2nd core reset

DiegoKer
Associate

Hi,

I'm using STM32WL5 SoC in my lora project.
I started from this example: "LoRaWAN_End_Node_DualCoreFreeRTOS".
In my board, I have a problem at startup, CPU2 doesn't start after a simple pin reset (NRST).
The only way is to switch power supply off, wait for all capacitors down, and switch on.
I tryed to clear PWR_CR4_C2BOOT at startup, without success.

This is where CPU1 wait forever:

 

void MBMUXIF_WaitCm0MbmuxIsInitialized(void)

{

while (pMb_RefTable->SynchronizeCpusAtBoot != CPUS_BOOT_SYNC_CPU2_INIT_COMPLETED)

{

}

}

 

Can anyone help me?

Thanks.

1 REPLY 1
STTwo-32
ST Employee

Hello @DiegoKer 

Arr you using the exact example "LoRaWAN_End_Node_DualCoreFreeRTOS" without any modification and following the readme procedure? If so, do you have the same issue will using the sequencer based example?

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.