AnsweredAssumed Answered

[STM32L4] [FreeRTOS] [USART3] Some of the Rx Interrupt are getting missed when entering Sleep Mode

Question asked by bhayani.sunny on Aug 1, 2016
Latest reply on Aug 2, 2016 by bhayani.sunny

I am using STM32L4 with FreeRTOS.

I have configured the USART3 Rx as Interrupt HAL_NVIC_SetPriority(USART3_IRQn, 4, 0) and am using the Tx as Polling.

Without entering the SLEEP mode, if I send data on USART3 from PC, I am able to get the USART3 Interrupts and am able to get the data.

But if I enter the SLEEP mode via the   HAL_PWR_EnterSLEEPMode(PWR_LOWPOWERREGULATOR_ON, PWR_SLEEPENTRY_WFI), I am not able to get the USART3 Rx Interrupt for all the received data.

I tried to debug, but I am not able to get the root cause.

It would be great if somebody can give pointer for the same.