Parallel I2S: falling edge instead of rising edge clock?

michikite
Posts: 16
Joined: Thu Oct 22, 2020 1:35 am

Parallel I2S: falling edge instead of rising edge clock?

Postby michikite » Wed Apr 28, 2021 7:44 pm

Is there a way to tell the esp32 to sample data at the falling edge of the clock instead of the rising edge, when sampling parallel data through i2s camera mode?

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

Re: Parallel I2S: falling edge instead of rising edge clock?

Postby ESP_Sprite » Thu Apr 29, 2021 12:56 am

You can simply use the GPIO matrix to invert the signal. Use esp_rom_gpio_connect_in_signal() and pass true as the last argument.

Who is online

Users browsing this forum: Bing [Bot] and 142 guests