Re: Technical Reference I2S Clock config section is confusing
Posted: Sat Jul 22, 2017 7:44 pm
Yes, but none of those start with FUNC, the register layout is different, and you are passing a shift where a value is expected.
ESP32 Official Forum
https://esp32.com/
Code: Select all
PIN_FUNC_SELECT(PIN_CTRL, CLK_OUT1_S);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1);
Code: Select all
REG_WRITE(PIN_CTRL, 0b111111110000);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1);