This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5659: DMA reception does not transfer last byte of UART message and instead transfers last byte of previous UART message as first byte in receive buffer

Part Number: MSP430F5659

Using DMA to receive serial UART data at 1Mbit/sec. Receiving multiple blocks of data in burst mode. The first byte in the receive buffer is the last byte from the previous message and the last byte in the receive buffer is the second to last byte of data sent by the serial device.  Size of the received data block is correct. DMA5CTL = 0x0CEC.  Everything else appears to work OK.   For example:  Nth message from UART is:  00 02 03 06 02 57 D9 and N+1 message is  00 01 03 06 01 17 9C. Then the N+1 message saved in the DMA receive buffer is: D9 00 01 03 06 01 17 . The first byte D9 is the last byte of the previous message, and the last byte 9C is missing.


 

**Attention** This is a public forum