2026-01-27 1:09 AM - edited 2026-01-27 1:10 AM
Hi,
I'm working with a STM32WL5MOC with the STM32Cube FW_WL V1.4.0. In my main.c I have this initialization:
MX_GPIO_Init();
MX_DMA_Init();
MX_RTC_Init();
MX_LPUART1_UART_Init();
MX_USART1_UART_Init();
MX_ADC_Init();
MX_CRC_Init();
MX_SPI1_Init();
MX_LoRaWAN_Init();I put the MX_LoRaWAN_Init after all inizialization. However, I noticed that the code get stacked in MX_RTC_Init();, in particular on here if (HAL_RTCEx_SetSSRU_IT(&hrtc) != HAL_OK).
I attach the ioc file and the main.
Thanks.