|
发表于 2022-5-12 14:07:59
只看该作者
沙发
尝试了三组波特率,打印如下:
root@firefly:~# busybox stty -F /dev/ttyS1 ispeed 4000000 ospeed 4000000 cs8
[ 2252.578798] ttyS1 set divisor fail, quot:1 != dll,dlh:0
[ 2252.579009] sclk_uart1_fracdiv p_rate(480000000) is low than rate(64000000)*20, use integer or half-div
[ 2252.579051] sclk_uart1_fracdiv p_rate(480000000) is lorwo ot@firefly:~# han rate(64000000)*20, use integer or half-div
[ 2252.579129] sclk_uart1_fracdiv p_rate(1188000000) is low than rate(65280000)*20, use integer or half-div
[ 2252.579167] dw-apb-uart ff410000.serial: set rate:64000000, but get rate:62526316
[ 2252.579197] ttyS1 set divisor fail, quot:1 != dll,dlh:0
root@firefly:~# busybox stty -F /dev/ttyS1 ispeed 1500000 ospeed 1500000 cs8
[ 2289.215985] sclk_uart1_fracdiv p_rate(1188000000) is low than rate(64000000)*20, use integer or half-div
[ 2289.216029] sclk_uart1_fracdiv p_rate(1188000000)root@firefly:~# is low than rate(65280000)*20, use integer or half-div
[ 2289.216044] dw-apb-uart ff410000.serial: set rate:64000000, but get rate:62526316
[ 2289.216061] ttyS1 set divisor fail, quot:1 != dll,dlh:0
[ 2289.216182] ttyS1 set divisor fail, quot:1 != dll,dlh:0
root@firefly:~# busybox stty -F /dev/ttyS1 ispeed 115200 ospeed 115200 cs8
[ 2318.945134] ttyS1 set divisor fail, quot:1 != dll,dlh:0
[ 2318.945310] ttyS1 set divisor fail, quot:13 != dll,dlh:0
请问是否是驱动不匹配导致?合适的驱动哪里获得 |
|