23k external crystal

mrdebug
Posts: 17
Joined: Sat Jul 27, 2019 8:26 am

23k external crystal

Postby mrdebug » Mon Mar 23, 2020 11:23 am

Hi, I need to use an external crystal oscillator 32k. Can someone suggest me an example on how to use it?
I don't find any example.
Best regards.

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

Re: 23k external crystal

Postby ESP_Sprite » Mon Mar 23, 2020 5:31 pm

How do you mean 'how to use it'? Connect it in hardware, or make use of it in software? In software, there's an option in menuconfig. In hardware, take a look at the ESP32 Hardware Design Guidelines, chapter 2.1.4.2.

mrdebug
Posts: 17
Joined: Sat Jul 27, 2019 8:26 am

Re: 23k external crystal

Postby mrdebug » Fri Mar 27, 2020 8:24 am

Are you saying that it is not necessary to implement it by code but only by the menuconfig option, such as the screenshot below below?
If yes I still reading "clk: 32 kHz XTAL not found, switching to internal 150 kHz oscillator"
Image

Can you explain the gpio25 as in the screenshot? Is it necessary to use the external crystal?
Image

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

Re: 23k external crystal

Postby ESP_Sprite » Fri Mar 27, 2020 3:44 pm

Yes, that should be all you need to do; deepsleep time keeping etc should automatically switch over to the crystal. I have no idea why your crystal isn't detected, maybe post a picture/schematic of your hardware? Also, GPIO25 is only in the picture because it's a crop of a bigger schematic; it has nothing to do with the crystal.

Who is online

Users browsing this forum: Baidu [Spider], MSN [Bot] and 63 guests