用户您好,请详细描述您所遇到的问题:
- 系统软件版本: 2.0.0
- 使用 SPI bus号 2 , 片选0 透过 ls /dev/spi* 显示 /dev/spidev2.0
- 发送 [0x55,0xAA]
- 用尼龙线连接 GPIO 19 21 (物理编号),线已经换了好几根都一样的结果
- 收到的data 为 0xFF 0xFF
附件为运行 srpi-config 显示所有外设 spi2 i2s1 i2s0 serial3 i2c0 为 okay
转而 使用 wiringpi Python库
安装了wiringpi-2.60.1版本
在wiringpi.WringPiSetupGpio 这个地方程序退出,debug 信息 为:
Unable to determine board revision from /proc/cpuinfo
-> NO “hardware” line
-> you 'd best google the error to find out why