From a361724a46293493b1c808d48b7891cee8edb849 Mon Sep 17 00:00:00 2001 From: Alexander Salas Bastidas Date: Tue, 7 Feb 2023 17:22:52 +0100 Subject: [PATCH] Add ESP32-S3 to the default GPIOs used --- examples/peripherals/spi_slave/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/peripherals/spi_slave/README.md b/examples/peripherals/spi_slave/README.md index af864f697b..3083e5643f 100644 --- a/examples/peripherals/spi_slave/README.md +++ b/examples/peripherals/spi_slave/README.md @@ -7,13 +7,13 @@ These two projects illustrate the SPI Slave driver. They're supposed to be flash The default GPIOs used in the example are the following: -| Signal | ESP32 | ESP32-S2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | -|-----------|--------|----------|----------|----------|----------| -| Handshake | GPIO2 | GPIO2 | GPIO3 | GPIO15 | GPIO2 | -| MOSI | GPIO12 | GPIO12 | GPIO7 | GPIO20 | GPIO5 | -| MISO | GPIO13 | GPIO13 | GPIO2 | GPIO19 | GPIO0 | -| SCLK | GPIO15 | GPIO15 | GPIO6 | GPIO18 | GPIO4 | -| CS | GPIO14 | GPIO14 | GPIO10 | GPIO9 | GPIO1 | +| Signal | ESP32 | ESP32-S2 | ESP32-S3 | ESP32-C3 | ESP32-C6 | ESP32-H2 | +|-----------|--------|----------|----------|----------|----------|----------| +| Handshake | GPIO2 | GPIO2 | GPIO2 | GPIO3 | GPIO15 | GPIO2 | +| MOSI | GPIO12 | GPIO12 | GPIO11 | GPIO7 | GPIO20 | GPIO5 | +| MISO | GPIO13 | GPIO13 | GPIO13 | GPIO2 | GPIO19 | GPIO0 | +| SCLK | GPIO15 | GPIO15 | GPIO12 | GPIO6 | GPIO18 | GPIO4 | +| CS | GPIO14 | GPIO14 | GPIO10 | GPIO10 | GPIO9 | GPIO1 | Please run wires between the following GPIOs between the slave and master to make the example function: @@ -26,4 +26,4 @@ Please run wires between the following GPIOs between the slave and master to mak | SCLK | SCLK | | CS | CS | -Be aware that the example by default uses lines normally reserved for JTAG on ESP32. If this is an issue, either because of hardwired JTAG hardware or because of the need to do JTAG debugging, feel free to change the GPIO settings by editing defines in the top of main.c in the master/slave source code. \ No newline at end of file +Be aware that the example by default uses lines normally reserved for JTAG on ESP32. If this is an issue, either because of hardwired JTAG hardware or because of the need to do JTAG debugging, feel free to change the GPIO settings by editing defines in the top of main.c in the master/slave source code.