Hi all,
MCU: Stellaris LM39B96
TI RTOS: 1.01.00.25
IDE: CCS V5.5
I have a task to read UART data. I created a buffer array with size 512.
I am using UART_read function
length = UART_read(uart2, *buffer, 512);
I am expecting any data put on the uart2 line will be read by this task. However, it does not do what I expect it.
It read the data until '\n' or 0x0A is the end of data. otherwise, it will not read any data.
Why? How can I read any data as long as uart2 receives them?
Thanks in advance