Search found 5 matches

by stepstools
Wed Nov 08, 2023 2:19 pm
Forum: ESP-IDF
Topic: ESP32-S3 SPI Slave Without Driver
Replies: 0
Views: 457

ESP32-S3 SPI Slave Without Driver

Is it possible/has someone already used the ESP32-S3 as an SPI slave without using the ESP-IDF driver? The driver has been giving me a lot of problems and seems to be overkill for what I need to do. Is there an interrupt that triggers when each byte transaction is complete? Are there registers I can...
by stepstools
Thu Oct 05, 2023 12:35 am
Forum: ESP-IDF
Topic: ESP32-S3 SPI Slave MISO Problem
Replies: 4
Views: 1659

Re: ESP32-S3 SPI Slave MISO Problem

Hooked the circuit up to my scope. It looks like MISO spikes on every falling edge when transmitting 0b01010101. However, for 0b00000000 there is no spiking. There is definitely some capacative coupling on my circuit, but not enough to cause those spikes. Still totally stumped.
by stepstools
Tue Oct 03, 2023 2:50 am
Forum: ESP-IDF
Topic: ESP32-S3 SPI Slave MISO Problem
Replies: 4
Views: 1659

Re: ESP32-S3 SPI Slave MISO Problem

No joy. I have the devboard hooked up to the peripheral on a breadboard, so it is a bit of a rats nest. MISO looks even worse on the oscilloscope...some pretty serious glitching and such. At this point I'm stumped as to why. The SCLK signal looks pretty clean on the scope and the bit banged MISO loo...
by stepstools
Mon Oct 02, 2023 10:19 pm
Forum: ESP-IDF
Topic: ESP32-S3 SPI Slave MISO Problem
Replies: 4
Views: 1659

Re: ESP32-S3 SPI Slave MISO Problem

That looks more like glitches from other signals being capacitively coupled to MISO, to be honest. Not sure why MISO goes high later on. MISO goes high later on during the time between when the SPI transaction ends and the next one is set up. Not sure why the slave driver does that. After some more...
by stepstools
Mon Oct 02, 2023 2:58 am
Forum: ESP-IDF
Topic: ESP32-S3 SPI Slave MISO Problem
Replies: 4
Views: 1659

ESP32-S3 SPI Slave MISO Problem

I'm running into a strange issue while trying to set up my ESP32-S3 as an SPI slave. The ESP32 reads data from the master perfectly, but it's having some problems while trying to send out data on MISO. It seems like the ESP32 is having issues getting MISO set up with the right value. Sometimes it br...