Page 1 of 1

spi_slave example - How does the Handshake work?

Posted: Fri Jul 17, 2020 8:50 pm
by Talesduque
Hello friends!

Recently I've been trying to figure out how to make my FPGA (master) talk to my ESP32 (slave) correctly. I'm trying to understand how the handshake system works so I can develop a logic inside my FPGA to make it so the CS only goes down when the handshake goes to 0. Does anyone know? Does it have to do with the spi_slave_transmit?

BTW im using 4.0.1 sdk.

EDIT: The example says that "spi_slave_transmit" lowers the handshake signal via the callback, but my FPGA is not getting triggered by that.

Regards,

Tales.