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)?
ESP32 Thing Master with 3 ADC Slave (SPI)
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 Thing Master with 3 ADC Slave (SPI)
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.
Who is online
Users browsing this forum: No registered users and 110 guests