Page 1 of 1

Pin #25 - GPIO16 doesn't work on ESP32-PICO-D4

Posted: Fri Feb 11, 2022 5:36 pm
by raff5184
Hi,

I have an ESP32-PICO-D4 chip and a very simple Arduino that toggles its pins using

Code: Select all

digitalWrite(pin, HIGH/LOW);
I can toggle different pins, no problem, but specifically pin no.25 which the datasheet reports as
Name: IO16
Functions: GPIO16, HS1_DATA4, U2RXD, EMAC_CLK_OUT

doesn't work. Any ideas why?

I simply use

Code: Select all

pinMode(16, OUTPUT);
and

Code: Select all

digitalWrite(16, HIGH);
which works for all other pins.

Re: Pin #25 - GPIO16 doesn't work on ESP32-PICO-D4

Posted: Sat Feb 12, 2022 6:24 am
by ESP_Sprite
Potentially because according to the datasheet:
Pins IO16, IO17, CMD, CLK, SD0 and SD1 are used to connect the embedded flash, and can not be used for
other purposes. For details, please see Section 6 Schematics

Re: Pin #25 - GPIO16 doesn't work on ESP32-PICO-D4

Posted: Mon Feb 14, 2022 5:27 pm
by raff5184
Even though the datasheet says "Notice:", I didn't notice that! :D Thank you