Răsfoiți Sursa

Document verified allexoK ESP32-S3 board pin map and GPIO correction

SybexXx 3 zile în urmă
părinte
comite
db09811c3c
1 a modificat fișierele cu 45 adăugiri și 0 ștergeri
  1. 45 0
      code/components/jomjol_controlGPIO/BOARD_GPIO_PROFILES.md

+ 45 - 0
code/components/jomjol_controlGPIO/BOARD_GPIO_PROFILES.md

@@ -39,6 +39,51 @@ general-purpose user pins. In particular:
 - GPIO2, GPIO14 and GPIO15 belong to the active 1-bit SDMMC interface.
 - GPIO2, GPIO14 and GPIO15 belong to the active 1-bit SDMMC interface.
 - Camera, flash/PSRAM and board status LED pins remain reserved.
 - Camera, flash/PSRAM and board status LED pins remain reserved.
 
 
+## allexoK ESP32-S3-POE-A-CAM+ (BOARD_ESP32_S3_ALEKSEI reference)
+
+The allexoK fork's `esp32s3-test` branch provides a concrete board definition
+and a working PlatformIO environment named `esp32s3-aleksei`. Its current
+pin map in `code/include/defines.h` assigns:
+
+| Function | GPIO |
+|---|---:|
+| Ethernet power enable | 45 |
+| Peripheral power enable | 46 |
+| W5500 SPI MOSI / MISO / CLK / CS / INT | 1 / 14 / 21 / 39 / 38 |
+| SDMMC CLK / CMD / D0 | 40 / 42 / 41 |
+| SD DAT1 / DAT2 / DAT3 (4-bit mode) | 4 / 12 / 13 |
+| Camera XCLK / SIOD / SIOC | 15 / 4 / 5 |
+| Camera D7..D0 | 16 / 17 / 18 / 47 / 10 / 8 / 9 / 11 |
+| Camera VSYNC / HREF / PCLK | 6 / 7 / 13 |
+| Board status LED / camera flash LED | 48 / 48 |
+| External WS2812 chain | 12 |
+| Battery ADC | 2 |
+
+The fork's history documents an important correction. In the initial running
+version, camera D4 was assigned to GPIO12. Commit `9370e60d33` moved the
+external WS281x channel to GPIO47; commit `d3650e188d` then explicitly
+restored GPIO12 for the LED chain and assigned camera D4 to GPIO47. Therefore
+the current mapping is **camera D4 = GPIO47** and **WS2812 = GPIO12**. Never
+reuse the earlier GPIO12 camera-D4 mapping.
+
+The current fork also selects Octal PSRAM in `sdkconfig.esp32s3-aleksei`.
+Consequently GPIO33-GPIO37 must be treated as memory-reserved, in addition
+to the camera, SDMMC, W5500, power-control, UART, USB/JTAG, strap and LED pins
+listed above. The board-specific profile added here deliberately exposes no
+general-purpose user GPIOs. The four-channel limit remains a maximum, not a
+promise that every board has four free pins.
+
+Source references:
+- `allexoK/AI-on-the-edge-device`, branch `esp32s3-test`, commit
+  `83336e031c8d89dc75a89859fb616e14f19213e3`
+- `code/include/defines.h`, `code/platformio.ini`,
+  `code/sdkconfig.esp32s3-aleksei`, `code/main/main.cpp`
+- Pin correction history: `9370e60d33` and `d3650e188d`
+
+This is a board-specific reference only. Confirm the exact PCB revision,
+module variant and schematic errata before using the profile on a different
+ESP32-S3 carrier or module.
+
 ## Adding another board (including ESP32-S3)
 ## Adding another board (including ESP32-S3)
 
 
 A new board must have its own profile. Before adding any user pin, audit the
 A new board must have its own profile. Before adding any user pin, audit the