Set ESP32 CPU Clock Source to External Oscillator XTL

Hello forum members,
I want my ESP32 based board (it's a lilygo ttgo v2.1.6) to use the external oscillator as clock source and do other configurations with this mcu.
I found header files which provide me the addresses of all the necessary registers, but I don't know how to access them in code.
I have installed the esp32 compatability in the Arduino IDE but I don't know what to do next. Is there a function to do so which I haven't found yet? I really just don't know where to look for this...
Thank you in advance!

ESP32 Forum - Index page

I think I found the solution.
The esp32 Website is slow and wouldn't let me use the search function.

I found the function :
rtc_clk_cpu_freq_set_xtal();
which is included in the ESP32-idf

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.