khanhcq888
khanhcq888
Hi! I have a same problem. Pls help me to fix it. Thank you so much.
> Sure instead of using the event handler to process the uart use a callback instead: > > ``` > UART_Config_t uart_config = {.baudRate = UART_BAUD_RATE_115200, // UART_BAUD_RATE_115200, > .dataBits...
Hi! Here is my code for callback ``` static void OnUart1ReceivedData(UART_Callback_Param_t param) { uint8_t data[param.length+1]; int32_t ret; RTC_Time_t time; TIME_GetRtcTime(&time); data[param.length] = 0; memcpy(data,param.buf,param.length); if(strstr(data,"start_create_image_file") != NULL) { start =...
> Are you connected to the correct pins? Yes, of course. I connect to UART1. When I turnoff GPS, the data is ok. But when turn on, the NMEA jumps...
build release file and upload. it is ok. I have a same problem and I tried to build release version, so GPS run in several day continuos