Search found 3 matches
- Fri Mar 26, 2021 2:20 pm
- Forum: General Discussion
- Topic: SPI Questions
- Replies: 0
- Views: 1329
SPI Questions
I need an ESP32 to communicate with an ESP8266 via SPI. I have used the SPISlave code successfully on the ESP8266 so I know I have the proper connections. My question is this: I need the ESP32 to be able to send 200 byte messages to the ESP8266 and I need the ESP8266 to be able to reply with 2000 by...
- Mon Oct 08, 2018 7:34 pm
- Forum: ESP-IDF
- Topic: Need the equivalent of Arduino's SPI.transfer16
- Replies: 5
- Views: 8813
Re: Need the equivalent of Arduino's SPI.transfer16
OK I found my problem. The chip I am talking to (XPT2046 touch screen controller) requires 3 SPI 8 bit transfers for each touch position read. If I let the esp-idf spimaster code control the chip select to the controller it toggles the chip select after each 8 bit transfer messing up the data receiv...
- Fri Oct 05, 2018 3:27 pm
- Forum: ESP-IDF
- Topic: Need the equivalent of Arduino's SPI.transfer16
- Replies: 5
- Views: 8813
Need the equivalent of Arduino's SPI.transfer16
Hello I am using the esp-idf for an embedded project using the esp32. I am trying to port some code which uses the Arduino's transfer16 function so I wrote the following code. (I should mention that the code doesn't seem to work): // Transmit and receive 16 bit data in a single transaction // If suc...