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

raff5184
Posts: 9
Joined: Fri Nov 12, 2021 5:55 pm

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

Postby raff5184 » Fri Feb 11, 2022 5:36 pm

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.

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Sat Feb 12, 2022 6:24 am

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

raff5184
Posts: 9
Joined: Fri Nov 12, 2021 5:55 pm

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

Postby raff5184 » Mon Feb 14, 2022 5:27 pm

Even though the datasheet says "Notice:", I didn't notice that! :D Thank you

Who is online

Users browsing this forum: No registered users and 70 guests