1
\$\begingroup\$

According to ESP32 design guidelines; ADC2 GPIO's should not be used when using WiFi due to conflicts. (or used with restrictions)

This affects GPIOs 2,12-15 and 25-27.

Suppose I use don't use any of the ADC2 GPIOs for analogReads while using WiFi, can I safely use those ADC2 GPIO pins for digitalWrites and digitalReads without conflict to WiFi?

Thanks

asked Dec 4, 2019 at 20:07
\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

Yes they are still available to the other function of the pins, they just can't be internally connected to the ADC2 module and used for analog to digital conversions.

The Wifi usage of ADC2 is done internally on the chip and is not routed through the pins.

Some official development board do use some of these specific pins for other purposes (like auto programming circuits, etc) so may be unavailable for other reasons.

answered Dec 4, 2019 at 20:47
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.