大家好
我照着ESP8266 技术参考手册中第4章的spi_master_test()、spi_slave_test()、spi_slave_isr_sta()
结果与手册中 图4.4一样结果
但程序代码中,slave 回传
sndData[0] = 0x35343332;
sndData[1] = 0x39383736;
sndData[2] = 0x3d3c3b3a;
sndData[3] = 0x11103f3e;
sndData[4] = 0x15141312;
sndData[5] = 0x19181716;
sndData[6] = 0x1d1c1b1a;
sndData[7] = 0x21201f1e;
但Master端收到结果
Recv Slave data0[0x38373635]
Recv Slave data1[0x3c3b3a39]
Recv Slave data2[0x103f3e3d]
Recv Slave data3[0x14131211]
Recv Slave data4[0x18171615]
Recv Slave data5[0x1c1b1a19]
经过几番测试,前面3Bytes都不见了
想请问一下原因在哪?
ESP8266 技术参考手册中SPI example code有疑问
-
- Posts: 7
- Joined: Mon May 15, 2017 8:51 am
Who is online
Users browsing this forum: No registered users and 307 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.