Part Number: MSP432P401R
Tool/software: TI-RTOS
Hi everyone,
I am using MSP432 Evaluation Kit and sending data via UART using TI-RTOS api (UART_write and UART_read, Baud rate is 115200). However, I found there are a lot of data losses in UART after sending around 50 bytes (before 50B is ok). To solve the problem, I tried a loopback test using UART Echo demo and I got the same result. After looking into the codes in MSP_EXP432P401R, I found I can use a larger ring buffer size (default is 32 B) and I changed the size to 512 B, after which I made it to work without data loss.
Is there any other way to solve the problem? Looks like a big buffer isn't a good solution.
Any suggestion is helpful.
SL61