I have a problem in usage of the UART PSP driver with the Stream in receive mode.
When I try to read some amount of data from the stream it blocks and returns only when all 1024 bytes of data is received.
I need to get block of data immediately as it comes.
len = Stream_read (g_UART_rx,&g_UART_BUF_rx,1024,BIOS_WAIT_FOREVER,NULL);
How can I determine an amount of data ready to read in the stream?
My goal is to read each data burst from the UART device.
UART peripheral receives blocks of data with different length. The time data block comes is indeterministic.
I must process each block separately as it comes.
My system configuration:
ccsv_4.2.0.10018
bios_6.30.02.42
xdc_3.20.03.63
edma3_lld_2.10.03.04
ipc_1.21.02.23
ndk_2.20.00.19
psp_02.10.01