AnsweredAssumed Answered

UART Buffer size problem

Question asked by Pedro Correa de Castro on Nov 5, 2017
Latest reply on Nov 5, 2017 by Mark Butcher

Hi,

 

I am using KSDK 1.3 with KDS 3.2 and I am struggling to receive a variable size array of bytes. I only receive one byte and I cannot get the rest of the array.
I used the function static inline uint8_t UART_HAL_GetRxFifoSize(UART_Type * base) and it returned 0x0 which means only one word in the buffer.

I did not find a way to change it and use UART_DRV_ReceiveData or UART_DRV_ReceiveDataBlocking for a greater number of bytes.

 

How can I solve it?

 

Thanks in advance

Outcomes