I-CUBE-LRWAN: Usart causes a low power issue
Hi,
I am developing software based on the l-CUBE LRWAN software and ran into some low power issues. I have a sensor connected to the USART2 and it is receiving data properly. The problem is that because i had to overwrite the void HAL_UART_MspInit(UART_HandleTypeDef *huart) (located in vcom.c) function the device doesnt get into the lowpower mode.
When the sensor is working the current consumption in lowpowermode is around 4.0mA
When I dont overwrite the fuction (And thus dont have a working sensor) the current in LPM is around 4uA.