Part Number: CC1350
Tool/software: TI-RTOS
Hi,
I am trying to get the UART driver to read/write in a CC1350 application. The driver doesn't seem to be behaving as documented.
I want to operate the UART driver in following mode:
read/write Data mode: UART_DATA_TEXT
read/write Mode: UART_MODE_BLOCKING
read return Mode: UART_RETURN_NEWLINE
So basically I'm unable to get the UART_RETURN_NEWLINE mode to work. I have created a uartRxTask that continuously blocks in UART_read(). The code is shown below:
static void UartRxFnx(UArg arg0, UArg arg1)
{
while(1)
{
UART_read(hUart, uart_rx_buf, sizeof(uart_rx_buf));
}
}
1. So i expect that the UART_Read() must return whenever the buffer is full or a newline character encountered.
2. It never returns for a newline character received. It only returns when the buffer is full.
Any help appreciated..
