当前位置: 技术问答>linux和unix
dm8127 内核spi
来源: 互联网 发布时间:2017-05-11
本文导语: 设备节点都有了,运行内核的spidev_test读出的数据如下: /dev/spidev4.0 # ./spidev spi mode: 0 bits per word: 8 max speed: 500000 Hz (500 KHz) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...
设备节点都有了,运行内核的spidev_test读出的数据如下:
/dev/spidev4.0
# ./spidev
spi mode: 0
bits per word: 8
max speed: 500000 Hz (500 KHz)
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00
不知道还需要改哪些东西?
/dev/spidev4.0
# ./spidev
spi mode: 0
bits per word: 8
max speed: 500000 Hz (500 KHz)
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00
不知道还需要改哪些东西?
|
接分,是设置问题?