ESP32 Half-Duplex SPI Slave
ESP32 Half-Duplex SPI Slave
I am currently using a camera that is controlled with I2C and sends its data through SPI. As the title suggests, the camera is set up to be a SPI master, and only communicates one way, i.e. it only has a spi clock and output data pins. Does anyone have some sample code to set up the ESP32 in a slave configuration? I had made some quick and dirty code to read the pin levels, but the signals were at too high frequency and timing became an issue. If I could set a buffer to read a data pin whenever it sees the rising edge of a clock, that would be sufficient.
-
- Posts: 9833
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 Half-Duplex SPI Slave
Fyi: We've got a (full-duplex) slave driver on the way. Will probably make its debut in master in one or two weeks, I estimate.
Re: ESP32 Half-Duplex SPI Slave
I'm also trying to write a driver for a similar camera with I2C control and a data interface that can we used with a SPI input on the ESP32
I have built my own board using the ESP32S to interface to a 6050 IMU and the camera
Which camera are you using?
I have built my own board using the ESP32S to interface to a 6050 IMU and the camera
Which camera are you using?
Who is online
Users browsing this forum: No registered users and 127 guests