Hello,there is some question about uart.
The hardware is Jetson carrier,jetson module is agx orin 64G.
I use the uarta by the hdr40 pins to communicate with PC.
When I use the baud rate is not bigger than 1Mbps, the communication is all normal. I can recvieve completly by minicom in jetson what I send by PC.
This is not an answer, but some comments may be of interest…
Higher baud rates require better signal quality. This includes waveform rise and fall times, but because there is no specific clock, this especially means jitter. Each end of the UART has its own clock, and if the two do not match exactly (including from line length delays), then you are bound to get more errors. The first way of dealing with it is to use properly shielded cable of the shortest possible length.
I am assuming you are not using flow control. If you use the CTS and RTS pins, and set CTS/RTS flow control, then you will get better results with either long cables or lower quality RF. This might require you to send in smaller bursts. The default is no CTS/RTS flow control.
Incidentally, if a buffer fills and time is needed for the CPU or other hardware to process the data, then CTS/RTS flow control will prevent overruns.
If the clocks at each end are slightly off, then you might get better results with two stop bits. There are a lot of drones and other devices out there that don’t offer any ability to set stop bits. The default is one stop bit.
I’ve already try this way before I questioned,it’s not work for me.And my customed hardware only have rx/tx for this uart,so we have to decrease the baudrate to avoid this problem.Thank you for your reply.
A shorter and better shielded cable might also do the job, but in the end, without CTS/RTS flow control, and if two stop bits won’t help, then you are indeed limited to reducing the rate.