Page 1 of 1

Esp32S3 : Is it possible to configure a pin in output open drain with pullup and configure it as a peripheral pin?

Posted: Wed Oct 02, 2024 10:30 am
by ThomasESP32
Good morning,

I am working with an Esp32S3 and I have pins that are configured as I2S peripheral pins.
(Bit CLK pin).

I would like to know if I can keep the same configuration for this pin (I2S Bit clk) and
configure it as output open drain with pullup at the same time ? (via gpio_config method).

Can the two configurations be available at the same time please ?

Best regards,

Thomas TRUILHE

Re: Esp32S3 : Is it possible to configure a pin in output open drain with pullup and configure it as a peripheral pin?

Posted: Thu Oct 03, 2024 6:19 pm
by MicroController
Yes, it is possible. But not via the public (GPIO) API.
You can configure the pin as GPIO, then 'manually' reconnect the peripheral signal to that pin. Like this.