Do you have a screenshot of this? Are you seeing data errors when you connect a terminal application? What baud rate are you using? Do you have some sample code that can be used to reproduce this?
I have disabled sleepmode in uart_init function and it started working fine. If it is transmitting and device enters in to sleepmode, it looks like it delays the remaining bits. Is it correct?
1 of 1 people found this helpful
Peripheral UART (SPI1, SPI2, I2C) is (are) shutdown in sleep. So the application has to disable sleep during the time data is being transmitted/received. See puart.h for a couple of macros that can be used to determine if the RX/TX FIFOs have data.