Can I 'mirror' a GPIO signal on another GPIO?

JohnnyR
Posts: 4
Joined: Sun Dec 20, 2020 10:38 pm

Can I 'mirror' a GPIO signal on another GPIO?

Postby JohnnyR » Wed Dec 23, 2020 7:29 pm

Please help!

I'm trying to debug a new custom ESP32-WROOM-32D based board.

I have access to a couple of test pins that are connected to some of the ESP32 GPIO's on the board(GPOI's 2,4 & 5), but I want to measure clock signals on the i2s pins (BCLK = GPIO 26, WCLK = GPOI 25 and DOUT = GPO 23).

As it's a nightmare to connect probes to the i2s pins, I was hoping there might be a simple way to passively 'mirror' the the signals on the i2s pins to the GPIO test pins?

Thanks,
John

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

Re: Can I 'mirror' a GPIO signal on another GPIO?

Postby ESP_Sprite » Mon Dec 28, 2020 1:22 am

Yes. You can use gpio_matrix_out() to have (another) GPIO output a signal generated by a peripheral.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 122 guests