i2C-MP15X-B底板上已经预留了一个SPI扩展接口(J23),扩展座规格为xH 2.54mm。

i2C-MP15X-B位置丝印功能名称i2S-MP15X核心板位置i2S-MP15X核心板 Pinout
J23.1VDD_3V3VDD_3V3
J23.2GNDGND
J23.3SCLKSPI6_SCKJ2.105PI1
J23.4MOSISPI6_MOSIJ2.109PI2
J23.5MISOSPI6_MISOJ2.107PI3
J23.6CS0SPI6_NSSJ2.111PI0
J23.7IOIOJ2.40PD10

使用spidev应用来测试

# ./spidev_test -D /dev/spidevB.C
spi mode: 0
bits per word: 8
max speed: 500000 Hz (500 KHz)

02 E0 00 00 00 00 
00 00 02 E0 02 E0 
02 E0 00 00 00 00 
00 00 00 00 00 00 
00 00 00 00 00 00 
00 00 00 00 00 00 
00 00
作者:SteveChen  创建时间:2024-09-18 16:36
最后编辑:SteveChen  更新时间:2024-09-18 16:36
上一篇:
下一篇: