HAL define bug with STM32WLE5CCU microcontroller

43 Views Asked by At

Im trying to use interrupts from UART DMA and SubGhz with STM32WLE5CCU in STM32Cube IDE. I noticed that I don’t get interrupts from both when I don’t define delay time between the configurations. The current code:

MX_GPIO_Init();
HAL_Delay(25); // because of bug
MX_SUBGHZ_Init();
MX_DMA_Init();
HAL_Delay(25); // because of bug
MX_USART2_UART_Init();
….

without that HAL_Delay command I won’t get interrupts from UART and SubGhz? I already tried to reduce the delay time to 10ms and it doesn’t work.

I tried to use interrupt without the delay commands and it doesn’t work. Looks like the minimum delay time is ~20ms.

does anyone familiar with this bug and knows how to solve it? THANKS!

0

There are 0 best solutions below