esp8266 / esp8266/Arduino

SPI ESP8266 slave not working correct.

Open
#2,538 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

Hello,
I have problems using the ESP8266 as SPI slave.
First problem when installing ESP8266 arduino using the board manager. the examples from the SPISlave are not available inside the arduino IDE. (\libraries\SPISlave\examples)

I downloaded this repository and copied the SPIslave library to "Documents\Arduino\libraries\SPISlave"
Now the SPIslave library and examples are available inside the arduino IDE.
This code compiles without issues and after downloading the code to the ESP8266 all seems oke. but it just doesn't work properly.

The slaves receives data from the master and it can read the question but it fails to send a response. the PISlave.setData("") function doesn't work. (i confirmed using a logic analyser MISO line never changes.

ESP8266 version 2.3.0 installed using board manager
arduino 1.6.11 installed using windows installer
system info: windows 10 home 64bit
Hardware: ESP8266 nodemcu dev board V1 (esp8266 esp12-e).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.