Toybrick

标题: spi在slave模式下read时,为什么会出现spi_transfer_timeout? [打印本页]

作者: tanggou    时间: 2020-7-24 17:44
标题: spi在slave模式下read时,为什么会出现spi_transfer_timeout?
[root@localhost ~]# echo read 1 1 122 >/dev/spi_misc_test
[ 2522.782610] spi test write buf is:read 1 1 122
[ 2522.782610]
[ 2522.783215] tmp is:read 1 1 122
[ 2522.783215]
[ 2522.783643] data is:1 1 122
[ 2522.783643]
[ 2522.784154] data is:1 122
[ 2522.784154]
[ 2522.784537] data is:122
[ 2522.784537]
[ 2522.784924] ccccccccccccccccccc
[ 2522.785365] qqqqqqqqqqqqqqqq4444 0x2
[ 2522.785706] ffffffffffffffffffff 0x2faf080  0x16e3600
[ 2522.786202] qqqqqqqqqqqqqqqq1111 0x182c01
[ 2522.786571] qqqqqqqqqqqqqqqq2222 0x79  0x3c  0xf3
[ 2522.787103] qqqqqqqqqqqqqqqq6666 0xf
[ 2522.787434] qqqqqqqqqqqqqqqq7777 0xf
[ 2522.787763] qqqqqqqqqqqqqqqq9999 0xf
[ 2522.788118] qqqqqqqqqqqqqqqqaaaa 0x1
[ 2522.788448] qqqqqqqqqqqqqqqq8888 0x1
[ 2522.788777] qqqqqqqqqqqqqqqq5555 0x4
[ 2522.789172] qqqqqqqqqqqqqqqq3333 0x1
[ 2522.889362] spi_test spi32766.1: SPI transfer timed out
[ 2522.889865] qqqqqqqqqqqqqqqq4444 0x0
[ 2522.890309] qqqqqqqqqqqqqqqq3333 0x0
[ 2522.893870] rxbuf size:8 0 0 0 0 0 0 0 0 spi read 122*1 cost 108947us speed:1KB/S
[root@localhost ~]#






欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3