Toybrick

spi在slave模式下read时,为什么会出现spi_transfer_timeout?

tanggou

注册会员

积分
179
楼主
发表于 2020-7-24 17:44:55    查看: 7373|回复: 0 | [复制链接]    打印 | 只看该作者
[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 ~]#

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表