diff --git a/cpu/esp32/doc_esp32.txt b/cpu/esp32/doc_esp32.txt index b21580f87c..d533594e04 100644 --- a/cpu/esp32/doc_esp32.txt +++ b/cpu/esp32/doc_esp32.txt @@ -159,35 +159,35 @@ though it **can vary** from board to board. Device |Signal| Pin | Symbol | Remarks :-----------------------|:----:|:-------|:-----------:|:--------------------------- -`SPI_HOST0`/`SPI_HOST1` | SCK | GPIO6 |- | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | CMD | GPIO11 |- | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SD0 | GPIO7 |- | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SD1 | GPIO8 |- | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SD2 | GPIO9 |- | reserved for flash and PSRAM (only in `qio` or `qout` mode) -`SPI_HOST0`/`SPI_HOST1` | SD3 | GPIO10 |- | reserved for flash and PSRAM (only in `qio` or `qout` mode) -`SPI_HOST2` (`HSPI`) | SCK | GPIO14 |`#SPI1_SCK` | can be used -`SPI_HOST2` (`HSPI`) | MISO | GPIO12 |`#SPI1_MISO` | can be used -`SPI_HOST2` (`HSPI`) | MOSI | GPIO13 |`#SPI1_MOSI` | can be used -`SPI_HOST2` (`HSPI`) | CS0 | GPIO15 |`#SPI1_CS0` | can be used -`SPI_HOST3` (`VSPI`) | SCK | GPIO18 |`#SPI0_SCK` | can be used -`SPI_HOST3` (`VSPI`) | MISO | GPIO19 |`#SPI0_MISO` | can be used -`SPI_HOST3` (`VSPI`) | MOSI | GPIO23 |`#SPI0_MOSI` | can be used -`SPI_HOST3` (`VSPI`) | CS0 | GPIO5 |`#SPI0_CS0` | can be used +`SPI0_HOST`/`SPI1_HOST` | SCK | GPIO6 |- | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | CMD | GPIO11 |- | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SD0 | GPIO7 |- | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SD1 | GPIO8 |- | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SD2 | GPIO9 |- | reserved for flash and PSRAM (only in `qio` or `qout` mode) +`SPI0_HOST`/`SPI1_HOST` | SD3 | GPIO10 |- | reserved for flash and PSRAM (only in `qio` or `qout` mode) +`SPI2_HOST` (`HSPI`) | SCK | GPIO14 |`#SPI1_SCK` | can be used +`SPI2_HOST` (`HSPI`) | MISO | GPIO12 |`#SPI1_MISO` | can be used +`SPI2_HOST` (`HSPI`) | MOSI | GPIO13 |`#SPI1_MOSI` | can be used +`SPI2_HOST` (`HSPI`) | CS0 | GPIO15 |`#SPI1_CS0` | can be used +`SPI3_HOST` (`VSPI`) | SCK | GPIO18 |`#SPI0_SCK` | can be used +`SPI3_HOST` (`VSPI`) | MISO | GPIO19 |`#SPI0_MISO` | can be used +`SPI3_HOST` (`VSPI`) | MOSI | GPIO23 |`#SPI0_MOSI` | can be used +`SPI3_HOST` (`VSPI`) | CS0 | GPIO5 |`#SPI0_CS0` | can be used
-Some boards use the `HSPI` (`SPI_HOST2`) as SD-Card interface (SDIO) in 4-bit SD mode. +Some boards use the `HSPI` (`SPI2_HOST`) as SD-Card interface (SDIO) in 4-bit SD mode.
Device | Pin | SD 4-bit mode | SPI mode :---------------------|:------:|:-------------:|:----------: -`SPI_HOST2` (`HSPI`) | GPIO14 | CLK | SCK -`SPI_HOST2` (`HSPI`) | GPIO15 | CMD | CS0 -`SPI_HOST2` (`HSPI`) | GPIO2 | DAT0 | MISO -`SPI_HOST2` (`HSPI`) | GPIO4 | DAT1 | - -`SPI_HOST2` (`HSPI`) | GPIO12 | DAT2 | - -`SPI_HOST2` (`HSPI`) | GPIO13 | DAT3 | MOSI +`SPI2_HOST` (`HSPI`) | GPIO14 | CLK | SCK +`SPI2_HOST` (`HSPI`) | GPIO15 | CMD | CS0 +`SPI2_HOST` (`HSPI`) | GPIO2 | DAT0 | MISO +`SPI2_HOST` (`HSPI`) | GPIO4 | DAT1 | - +`SPI2_HOST` (`HSPI`) | GPIO12 | DAT2 | - +`SPI2_HOST` (`HSPI`) | GPIO13 | DAT3 | MOSI

