Linux系统CPU+两块ch943x扩展出8个串口,现在串口不能收发数据,linux系统/proc/interrupts中断有变化,日志见附件
在linux侧向外(PC接的串口调试工具)发送数据时,驱动打印
[ 1045.394843] ch943x_spi spi0.0: ch943x_ist interrupt enter...
[ 1045.400586] ch943x_spi spi0.0: ch943x_port_read - reg:0x 5, val:0x60
[ 1045.407023] ch943x_spi spi0.0: ch943x_port_read - reg:0x 2, val:0xc1
[ 1045.413373] ch943x_spi spi0.0: ch943x_port_irq no int, quit
[ 1045.419026] ch943x_spi spi0.0: ch943x_port_read - reg:0x15, val:0x60
[ 1045.425464] ch943x_spi spi0.0: ch943x_port_read - reg:0x12, val:0xc1
[ 1045.431812] ch943x_spi spi0.0: ch943x_port_irq no int, quit
[ 1045.437467] ch943x_spi spi0.0: ch943x_port_read - reg:0x25, val:0x60
[ 1045.443902] ch943x_spi spi0.0: ch943x_port_read - reg:0x22, val:0xc1
[ 1045.450252] ch943x_spi spi0.0: ch943x_port_irq no int, quit
[ 1045.455907] ch943x_spi spi0.0: ch943x_port_read - reg:0x35, val:0x60
[ 1045.462345] ch943x_spi spi0.0: ch943x_port_read - reg:0x32, val:0xc1
[ 1045.468692] ch943x_spi spi0.0: ch943x_port_irq no int, quit
[ 1045.474261] ch943x_spi spi0.0: ch943x_ist end