While debugging code using the LPUART_RRTOSReceive() function, I occasionally get the following error:
ASSERT ERROR " ev == 0 ": file "C:/KSDK2/devices/MK22F51212/drivers/fsl_lpuart_freertos.c" Line "277" function name "LPUART_RTOS_Receive"
If it would happen all the time, I might be able to determine if it was something I'm doing wrong. However, most of the time the function operates as I expect. This is just a "once in a while" occurrence.
Can someone familiar with the inner workings of the function provide insight as to what may be going wrong? I've defined the background working buffer as 64 characters long. My typical transfers are shorter than that.
At this time, it appears that reducing the baud rate helps, but I am not sure.