Search found 5 matches

by karimuk
Tue Jun 20, 2017 9:35 am
Forum: Sample Code
Topic: SPI slave communication with another microcontroller
Replies: 9
Views: 16365

Re: SPI slave communication with another microcontroller

Hi,
I come back to you, about the spi transaction, My esp32 works as slave, I need SPI Read transaction that the slave begins transmitting data on the MISO After receiving a "read commad" as shown in the folowing figure:
thank you for your help.
by karimuk
Fri Jun 02, 2017 1:42 pm
Forum: Sample Code
Topic: SPI slave communication with another microcontroller
Replies: 9
Views: 16365

Re: SPI slave communication with another microcontroller

Ok thanks for your help
by karimuk
Fri Jun 02, 2017 12:51 pm
Forum: Sample Code
Topic: SPI slave communication with another microcontroller
Replies: 9
Views: 16365

Re: SPI slave communication with another microcontroller

Thank you for your response, but i want the ESP32 wait for spi communication initiated by the master. in the example code of spi communication between ESP32s in esp-idf, the function used is: spi_slave_transmit(HSPI_HOST, &t, portMAX_DELAY); and this transmit data. to simplify the flowchart of the e...
by karimuk
Wed May 31, 2017 8:01 am
Forum: Sample Code
Topic: SPI slave communication with another microcontroller
Replies: 9
Views: 16365

SPI slave communication with another microcontroller

Hi,
Anyone has an example code of SPI communication. The esp32 supposed to work as slave with an other microcontroller.
The esp32 has to receive some data (with interrupt or not) and respond.
Thanks you for your help.