From 7bb1d40d98d95de8e4801e62be1ccbaedebe4651 Mon Sep 17 00:00:00 2001 From: Renze Nicolai Date: Mon, 28 Oct 2024 18:49:37 +0100 Subject: [PATCH] Document WHY2025 badge: ESP32-P4 GPIO --- .../en/docs/Badges/WHY2025/hardware/_index.md | 7 ++ .../Badges/WHY2025/hardware/pinout/_index.md | 82 +++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 content/en/docs/Badges/WHY2025/hardware/_index.md create mode 100644 content/en/docs/Badges/WHY2025/hardware/pinout/_index.md diff --git a/content/en/docs/Badges/WHY2025/hardware/_index.md b/content/en/docs/Badges/WHY2025/hardware/_index.md new file mode 100644 index 0000000..39156ff --- /dev/null +++ b/content/en/docs/Badges/WHY2025/hardware/_index.md @@ -0,0 +1,7 @@ +--- +title: "WHY2025 badge hardware" +linkTitle: "Hardware" +nodateline: true +weight: -10 +--- + diff --git a/content/en/docs/Badges/WHY2025/hardware/pinout/_index.md b/content/en/docs/Badges/WHY2025/hardware/pinout/_index.md new file mode 100644 index 0000000..a96d4a3 --- /dev/null +++ b/content/en/docs/Badges/WHY2025/hardware/pinout/_index.md @@ -0,0 +1,82 @@ +--- +title: "WHY2025 badge pinouts" +linkTitle: "Pinouts" +nodateline: true +weight: -10 +--- + +## Connectors + +## Chips + +### ESP32-P4 (U8) + +#### LDO + +| Pin number | Pin name | Pin net | +|------------|-----------------|-----------------------------------| +| 71 | VFB/VO1 | VFLASH | +| 72 | VFB/VO2 | VPSRAM | +| 73 | VFB/VO3 | VMIPI | +| 74 | VFB/VO4 | VSDCARD | + +#### GPIO + +| GPIO | Direction / Bus | Function | Note | +|----------|--------------------------|------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------| +| 0 | User controlled | Internal Add-On: E2 | | +| 1 | Depends on camera | Camera GPIO 1 | | +| 2 | User controlled | JTAG: MTCK, PMOD: IO | Can be used as JTAG interface or as generic GPIO on the external Add-On connector | +| 3 | User controlled | JTAG: MTDI, PMOD: IO | Can be used as JTAG interface or as generic GPIO on the external Add-On connector | +| 4 | User controlled | JTAG: MTMS, PMOD: IO | Can be used as JTAG interface or as generic GPIO on the external Add-On connector | +| 5 | User controlled | JTAG: MTDO, PMOD: IO | Can be used as JTAG interface or as generic GPIO on the external Add-On connector | +| 6 | Input | Interrupt from CH32V203 coprocessor | Read from the coprocessor I2C device to clear the interrupt condition | +| 7 | Input / User controlled | Interrupt from internal Add-On board | Can also be used as GPIO, depending on the needs of the internal Add-On board | +| 8 | Input | Interrupt from ESP32-C6 radio | Controlled by ESP-HOSTED component | +| 9 | I2C bus SDA | Internal I2C bus data | Internal I2C bus connecting the ESP32-P4 to the ESP32-C6, CH32V203 coprocessor, Bosch sensors and internal Add-On board | +| 10 | I2C bus SCL | Internal I2C bus clock | Internal I2C bus connecting the ESP32-P4 to the ESP32-C6, CH32V203 coprocessor, Bosch sensors and internal Add-On board | +| 11 | Input | LCD TE (Tearing effect) | Synchronization pin for frame sync, used to avoid tearing | +| 12 | User controlled | SAO: I2C SDA, PMOD: IO | Can be used as I2C interface for SAO Add-On boards or as generic GPIO on the external Add-On connector | +| 13 | User controlled | SAO: I2C SCL, PMOD: IO | Can be used as I2C interface for SAO Add-On boards or as generic GPIO on the external Add-On connector | +| 14 | Output | LCD reset | Hardware reset for the LCD controller | +| 15 | User controlled | SAO: IO1, PMOD: IO | Can be used as generic GPIO for SAO Add-On boards or as generic GPIO on the external Add-On connector | +| 16 | SDIO | SDIO bus for ESP32-C6: CMD | Controlled by ESP-HOSTED component | +| 17 | SDIO | SDIO bus for ESP32-C6: CLK | Controlled by ESP-HOSTED component | +| 18 | SDIO | SDIO bus for ESP32-C6: D0 | Controlled by ESP-HOSTED component | +| 19 | SDIO | SDIO bus for ESP32-C6: D1 | Controlled by ESP-HOSTED component | +| 20 | SDIO | SDIO bus for ESP32-C6: D2 | Controlled by ESP-HOSTED component | +| 21 | SDIO | SDIO bus for ESP32-C6: D3 | Controlled by ESP-HOSTED component | +| 22 | Bidirectional | CH32V203 programming interface: SWDIO | For coprocessor firmware updates | +| 23 | Output | CH32V203 programming interface: SWCLK | For coprocessor firmware updates | +| 24 | USB | USB DN, port 1 on USB hub (USB-C port) | | +| 25 | USB | USB DP, port 1 on USB hub (USB-C port) | | +| 26 | User controlled | Internal Add-On: USB DN or generic GPIO | | +| 27 | User controlled | Internal Add-On: USB DP or generic GPIO | | +| 28 | I2S | I2S: data | | +| 29 | I2S | I2S: sample clock | | +| 30 | I2S | I2S: master clock | | +| 31 | I2S | I2S: lr clock | | +| 32 | I3C | I2C/I3C QWIIC port: SDA | | +| 33 | I3C | I2C/I3C QWIIC port: SCL | | +| 34 | User controlled | SAO: IO2, PMOD: IO | | +| 35 | User controlled | Internal Add-On: E1 | | +| 36 | User controlled | Internal Add-On: E0 | | +| 37 | Output / User controlled | Debug UART transmit | | +| 38 | Input / User controlled | Debug UART receive | | +| 39 | SDIO | SD card slot: D0 | | +| 40 | SDIO | SD card slot: D1 | | +| 41 | SDIO | SD card slot: D2 | | +| 42 | SDIO | SD card slot: D3 | | +| 43 | SDIO | SD card slot: CLK | | +| 44 | SDIO | SD card slot: CMD | | +| 45 | User controlled | Internal Add-On: E3 | | +| 46 | User controlled | Internal Add-On: E6 | | +| 47 | User controlled | Internal Add-On: E5 | | +| 48 | User controlled | Internal Add-On: E4 | | +| 49 | User controlled | Internal Add-On: E7 | | +| 50 | User controlled | Internal Add-On: E8 | | +| 51 | User controlled | Internal Add-On: E9 | | +| 52 | User controlled | Internal Add-On: E10 | | +| 53 | User controlled | Internal Add-On: E11 | | +| 54 | User controlled | Internal Add-On: E12 | | +