feat: support ESP32-S3 new board bring-up
This commit is contained in:
+25
-25
@@ -1,40 +1,40 @@
|
||||
# ESP32-S3 GPIO Map
|
||||
|
||||
This document defines the reference GPIO assignments for the ESP32-S3 board,
|
||||
current as of April 8, 2026. Signal direction is described from the MCU's
|
||||
perspective.
|
||||
This document defines the reference GPIO assignments for the ESP32-S3 board
|
||||
from `SCH_招财猫0.3&商界0.2_2026-07-24.pdf`. Signal direction is described from
|
||||
the MCU's perspective.
|
||||
|
||||
## GPIO Table
|
||||
|
||||
| U4 Pin | GPIO | Net | Direction | Connection / Function | Notes |
|
||||
| U5 Pin | GPIO | Net | Direction | Connection / Function | Notes |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| 1 | GND | GND | N/A | Ground reference | Ground reference |
|
||||
| 2 | 3V3 | 3V3 | Power | 3.3 V supply rail | Power rail |
|
||||
| 3 | EN/RST | EN | Input | Chip enable and reset input | Reset and enable |
|
||||
| 4 | GPIO4 | IO4_RMT | Output | RMT control | RMT output control |
|
||||
| 5 | GPIO5 | IO5_PWM | Output | PWM control | PWM output control |
|
||||
| 6 | GPIO6 | ESP_IO6 | Output | Display interface CS | U9 |
|
||||
| 7 | GPIO7 | ESP_IO7 | Output | Display interface A0 (RS) | U9 |
|
||||
| 8 | GPIO15 | ESP_IO15 | Input | Function key K2 | 10 kOhm pull-up to 3V3; pulled to GND when pressed |
|
||||
| 9 | GPIO16 | UNASSIGNED | N/A | No connection assigned | Reserved; no signal assigned |
|
||||
| 10 | GPIO17 | ESP_IO17 | Output | Display interface SDA | U9 |
|
||||
| 11 | GPIO18 | ESP_IO18 | Output | Display interface SCK | U9 |
|
||||
| 12 | GPIO8 | UNASSIGNED | N/A | No connection assigned | Reserved; no signal assigned |
|
||||
| 4 | GPIO4 | TP_INT | Bidirectional | Optional touch interrupt / reusable IO | Not connected by the 8-wire LCD adapter |
|
||||
| 5 | GPIO5 | TP_SDA | Bidirectional | Optional touch I2C SDA / reusable IO | Not connected by the 8-wire LCD adapter |
|
||||
| 6 | GPIO6 | TP_SCL | Bidirectional | Optional touch I2C SCL / reusable IO | Not connected by the 8-wire LCD adapter |
|
||||
| 7 | GPIO7 | BLK | Output | LCD adapter backlight control | Active-high firmware default |
|
||||
| 8 | GPIO15 | CS | Output | ST7789P3 SPI chip select | Active low |
|
||||
| 9 | GPIO16 | DC | Output | ST7789P3 data/command select | Also named A0 by the panel specification |
|
||||
| 10 | GPIO17 | RES | Output | ST7789P3 hardware reset | Active low |
|
||||
| 11 | GPIO18 | MOSI | Output | ST7789P3 SPI data / SDA | 4-line SPI write data |
|
||||
| 12 | GPIO8 | CLK / Swing | Output | ST7789P3 SPI clock | Do not drive the Swing function while the LCD is connected |
|
||||
| 13 | GPIO19 | ESP_D_N | Bidirectional | USB D- | Type-C |
|
||||
| 14 | GPIO20 | ESP_D_P | Bidirectional | USB D+ | Type-C |
|
||||
| 15 | GPIO3 | ESP_IO3 | Output | Display interface RST | U9 JLX240-00302 |
|
||||
| 15 | GPIO3 | touch | Input | TTP223 touch-button output / PTT | Active high |
|
||||
| 16 | GPIO46 | UNASSIGNED | N/A | No connection assigned | Reserved; no signal assigned |
|
||||
| 17 | GPIO9 | ESP_IO9 | Output | Display interface LEDA | U9 |
|
||||
| 18 | GPIO10 | SWING_PWM | Output | Swing coil control interface | J3 |
|
||||
| 19 | GPIO11 | UNASSIGNED | N/A | No connection assigned | Reserved; no signal assigned |
|
||||
| 20 | GPIO12 | PA_CTRL | Output | NS4150B CTRL | Amplifier control |
|
||||
| 21 | GPIO13 | IN1 | Output | ULN2003 IN1 | Stepper motor phase control |
|
||||
| 22 | GPIO14 | IN2 | Output | ULN2003 IN2 | Stepper motor phase control |
|
||||
| 23 | GPIO21 | IN3 | Output | ULN2003 IN3 | Stepper motor phase control |
|
||||
| 24 | GPIO47 | IN4 | Output | ULN2003 IN4 | Stepper motor phase control |
|
||||
| 25 | GPIO48 | SW_1 | Input | Microswitch interface for turntable calibration | External connector J7 |
|
||||
| 26 | GPIO45 | SW_2 | Input | Microswitch interface for slot-machine feature | External connector J? |
|
||||
| 27 | GPIO0 | UNLABELED | Input | K1 switch to GND | Purpose not annotated; commonly used for boot or download strapping |
|
||||
| 17 | GPIO9 | Power | Output | Board power hold | Active high |
|
||||
| 18 | GPIO10 | Charge | Input | Charger status | Not consumed by current firmware |
|
||||
| 19 | GPIO11 | PA_CTRL | Output | Audio power-amplifier enable | Amplifier control |
|
||||
| 20 | GPIO12 | SW1 | Input | Turntable calibration microswitch | External 10 kOhm pull-up; active low |
|
||||
| 21 | GPIO13 | SW2 | Input | Slot-machine feature switch | External 10 kOhm pull-up; active low |
|
||||
| 22 | GPIO14 | UNASSIGNED | N/A | No connection assigned | Reserved; no signal assigned |
|
||||
| 23 | GPIO21 | IN4 | Output | ULN2003 IN4 | Stepper motor phase control |
|
||||
| 24 | GPIO47 | IN3 | Output | ULN2003 IN3 | Stepper motor phase control |
|
||||
| 25 | GPIO48 | IN2 | Output | ULN2003 IN2 | Stepper motor phase control |
|
||||
| 26 | GPIO45 | IN1 | Output | ULN2003 IN1 | Stepper motor phase control |
|
||||
| 27 | GPIO0 | BOOT | Input | Boot/download switch | 10 kOhm pull-up to 3V3 |
|
||||
| 28 | GPIO35 | UNASSIGNED | N/A | No connection assigned | Reserved; no signal assigned |
|
||||
| 29 | GPIO36 | UNASSIGNED | N/A | No connection assigned | Reserved; no signal assigned |
|
||||
| 30 | GPIO37 | UNASSIGNED | N/A | No connection assigned | Reserved; no signal assigned |
|
||||
|
||||
Reference in New Issue
Block a user