ESP32-S2
A single-core Xtensa LX7 chip at up to 240 MHz with 2.4 GHz Wi-Fi and no Bluetooth, a full-speed USB OTG port, 43 GPIOs and two ULP coprocessors (RISC-V and FSM).
In short
- Native USB OTG. Full-speed USB 2.0 OTG with an on-chip PHY; the ROM can also download firmware over USB-OTG.1
- Two ULP coprocessors. A RISC-V (RV32IMC) ULP core in addition to the ULP-FSM, both able to run from RTC slow memory during Deep-sleep; only one of them runs at a time.1
- Many GPIOs and analog channels. 43 GPIOs, 20 ADC channels, two 8-bit DACs and 14 touch pads with waterproof design and digital filtering.1
- Security blocks. XTS-AES encryption of external flash and RAM, RSA-PSS secure boot, plus HMAC and RSA digital signature peripherals with software-inaccessible keys.1
- LCD and camera. Parallel LCD (8/16/24-bit) and an 8/16-bit DVP camera through I2S, serial RGB/8080/6800 LCD through SPI2.1
Overview
Within the family
Highlighted: ESP32-S2. Click a bar to open another chip.
GPIO map
- 0
- 1ADC1·0T1
- 2ADC1·1T2
- 3ADC1·2T3
- 4ADC1·3T4
- 5ADC1·4T5
- 6ADC1·5T6
- 7ADC1·6T7
- 8ADC1·7T8
- 9ADC1·8T9
- 10ADC1·9T10
- 11ADC2·0T11
- 12ADC2·1T12
- 13ADC2·2T13
- 14ADC2·3T14
- 15ADC2·4
- 16ADC2·5
- 17ADC2·6
- 18ADC2·7
- 19ADC2·8
- 20ADC2·9
- 21
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
SOC_GPIO_VALID_GPIO_MASK). Not every package brings out all of them; see the variants table.- Strapping: GPIO 0, 45, 46. Sampled at reset: boot mode (GPIO0, GPIO46), VDD_SPI voltage (GPIO45), ROM message printing (GPIO46).
- Flash: GPIO 27, 28, 29, 30, 31, 32. SPI0/1 bus to in-package or external flash (SPIHD, SPIWP, SPICS0, SPICLK, SPIQ, SPID). Not for other use.
- PSRAM: GPIO 26. SPICS1 (GPIO26) is the chip select of the in-package PSRAM; PSRAM shares the other SPI0/1 lines with flash.
- USB: GPIO 19, 20. USB_D- = GPIO19, USB_D+ = GPIO20; connected to USB OTG by default.
- Input only: GPIO 46. GPIO46 is input only, with a fixed pull-down.
- JTAG: GPIO 39, 40, 41, 42. JTAG: MTCK = GPIO39, MTDO = GPIO40, MTDI = GPIO41, MTMS = GPIO42.1
- UART0: GPIO 43, 44. UART0 TX = GPIO43, RX = GPIO44 (console and UART download).1
- DAC: GPIO 17, 18. DAC_1 = GPIO17, DAC_2 = GPIO18.1
- 32 kHz XTAL: GPIO 15, 16. 32 kHz crystal: XTAL_32K_P = GPIO15, XTAL_32K_N = GPIO16.1
Strapping pins in detail: ESP32-S2 strapping pins and boot modes.
Specifications
| Core | |
|---|---|
| Architecture | Xtensa® 32-bit LX7, single-core1 |
| HP cores | 112 |
| Max clock | 240 MHz1 |
| FPU | — No (float and double are emulated in software) |
| Low-power core | ULP-RISC-V (RV32IMC) and ULP-FSM; not at the same time12 |
| Memory | |
| SRAM | 320 KB1 |
| ROM | 128 KB1 |
| RTC / LP SRAM | 16 KB (8 KB RTC FAST + 8 KB RTC SLOW)1 |
| Flash in package | 4 MB Quad SPI (ESP32-S2FH4, ESP32-S2FN4R2); 2 MB on the EOL ESP32-S2FH21 |
| PSRAM in package | 2 MB Quad SPI (ESP32-S2FN4R2, ESP32-S2R2)1 |
| External memory | SPI/QSPI/OSPI flash and RAM; up to 1 GB of external flash and RAM supported12 |
| Radio | |
| Wi-Fi | 802.11 b/g/n, 2.4 GHz, 1T1R, up to 150 Mbps12 |
| 5 GHz band | — No, 2.4 GHz only |
| Wi-Fi 6 | — No (802.11 b/g/n) |
| Bluetooth LE | — |
| Bluetooth Classic | — |
| IEEE 802.15.4 | — |
| GPIO and analog | |
| GPIO | 43 GPIOs (GPIO0–21, GPIO26–46)12 |
| ADC | 2 × 12-bit SAR ADC, 20 channels (ADC1: 10, ADC2: 10)12 |
| DAC | 2 × 8-bit (GPIO17, GPIO18)12 |
| Touch | 14 channels (TOUCH1–TOUCH14 on GPIO1–GPIO14)12 |
| Temperature sensor | Yes, –20…110 °C range, measures the die temperature12 |
| Interfaces | |
| UART | 2 (UART0, UART1)12 |
| I²C | 212 |
| I²S | 112 |
| SPI | 2 general-purpose (SPI2, SPI3); 4 SPI controllers in total, SPI0/SPI1 only in SPI memory mode1 |
| LED PWM | 8 channels12 |
| MCPWM | — |
| RMT | 4 channels, each usable for TX or RX12 |
| TWAI (CAN) | 1 (CAN 2.0)12 |
| Pulse counter | 4 units12 |
| USB OTG | Yes, USB 2.0 full speed (no 480 Mbit/s high speed), integrated PHY12 |
| USB Serial/JTAG | — |
| SD / SDIO | — |
| Ethernet MAC | — |
| LCD / camera | LCD: 8-bit serial RGB/8080/6800 via SPI2, 8/16/24-bit parallel via I2S; 8/16-bit DVP camera via I2S12 |
| Security and package | |
| Security | Secure boot (RSA-PSS), XTS-AES flash and RAM encryption, 4096-bit OTP (1792 bits for users), AES, SHA, RSA, HMAC, digital signature, RNG12 |
| Package | QFN56, 7×7 mm1 |
| Supply | 3.0–3.6 V on VDD3P3_RTC_IO; 2.8–3.6 V on VDDA, VDD3P3, VDD3P3_RTC and VDD3P3_CPU1 |
Variants
| Part number | Flash | PSRAM | Temperature | |
|---|---|---|---|---|
ESP32-S2 | — | — | –40…105 °C | 1 |
ESP32-S2FH4 | 4 MB (Quad SPI) | — | –40…105 °C | 1 |
ESP32-S2FN4R2 | 4 MB (Quad SPI) | 2 MB (Quad SPI) | –40…85 °C | 1 |
ESP32-S2R2 | — | 2 MB (Quad SPI) | –40…85 °C | 1 |
ESP32-S2FH2 | 2 MB (Quad SPI) | — | –40…105 °C | EOL1 |
Pitfalls
The LX7 core here has no floating point unit: float and double are emulated in software. ESP-IDF recommends fixed point or integer arithmetic where possible.3
No Bluetooth and a single CPU core: firmware written for ESP32 that relies on Bluetooth or on a second core has to be adapted.1
SAR ADC2 is arbitrated between the RTC and digital controllers and the Wi-Fi power detector. A conversion can be interrupted or not started, and its value is then invalid; in ESP-IDF adc_oneshot_read() can return ESP_ERR_TIMEOUT.6
GPIO26–32 are the SPI0/1 bus of the in-package or external flash and PSRAM. GPIO33–37 are also taken when flash or PSRAM is connected in 8-line (octal) mode.1
GPIO45 high at reset selects the 1.8 V regulator for VDD_SPI (unless set by eFuse); GPIO46 takes part in boot mode selection, is input only and has a fixed pull-down.1
GPIO19 and GPIO20 are USB D- and D+ and are connected to USB OTG by default; to use them as GPIO they must be reconfigured.1
Where the sources disagree
- spi. The datasheet counts four SPI interfaces (SPI0–SPI3); soc_caps.h has SOC_SPI_PERIPH_NUM 3. The page shows 2 general-purpose controllers (SPI2, SPI3), as the datasheet describes them. Resolution: Different counting; value 2 taken from the datasheet description of SPI2/SPI3.12
- touch. The datasheet says 14 touch GPIOs; soc_caps.h has SOC_TOUCH_SENSOR_NUM 15. Resolution: Resolved: channel 0 is an internal denoise channel without a pin; channels 1–14 are on GPIO1–14. Value 14.122
- adc_bits. The datasheet says 12-bit SAR ADCs; soc_caps.h gives the RTC controller a bit width of 13 (SOC_ADC_RTC_MAX_BITWIDTH 13), the digital controller 12. Resolution: Value 12 per datasheet, with the TRM note about 13 bits on chip revision v0.0 in the text. Why ESP-IDF uses 13 bits for the RTC controller is not stated in the sources; not explained on the page.1226
- ledc duty resolution. The datasheet says duty accuracy up to 18 bits; soc_caps.h has SOC_LEDC_TIMER_BIT_WIDTH 14. Resolution: Not a spec key; duty resolution is not shown on the page.12
- bt / usb_serial_jtag. The datasheet has two stray mentions of features the chip does not have: 'Wi-Fi + Bluetooth Networking Card' in Applications, and 'USB Serial/JTAG' and 'UART2' as examples in the generic text of Section 2.3.6. Resolution: Treated as template text. The feature list, functional description and soc_caps.h (no SOC_BT_SUPPORTED, no SOC_USB_SERIAL_JTAG_SUPPORTED, SOC_UART_NUM 2) agree that there is no Bluetooth, no USB Serial/JTAG and no UART2.1111
Boards with the ESP32-S2
Sources
Each number on this page links here. Open “What it confirms” to see the exact quote behind every value. Checked 2026-11-28.
- ESP32-S2 Series Datasheet v1.9 primary
What it confirms (62)
- ESP32-S2: Architecture “single-core 32-bit LX7 microprocessor, up to 240 MHz”
- ESP32-S2: HP cores “single-core 32-bit LX7 microprocessor, up to 240 MHz”
- ESP32-S2: Max clock “single-core 32-bit LX7 microprocessor, up to 240 MHz”
- ESP32-S2: Low-power core “ULP-RISC-V coprocessor … ULP-FSM coprocessor … support for RV32IMC instruction set … Note that these two co-processors cannot work simultaneously.”
- ESP32-S2: SRAM “SRAM: 320 KB”
- ESP32-S2: ROM “ROM: 128 KB”
- ESP32-S2: RTC / LP SRAM “SRAM in RTC: 16 KB … RTC FAST Memory: 8 KB of SRAM in RTC. … RTC SLOW Memory: 8 KB of SRAM in RTC.”
- ESP32-S2: Flash in package “ESP32-S2FH4 4 MB (Quad SPI) … ESP32-S2FN4R2 4 MB (Quad SPI) 2 MB (Quad SPI) … ESP32-S2FH2 – End of life (EOL) 2 MB (Quad SPI)”
- ESP32-S2: PSRAM in package “ESP32-S2FN4R2 4 MB (Quad SPI) 2 MB (Quad SPI) … ESP32-S2R2 — 2 MB (Quad SPI)”
- ESP32-S2: Wi-Fi “IEEE 802.11 b/g/n-compliant … Single-band 1T1R mode with data rate up to 150 Mbps”
- ESP32-S2: 5 GHz band “Supports 20 MHz, 40 MHz bandwidth in 2.4 GHz band”
- ESP32-S2: Wi-Fi 6 “IEEE 802.11 b/g/n-compliant”
- ESP32-S2: GPIO “43 programmable GPIOs … The ESP32-S2 chip features 43 physical GPIO pins (GPIO0 ~ GPIO21 and GPIO26 ~ GPIO46).”
- ESP32-S2: ADC “ESP32-S2 integrates two 12-bit SAR ADCs and supports measurements on 20 channels”
- ESP32-S2: Touch “14 touch sensing GPIOs … ESP32-S2 has 14 capacitive-sensing GPIOs”
- ESP32-S2: DAC “Two 8-bit DACs”
- ESP32-S2: UART “ESP32-S2 has two UART interfaces, i.e., UART0, UART1”
- ESP32-S2: I²C “Two I2Cs”
- ESP32-S2: I²S “ESP32-S2 includes a standard I2S interface.”
- ESP32-S2: SPI “ESP32-S2 features four SPI interfaces (SPI0, SPI1, SPI2 and SPI3). … SPI0 and SPI1 can only be configured to … SPI2 can be configured to operate in SPI memory and general-purpose SPI … SPI3 can only be configured to operate in general-purpose SPI mode.”
- ESP32-S2: LED PWM “LED PWM controller, up to 8 channels”
- ESP32-S2: RMT “The infrared remote controller supports four channels of infrared remote transmission and reception.”
- ESP32-S2: TWAI (CAN) “TWAI® controller compatible with ISO 11898-1 (CAN Specification 2.0)”
- ESP32-S2: Pulse counter “Four pulse counters”
- ESP32-S2: USB OTG “Full-speed USB OTG … Note that it does not support the faster 480 Mbit/s high-speed transfer mode … a full-speed USB PHY integrated in the chip”
- ESP32-S2: LCD / camera “LCD interface (8-bit serial RGB/8080/6800), implemented using the hardware resources of SPI2 … LCD interface (8/16/24-bit parallel), implemented using the hardware resources of I2S … DVP 8/16 camera interface, implemented using the hardware resources of I2S”
- ESP32-S2: Temperature sensor “The temperature sensor has a range of –20 °C to 110 °C. … It is designed primarily to sense the temperature”
- ESP32-S2: Native USB OTG “ESP32-S2 features a full-speed USB OTG interface which is compliant with the USB 2.0 specification … a full-speed USB PHY integrated in the chip … USB-OTG Download Boot”
- ESP32-S2: Two ULP coprocessors “ESP32-S2 has two ULP co-processors, with one based on RISC-V instruction set architecture (ULP-RISC-V) … support for RV32IMC instruction set … the developer can store a program for the ULP co-processor in the RTC slow memory … Note that these two co-processors cannot work simultaneously.”
- ESP32-S2: Many GPIOs and analog channels “43 programmable GPIOs … Two 12-bit SAR ADCs, up to 20 channels … Two 8-bit DACs … 14 touch sensing GPIOs … The touch sensing performance can be further enhanced by the waterproof design and”
- ESP32-S2: Security blocks “Transparent external flash and RAM encryption (AES-XTS) with software inaccessible key … HMAC module can use a software inaccessible MAC key … RSA Digital Signature Peripheral (RSA_DS) can use a software inaccessible secure key”
- ESP32-S2: LCD and camera “LCD interface (8/16/24-bit parallel), implemented using the hardware resources of I2S … DVP 8/16 camera interface, implemented using the hardware resources of I2S … LCD interface (8-bit serial RGB/8080/6800), implemented using the hardware resources of SPI2”
- ESP32-S2: Strapping pins “Strapping pins: GPIO0 and GPIO46 … Strapping pin: GPIO45 … Strapping pin: GPIO46”
- ESP32-S2: Flash pins “GPIO26, GPIO27, GPIO28, GPIO29, GPIO30, GPIO31, GPIO32 : SPI0/1 interface connected to … SPI0/1: GPIO26-32 are usually used for SPI flash and PSRAM and not recommended for other uses. … CS0 is for in-package flash”
- ESP32-S2: PSRAM pins “29 GPIO26 SPICS1 O/T GPIO26 I/O/T … CS1 is for in-package PSRAM”
- ESP32-S2: USB pins “25 RTC_GPIO19 USB_D- ADC2_CH8 … 26 RTC_GPIO20 USB_D+ ADC2_CH9 … 25 GPIO19 IO VDD3P3_RTC_IO … 26 GPIO20 IO VDD3P3_RTC_IO … USB_D+/- – by default, connected to the USB OTG.”
- ESP32-S2: JTAG pins “43 GPIO39 MTCK I1 … 44 GPIO40 MTDO O/T … 46 GPIO41 MTDI I1 … 47 GPIO42 MTMS I0 … GPIO39, GPIO40, GPIO41, GPIO42 : JTAG interface.”
- ESP32-S2: UART0 pins “48 GPIO43 U0TXD O … 49 GPIO44 U0RXD I1 … GPIO43, GPIO44 : UART0 interface.”
- ESP32-S2: Input only pins “Except for GPIO46 (input only) … GPI: GPIO46 is fixed to pull-down and is input only.”
- ESP32-S2: DAC pins “23 RTC_GPIO17 DAC_1 ADC2_CH6 … 24 RTC_GPIO18 DAC_2 ADC2_CH7 … 23 DAC_1 IO VDD3P3_RTC_IO”
- ESP32-S2: 32 kHz XTAL pins “21 RTC_GPIO15 XTAL_32K_P ADC2_CH4 … 22 RTC_GPIO16 XTAL_32K_N ADC2_CH5 … 21 GPIO15 GPIO15 … 22 GPIO16 GPIO16”
- ESP32-S2: External memory “SPI/QSPI/OSPI supports multiple flash and external RAM chips … Up to 1 GB of external flash and RAM can be supported.”
- ESP32-S2: Security “Secure Boot feature uses a hardware root of trust to ensure only signed firmware (with RSA-PSS … Transparent external flash and RAM encryption (AES-XTS) … 4096-bit OTP, up to 1792 bits for users … AES-128/192/256 (FIPS PUB 197) … Hash (FIPS PUB 180-4) … HMAC … Digital signature … Random Number Generator (RNG)”
- ESP32-S2: Package “QFN56 (7×7 mm) package”
- ESP32-S2: Supply “VDDA, VDD3P3, VDD3P3_RTC Recommended input voltage 2.8 3.3 3.6 V … VDD3P3_RTC_IO 2 Recommended input voltage 3.0 3.3 3.6 V … VDD3P3_CPU 3 Recommended input voltage 2.8 3.3 3.6 V”
- ESP32-S2: variant ESP32-S2 “ESP32-S2 — — –40 ∼ 105 °C”
- ESP32-S2: variant ESP32-S2FH4 “ESP32-S2FH4 4 MB (Quad SPI) — –40 ∼ 105 °C”
- ESP32-S2: variant ESP32-S2FN4R2 “ESP32-S2FN4R2 4 MB (Quad SPI) 2 MB (Quad SPI) –40 ∼ 85 °C”
- ESP32-S2: variant ESP32-S2R2 “ESP32-S2R2 — 2 MB (Quad SPI) –40 ∼ 85 °C”
- ESP32-S2: variant ESP32-S2FH2 “ESP32-S2FH2 – End of life (EOL) 2 MB (Quad SPI)4 — –40 ∼ 105 °C”
- ESP32-S2: Wi-Fi only, single core “2.4 GHz Wi-Fi (802.11 b/g/n) … Xtensa® single-core 32-bit LX7 microprocessor”
- ESP32-S2: GPIO26–32 belong to flash/PSRAM “Do not use the pins connected to in-package flash/PSRAM for any other purposes. … GPIO33, GPIO34, GPIO35, GPIO36, GPIO37 : The higher 4 bits data line interface and DQS … can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode.”
- ESP32-S2: GPIO45 and GPIO46 at reset “Strapping pin: GPIO45 … Flash Voltage Regulator 1.8 V … Except for GPIO46 (input only) … All GPIOs can be configured as internal pull-up or pull-down, or set to high impedance, except for GPIO46, … which is fixed to pull-down.”
- ESP32-S2: USB pins are not free by default “USB_D+/- – by default, connected to the USB OTG. To function as GPIOs, these pins need to be reconfigured.”
- ESP32-S2: discrepancy (spi) “ESP32-S2 features four SPI interfaces (SPI0, SPI1, SPI2 and SPI3).”
- ESP32-S2: discrepancy (touch) “14 touch sensing GPIOs”
- ESP32-S2: discrepancy (adc_bits) “Two 12-bit SAR ADCs, up to 20 channels”
- ESP32-S2: discrepancy (ledc duty resolution) “The accuracy of duty can be up to 18 bits within a 1 ms period.”
- ESP32-S2: discrepancy (bt / usb_serial_jtag) “Wi-Fi + Bluetooth Networking Card”
- ESP32-S2: discrepancy (bt / usb_serial_jtag) “If a peripheral interface does not have priority 2 to 4 pins, such as USB Serial/JTAG”
- ESP32-S2: discrepancy (bt / usb_serial_jtag) “If a peripheral interface does not have priority 1 pins, such as UART2”
- ESP32-S2: discrepancy (bt / usb_serial_jtag) “ESP32-S2 has two UART interfaces, i.e., UART0, UART1”
- ESP-IDF v5.5.5: components/soc/esp32s2/include/soc/soc_caps.h primary
What it confirms (26)
- ESP32-S2: HP cores “#define SOC_CPU_CORES_NUM (1U)”
- ESP32-S2: Low-power core “#define SOC_RISCV_COPROC_SUPPORTED 1 … #define SOC_ULP_FSM_SUPPORTED 1”
- ESP32-S2: Wi-Fi “#define SOC_WIFI_SUPPORTED 1”
- ESP32-S2: GPIO “0~46 valid except 22~25”
- ESP32-S2: ADC “#define SOC_ADC_CHANNEL_NUM(UNIT) (10)”
- ESP32-S2: Touch “#define SOC_TOUCH_MAX_CHAN_ID (14)”
- ESP32-S2: DAC “#define SOC_DAC_CHAN_NUM 2”
- ESP32-S2: UART “#define SOC_UART_NUM (2)”
- ESP32-S2: I²C “#define SOC_I2C_NUM (2U)”
- ESP32-S2: I²S “#define SOC_I2S_NUM (1U)”
- ESP32-S2: LED PWM “#define SOC_LEDC_CHANNEL_NUM (8)”
- ESP32-S2: RMT “#define SOC_RMT_TX_CANDIDATES_PER_GROUP 4 … #define SOC_RMT_RX_CANDIDATES_PER_GROUP 4”
- ESP32-S2: TWAI (CAN) “#define SOC_TWAI_CONTROLLER_NUM 1U”
- ESP32-S2: Pulse counter “#define SOC_PCNT_UNITS_PER_GROUP (4)”
- ESP32-S2: USB OTG “#define SOC_USB_OTG_SUPPORTED 1”
- ESP32-S2: LCD / camera “#define SOC_I2S_SUPPORTS_LCD_CAMERA (1)”
- ESP32-S2: Temperature sensor “#define SOC_TEMP_SENSOR_SUPPORTED 1”
- ESP32-S2: valid GPIOs “#define SOC_GPIO_VALID_GPIO_MASK (0x7FFFFFFFFFFFULL & ~(0ULL | BIT22 | BIT23 | BIT24 | BIT25)) … #define SOC_GPIO_PIN_COUNT 47”
- ESP32-S2: External memory “#define SOC_SPIRAM_SUPPORTED 1”
- ESP32-S2: Security “#define SOC_HMAC_SUPPORTED 1 … #define SOC_DIG_SIGN_SUPPORTED 1 … #define SOC_FLASH_ENCRYPTION_XTS_AES 1”
- ESP32-S2: discrepancy (spi) “#define SOC_SPI_PERIPH_NUM 3”
- ESP32-S2: discrepancy (touch) “#define SOC_TOUCH_SENSOR_NUM (15)”
- ESP32-S2: discrepancy (touch) “Touch minimum channel number, (0 is internal denoise channel)”
- ESP32-S2: discrepancy (adc_bits) “#define SOC_ADC_RTC_MAX_BITWIDTH (13)”
- ESP32-S2: discrepancy (adc_bits) “#define SOC_ADC_DIGI_MAX_BITWIDTH (12)”
- ESP32-S2: discrepancy (ledc duty resolution) “#define SOC_LEDC_TIMER_BIT_WIDTH (14)”
- ESP-IDF v5.5.5 Programming Guide (ESP32-S2): Maximizing Execution Speed primary
What it confirms (2)
- ESP32-S2: FPU “Avoid using floating point arithmetic float. On ESP32-S2 these calculations are emulated in software and are very slow.”
- ESP32-S2: No FPU “On ESP32-S2 these calculations are emulated in software and are very slow. … If possible, use fixed point representations”
- ESP-IDF v5.5.5: components/soc/esp32s2/include/soc/adc_channel.h primary
What it confirms (1)
- ESP32-S2: ADC channel per GPIO “#define ADC1_GPIO1_CHANNEL 0 … #define ADC1_GPIO2_CHANNEL 1 … #define ADC1_GPIO3_CHANNEL 2 … …”
- ESP-IDF v5.5.5: components/soc/esp32s2/include/soc/touch_sensor_channel.h primary
What it confirms (1)
- ESP32-S2: touch channel per GPIO “#define TOUCH_PAD_GPIO1_CHANNEL 1 … #define TOUCH_PAD_GPIO2_CHANNEL 2 … #define TOUCH_PAD_GPIO3_CHANNEL 3 … …”
- ESP32-S2 Technical Reference Manual v1.3 primary
What it confirms (2)
- ESP32-S2: ADC2 shares an arbiter with Wi-Fi “SAR ADC2 can be controlled by three controllers, namely RTC ADC2 CTRL, DIG ADC2 CTRL, and … APB_SARADC_ADC_ARB_WIFI_PRIORITY (for PWDET CTRL) … The value returned by a conversion that is interrupted or not started will be invalid. … ADC2 is also used by Wi-Fi. … return ESP_ERR_TIMEOUT”
- ESP32-S2: discrepancy (adc_bits) “SAR ADC in chip revision v0.0 has a resolution of 13 bits.”