I’ve been working with the UART device recently, attempting to create a few higher-level interfacing functions for common tasks like changing baud settings and performing reads, etc (cribbed heavily from the UARTClass.* files in the Arduino package).
The problem I’m having is that, when I attempt to write out a string, anything after the 10th byte turns into Authentic Frontier Gibberish. To verify I’ve attached a second USB-TTL serial adapter directly to the header I/O pins and tried a few different baud rates but get the same result. In either case, I can interspace write(STDOUT_FILENO, …) and those strings are successfully printed, so I suspect I’m omitting something really obvious when I’m putting data into the TX FIFO.
Hi All,
I have U540 unleased board and need urgent help:
if we short tx and rx of UART0 for loopbacktest. is it possible that this can damage USB line(micro usb) or can create any issues?