Page 1 of 1

ESP32 Thing Master with 3 ADC Slave (SPI)

Posted: Sat Dec 01, 2018 4:31 pm
by e2738729
Hi everyone,

I am trying to connect the ESP32 Thing from Sparkfun to 3 SPI slaves (ADCs) but I am not able to finalize my pin assignment regarding the Slave Select (SS or CS) pins

Could I do the following:
GPIO 23 -> MOSI
GPIO 19 -> MISO
GPIO 18 -> SCK

GPIO 5 -> SS of ADC 1
GPIO 15 -> SS of ADC 2
What is the third pin for SS of ADC 3?

How would I be able to connect 3 slaves to the same SPI bus? Is there a way that I could avoid JTAG pins (GPIOs 12 13 14 15)?

Re: ESP32 Thing Master with 3 ADC Slave (SPI)

Posted: Sun Dec 02, 2018 2:50 am
by ESP_Sprite
The SPI port can be routed through the GPIO matrix. If you don't need >26MHz clock speeds, you can happily select any pin (that is capable, note that some pins are input-only) for any SPI function in software.