ESP32-H2 Series SoC Errata
Resources and Legal Notices
Affected revisions: v0.0 v0.1
Channel 4 (ADC1_CH4) of ADC1 is not operational in the ESP32-H2 chip.
Use other channels instead of ADC1_CH4.
Fixed in chip revision v1.2.