5454ty 发表于 2015-2-3 14:41:10

使用内核自带的spi-rockchip-test.c测试SPI0报错!

HI,
   各位大侠和高手,我现在正在使用RK3288的SPI0,我看到内核自带的spi-rockchip-test.c,他只可以发数据,我便用他来测试下,可是当我运行
echo "555" >/dev/spi_misc_test的时候,内核里面报告了如下的错误
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAuMAAAC9CAIAAACWBORdAAAgAElEQVR4nO2dPY7rOtKGtaz2dgz0aozeTMPRAHeyST5gkgE8QQcnmOBug19gS+ZPVfFHkkW2nxcn8FFTxRJVoihSqmf6+8/ff//v7z9//vz9v7/5zW9+85vf/OY3v7v6Pd3+e7v95/bnv39u/7nxm9/85je/+c1vfnf1e/r3//2bf/zjH//4xz/+8a/Pf9O//vmvv/7x11///Ouvf/zFb37zm9/85je/+d3V78k5534up+l8dbvp53L6uNyiLX6NP5fTdLr8lNq7fk7T57L37fIx3XX+iuzcLh/T6curOVPv9TxN52+12vMUWntsLPb853K6O/p0PqwxbYfv81Ryar7P08fl5tzt63Q3fv1cXH22T1i16E/ikrcx1N1Pu8UUrW+HdfHjKfb/EVr3iP0+T5+Xy8d0/r5dPortf5+naZoeAR+222d8Jr3TtFpBvU4/NVo8qOd92bhE10Ny/Iia2yHqB8y4ysdbdN4r/ZHs1B/vMzJvl4+Sa0Fq5/gyX8o0XV/pXtr1Urt9s3hwlXGobd+wX9L7SUGWk5I/in0hgIPe/vqZdIMfl9v3+fR1u35O5++lQO54hftIVXsuh9DWzW6gV4xU7m0abQuaqfB+7BmUIymwI3Ycdr2Z8x1fmY9dak+eP+LJtcPakcrt8vFsK6XdohGY2AjJmM8qXKg17bAqfiIfPP+Xw7yep/Pl63T6ut2+Tqevy7nKvtKzC9VvOFJxUcennkclHvIjlbL4EfWwc/2MBitaXJXFm3zeK/xJ7DQc7+zqfA3mJLWz+si00Uil7Hhrt6+Ih9o41LZv1S+V9JMl9q14FuzbI5Wfyyly4+dyms6Xr9P527nv8+nrevmQzleq0pGK5v/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wbBe5+L3VLYYqUAcbPZHLS/ahzi4k/4f6Cji1sBPdGIAAAAASUVORK5CYII=

我现在使用的是BOX板,
但是当我使用PAD板的内核的时候也是使用echo "555" >/dev/spi_misc_test,可是PAD板的完全正常

我刚开始以为是有其他模块在使用SPI总线,我看了以后发现没有,我直接使用的是firefly的开发板,一个硬件模块都没有加哦,

请问社区里面的高手出来发表下看法啊!

5454ty 发表于 2015-2-3 14:47:06

5454ty 发表于 2015-2-3 14:47:28

上面是我的BOX板的SPI错误测试信息

linjc 发表于 2015-2-4 11:22:19

5454ty 发表于 2015-2-3 14:47
上面是我的BOX板的SPI错误测试信息

我没改代码,在我BOX版固件的板子上试了一下:
$ echo 55555 > /dev/spi_misc_test
只打印如下信息:
spi_test_write:0:bus=0,cs=0; 1:bus=0,cs=1; 2:bus=1,cs=0; 3:bus=1,cs=1; 4:bus=2,cs=0; 5:bus=2,cs=1
你把代码更新到最新试试吧。

5454ty 发表于 2015-2-4 13:54:29

好的,我去更新下下
页: [1]
查看完整版本: 使用内核自带的spi-rockchip-test.c测试SPI0报错!