Op donderdag 13 september 2018 16:35:22 UTC+2 schreef Jernej Skrabec:
>
> Dne sreda, 12. september 2018 ob 18:16:45 CEST je [email protected] 
> <javascript:> 
> napisal(a): 
> > I am experiencing issues with Allwinner H3's UART. Trying to use it @ 
> > 250000 bps, but unable to established reliable communication. It works 
> fine 
> > up to 150000 bps, but above this speed no proper communication. I tried 
> > Armbian with 4.14.65 and 4.13 Linux kernels. 
>
> Currently, with 24 MHz clock parent, 1.5 Mbps is the highest possible rate 
> (24 
> MHz / 16 / x, where x is integer number). Theoretically, it is possible to 
> change clock parent but I'm not sure anyone actually tried that. Such 
> change 
> would also affect I2C IIRC. 
>
> Best regards, 
> Jernej 
>
>
> With baudrate = 24000000 / 16 / x = 250000, then x =  6 (UART_DLH=6, 
UART_DLL=0)
So with the F_24M the requested 250000 is doable. No need to change clock 
parent.

- Arjan

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to