2016-08-01 05:01 AM
Hi,
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.Thanks,Sunny #stm32l4 #usart #sleepmode2016-08-01 08:46 PM
Hi,
Can anyone please give their suggestions and / or pointers ?Thanks,Sunny