Jump to content

Orange Pi Zero 1Mbps UART issues


jstefanop

Recommended Posts

So I have an application which requires 1Mbps UART and wasted a few days trying to debug my board thinking that was the issue (was working perfect at 115kps), so I decided to scope the UART TX from the orangpi, and of course that signal was not actually working at 1Mbps. Scope is saying that its running at 750Kbps.

 

Did some research and it looks like there is some sort of UART scaling frequency set in the driver, which excludes certain bitrates from running

(check here https://github.com/jernejsk/linux/blob/master/drivers/tty/serial/sunxi-uart.c#L356-L381 )

 

Did some further tests and 460Kbps works fine as well as 1.5Mbps (so its not an issue with the driver not being able to go past 750Kbps), but both 921Kbps and 1Mbps default down to 750kbps.

 

Has anyone run into this issue, and figured out how to reconfigure the UART driver to run at 1Mbps?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines