STM32L4S9 UART Receive Problem.
Uart Configuration
Uart Receive Code
Hello,
I am working on a project with STM32L4S9 mcu and I am trying to receive data via uart from a GPS module (ublox CAM m8) which is continuously sending data. The problem is that when I am trying to debug with breakpoint exactly before the HAL_UART_receive the mcu receives the data correctly but when the program is running without breakpoints , it loses/misses bytes and data are not coming in the correct order. I made a clean project only with UART and GPS and everything is ok. I receive data correctly anything missing and data are in the correct order. Any Ideas what is happening? In the pictures above you can see the code i used for UART receiving and the UART configuration.
Thanks In Advance.