32k_N XTAL - TXCO
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: 32k_N XTAL - TXCO
Can you set CONFIG_SLOW_CLK_CAL_CYCLES to 0? This should disable calibration and would make the ESP32 use the external clock input without trying to see if it works first. Then please make sure that the clock indeed keeps running at 1sec/1sec when in deep sleep to verify it actually works.
Re: 32k_N XTAL - TXCO
Will do thanks. Is the best way to verify 1 sec/1sec to do a millis() output after 15min or so?
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: 32k_N XTAL - TXCO
No, because when the ESP32 runs as normal, the clock is derived from the 40MHz crystal. Best to print gettimeofday() output, then deep sleep for e.g. 15 minutes, then wake up and print it again. The deep sleep shuts down the 40MHz crystal making the ESP use the RTC clock for timekeeping.
Re: 32k_N XTAL - TXCO
Thank you for all the help finally got to the bottom of this. My pull up value was too high - once I changed to just 10k then things seem to be ok. That's a pull up to a 680k/220k voltage divider off 3.3v.
I don't get any calibration message on startup, but the serial monitor error message on not finding the external oscillator vanishes so I think I'm golden now.
Thanks again.
I don't get any calibration message on startup, but the serial monitor error message on not finding the external oscillator vanishes so I think I'm golden now.
Thanks again.
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: 32k_N XTAL - TXCO
Interesting - guess there's something with the rise time that trips up the ESP or something. Thanks for posting the solution!
Who is online
Users browsing this forum: No registered users and 96 guests