Other Parts Discussed in Thread: TIDA-010032,
Tool/software: Code Composer Studio
Hi to all,
I'm using LAUNCHXL-CC1312R1 with library version (2.40, TIDA-010032).
In the UART write part I'm not able to write more than 8 char at a time. If I try more than 8 they will appear at the next cycle.
Uart setting are
UART_Params params;
UART_Params_init(¶ms1);
params1.writeMode = UART_MODE_CALLBACK;
params1.writeDataMode = UART_DATA_BINARY;
params1.writeCallback = UartWriteCallbackM;
params1.readMode = UART_MODE_CALLBACK;
params1.readDataMode = UART_DATA_BINARY;
params1.readCallback = UartReadCallbackM;
handle = UART_open(Board_UART0, ¶ms);
if (!handle)
{
Task_exit();
}
UART_write(handle, input, strlen(input));
UART_read(handle, gUartRxBuffer, sizeof(gUartRxBuffer));
(Note:- input is an array, char input[]="Uart write done")
I'm only able to get "UART wri" instead of the whole string. same goes with other input too.
Thanks in advance
Sourabh Vyas