Dne četrtek, 13. september 2018 ob 17:35:32 CEST je Arjan van Vught
napisal(a):
> Op donderdag 13 september 2018 16:35:22 UTC+2 schreef Jernej Skrabec:
> > Dne sreda, 12. september 2018 ob 18:16:45 CEST je
asdf...@gmail.com
> > <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.
Sorry, I misread. I though 2.5 Mbps is needed.
Best regards,
Jernej
>
> - Arjan