I am trying to run a serial port at 3.25Mb/s by applying a divisor of 2 to a baud base of 6.5Mb/s. I am using an IoT device (Telit HE922-3GR) running android 6 with built in serial ports, the
proc/tty/driver/ttyS file contains:
serinfo:1.0 driver revision: 0: uart:XGOLD_USIF mmio:0xE1200000 irq:36 tx:32497 rx:20751 fe:1834 RTS|DTR|DSR|CD|RI 1: uart:XGOLD_USIF mmio:0xE1100000 irq:35 tx:453 rx:0 RTS|DTR|DSR|CD|RI
I am using /dev/ttyS1
The divisor is being set in
sys/class/tty/ttyS0/custom_divisor to the correct value but the serial port is still running at 6.5Mb/s, no matter what the divisor.
Is there anything I can do to ensure the serial port uses this divisor?