ESP32 RTC with external crystal

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
ebelouet
Posts: 10
Joined: Mon Jan 15, 2018 9:01 pm

ESP32 RTC with external crystal

Post by ebelouet » Fri Jan 07, 2022 9:24 pm

HI,

I search a rtc example using external cristal setup ?

Thank
Eric

stephanelsmith
Posts: 9
Joined: Mon Oct 18, 2021 7:03 pm

Re: ESP32 RTC with external crystal

Post by stephanelsmith » Mon Jan 10, 2022 4:27 pm

Also looking at this. On S3, you have the XTAL_32k_P and XTAL_32k_N pins. I would imagine you need to set
ESP32_RTC_CLK_SRC_EXT_OSC=y
in the board/sdkconfig file.

CONFIG_ESP32_RTC_CLK_SRC docs:
https://docs.espressif.com/projects/esp ... tc-clk-src

ebelouet
Posts: 10
Joined: Mon Jan 15, 2018 9:01 pm

Re: ESP32 RTC with external crystal

Post by ebelouet » Mon Jan 10, 2022 9:33 pm

HI,

Thank but do you have a example for micropython for this ?

Eric

Post Reply