Page 1 of 1

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

Posted: Wed Dec 23, 2020 7:29 pm
by JohnnyR
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

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

Posted: Mon Dec 28, 2020 1:22 am
by ESP_Sprite
Yes. You can use gpio_matrix_out() to have (another) GPIO output a signal generated by a peripheral.