Other Parts Discussed in Thread: MSP-EXP430FR2433,
-HW: MSP-EXP430FR2433 development kit, connect pin P1.4 and P1.5 to FTDI USB serial, remove RXD TXD jumper which connects to ez_FET Debug.
-IDE: Code Composer Studio Version: 11.1.0.00011 on win 10
I can run eusci_a_uart_ex1_loopbackAdvanced example from msp430_driverlib_2_91_13_01 without any problem. This example uses a baud rate of 115200 bps.
But when I modify the example code to receive a packet from the host PC, it always lost some bytes. For example, when I sent packet "123456789", it received "124578".
For simplicity, From the example code, I only remove the transmit function and add a receive buffer in the interrupt code like the picture below.
When I change the baud rate config to 19200 or 9600, the problem will not occur. Is there any suggestion to fix this problem?