Stein,
I am in the same boat!! I need to set the UART to 250k baud for
DMX512 lighting. According to your below math, this should be 16x oversampling and a divisor of 12 for me.
I hope there is a way to set these values via command line and/or config files.
This stuff here is interesting, but I'm not sure how (or if) I can change these numbers?
debian@vBBB20:/sys/devices/ocp.3/481a8000.serial/tty/ttyO4$ ls
close_delay custom_divisor device iomem_base io_type line power type uevent
closing_wait dev flags iomem_reg_shift irq port subsystem uartclk xmit_fifo_size
debian@vBBB20:/sys/devices/ocp.3/481a8000.serial/tty/ttyO4$ sudo cat uartclk
48000000
debian@vBBB20:/sys/devices/ocp.3/481a8000.serial/tty/ttyO4$ sudo cat custom_divisor
0
Looks interesting, but not sure how to manipulate these things? Device Tree? DTC? Config files?
I am watching this thread closely now. Thx!
-frenchy