Linux系統(tǒng)CPU+兩塊ch943x擴(kuò)展出8個(gè)串口,現(xiàn)在串口不能收發(fā)數(shù)據(jù),linux系統(tǒng)/proc/interrupts中斷有變化,日志見附件
在linux側(cè)向外(PC接的串口調(diào)試工具)發(fā)送數(shù)據(jù)時(shí),驅(qū)動(dòng)打印
[ 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