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

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

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

Postby ThomasESP32 » Wed Oct 02, 2024 10:30 am

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

MicroController
Posts: 1734
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

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

Postby MicroController » Thu Oct 03, 2024 6:19 pm

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.

Who is online

Users browsing this forum: ESP_Sprite, Google [Bot] and 209 guests