diff --git a/cpu/esp32/doc_esp32c3.txt b/cpu/esp32/doc_esp32c3.txt index f8fe0e9e93..dd9ad592eb 100644 --- a/cpu/esp32/doc_esp32c3.txt +++ b/cpu/esp32/doc_esp32c3.txt @@ -129,16 +129,16 @@ though it **can vary** from board to board. Device | Signal | Pin | Symbol | Remarks :-----------------------|:------:|:-------|:-----------:|:--------------------------- -`SPI_HOST0`/`SPI_HOST1` | SPICS0 | GPIO14 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPICLK | GPIO15 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPID | GPIO16 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPIQ | GPIO17 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPIHD | GPIO12 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) -`SPI_HOST0`/`SPI_HOST1` | SPIWP | GPIO13 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) -`SPI_HOST2` (`FSPI`) | SCK | GPIO6 |`#SPI0_SCK` | can be used -`SPI_HOST2` (`FSPI`) | MOSI | GPIO7 |`#SPI0_MOSI` | can be used -`SPI_HOST2` (`FSPI`) | MISO | GPIO2 |`#SPI0_MISO` | can be used -`SPI_HOST2` (`FSPI`) | CS0 | GPIO10 |`#SPI0_CS0` | can be used +`SPI0_HOST`/`SPI1_HOST` | SPICS0 | GPIO14 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPICLK | GPIO15 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPID | GPIO16 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPIQ | GPIO17 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPIHD | GPIO12 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) +`SPI0_HOST`/`SPI1_HOST` | SPIWP | GPIO13 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) +`SPI2_HOST` (`FSPI`) | SCK | GPIO6 |`#SPI0_SCK` | can be used +`SPI2_HOST` (`FSPI`) | MOSI | GPIO7 |`#SPI0_MOSI` | can be used +`SPI2_HOST` (`FSPI`) | MISO | GPIO2 |`#SPI0_MISO` | can be used +`SPI2_HOST` (`FSPI`) | CS0 | GPIO10 |`#SPI0_CS0` | can be used
diff --git a/cpu/esp32/doc_esp32s2.txt b/cpu/esp32/doc_esp32s2.txt index 0a0d480ad6..1d4123e1b4 100644 --- a/cpu/esp32/doc_esp32s2.txt +++ b/cpu/esp32/doc_esp32s2.txt @@ -223,22 +223,22 @@ though it **can vary** from board to board. Device | Signal | Pin | Symbol | Remarks :-----------------------|:------:|:-------|:-----------:|:--------------------------- -`SPI_HOST0`/`SPI_HOST1` | SPICS0 | GPIO29 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPICS1 | GPIO26 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPICLK | GPIO30 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPID | GPIO32 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPIQ | GPIO31 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPIHD | GPIO27 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) -`SPI_HOST0`/`SPI_HOST1` | SPIWP | GPIO28 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) -`SPI_HOST0`/`SPI_HOST1` | SPIIO4 | GPIO33 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST0`/`SPI_HOST1` | SPIIO5 | GPIO34 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST0`/`SPI_HOST1` | SPIIO6 | GPIO35 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST0`/`SPI_HOST1` | SPIIO7 | GPIO36 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST0`/`SPI_HOST1` | SPIDQA | GPIO37 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST2` (`FSPI`) | SCK | GPIO12 |`#SPI0_SCK` | can be used -`SPI_HOST2` (`FSPI`) | MOSI | GPIO11 |`#SPI0_MOSI` | can be used -`SPI_HOST2` (`FSPI`) | MISO | GPIO13 |`#SPI0_MISO` | can be used -`SPI_HOST2` (`FSPI`) | CS0 | GPIO10 |`#SPI0_CS0` | can be used +`SPI0_HOST`/`SPI1_HOST` | SPICS0 | GPIO29 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPICS1 | GPIO26 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPICLK | GPIO30 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPID | GPIO32 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPIQ | GPIO31 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPIHD | GPIO27 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) +`SPI0_HOST`/`SPI1_HOST` | SPIWP | GPIO28 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) +`SPI0_HOST`/`SPI1_HOST` | SPIIO4 | GPIO33 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI0_HOST`/`SPI1_HOST` | SPIIO5 | GPIO34 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI0_HOST`/`SPI1_HOST` | SPIIO6 | GPIO35 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI0_HOST`/`SPI1_HOST` | SPIIO7 | GPIO36 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI0_HOST`/`SPI1_HOST` | SPIDQA | GPIO37 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI2_HOST` (`FSPI`) | SCK | GPIO12 |`#SPI0_SCK` | can be used +`SPI2_HOST` (`FSPI`) | MOSI | GPIO11 |`#SPI0_MOSI` | can be used +`SPI2_HOST` (`FSPI`) | MISO | GPIO13 |`#SPI0_MISO` | can be used +`SPI2_HOST` (`FSPI`) | CS0 | GPIO10 |`#SPI0_CS0` | can be used
diff --git a/cpu/esp32/doc_esp32s3.txt b/cpu/esp32/doc_esp32s3.txt index d5f8306800..d44ee143b0 100644 --- a/cpu/esp32/doc_esp32s3.txt +++ b/cpu/esp32/doc_esp32s3.txt @@ -231,22 +231,22 @@ though it **can vary** from board to board. Device | Signal | Pin | Symbol | Remarks :-----------------------|:------:|:-------|:-----------:|:--------------------------- -`SPI_HOST0`/`SPI_HOST1` | SPICS0 | GPIO29 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPICS1 | GPIO26 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPICLK | GPIO30 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPID | GPIO32 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPIQ | GPIO31 | - | reserved for flash and PSRAM -`SPI_HOST0`/`SPI_HOST1` | SPIHD | GPIO27 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) -`SPI_HOST0`/`SPI_HOST1` | SPIWP | GPIO28 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) -`SPI_HOST0`/`SPI_HOST1` | SPIIO4 | GPIO33 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST0`/`SPI_HOST1` | SPIIO5 | GPIO34 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST0`/`SPI_HOST1` | SPIIO6 | GPIO35 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST0`/`SPI_HOST1` | SPIIO7 | GPIO36 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST0`/`SPI_HOST1` | SPIDQA | GPIO37 | - | reserved for Flash and PSRAM (only in octal mode) -`SPI_HOST2` (`FSPI`) | SCK | GPIO12 |`#SPI0_SCK` | can be used -`SPI_HOST2` (`FSPI`) | MOSI | GPIO11 |`#SPI0_MOSI` | can be used -`SPI_HOST2` (`FSPI`) | MISO | GPIO13 |`#SPI0_MISO` | can be used -`SPI_HOST2` (`FSPI`) | CS0 | GPIO10 |`#SPI0_CS0` | can be used +`SPI0_HOST`/`SPI1_HOST` | SPICS0 | GPIO29 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPICS1 | GPIO26 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPICLK | GPIO30 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPID | GPIO32 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPIQ | GPIO31 | - | reserved for flash and PSRAM +`SPI0_HOST`/`SPI1_HOST` | SPIHD | GPIO27 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) +`SPI0_HOST`/`SPI1_HOST` | SPIWP | GPIO28 | - | reserved for flash and PSRAM (only in `qio` or `qout` mode) +`SPI0_HOST`/`SPI1_HOST` | SPIIO4 | GPIO33 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI0_HOST`/`SPI1_HOST` | SPIIO5 | GPIO34 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI0_HOST`/`SPI1_HOST` | SPIIO6 | GPIO35 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI0_HOST`/`SPI1_HOST` | SPIIO7 | GPIO36 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI0_HOST`/`SPI1_HOST` | SPIDQA | GPIO37 | - | reserved for Flash and PSRAM (only in octal mode) +`SPI2_HOST` (`FSPI`) | SCK | GPIO12 |`#SPI0_SCK` | can be used +`SPI2_HOST` (`FSPI`) | MOSI | GPIO11 |`#SPI0_MOSI` | can be used +`SPI2_HOST` (`FSPI`) | MISO | GPIO13 |`#SPI0_MISO` | can be used +`SPI2_HOST` (`FSPI`) | CS0 | GPIO10 |`#SPI0_CS0` | can be used