ESP32-PICO-V3-02 main CPU crystal oscillator

derricksenva
Posts: 23
Joined: Tue Aug 02, 2022 8:19 pm

ESP32-PICO-V3-02 main CPU crystal oscillator

Postby derricksenva » Thu Jun 25, 2026 5:24 pm

Hi,

There's a lot of conflicting information from the datasheet for the ESP32-PICO-V3-02 (https://documentation.espressif.com/esp ... eet_en.pdf). We ultimately need to know how accurate the main clock driving the CPU is — whether or not it's running off an external crystal oscillator (and its ±ppm), and whether or not we can provide one externally on the board.

- Page 1 says "It integrates all peripheral components seamlessly in a single package, including a crystal oscillator"
- Page 2 shows a block diagram illustrating that a crystal is integrated.
- Page 13 shows pins 44 and 45 as no-connect.
- Page 30 shows a reference schematic with a 40 MHz crystal connected to pins 44 and 45.

What's the correct answer here?

MicroController
Posts: 2672
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32-PICO-V3-02 main CPU crystal oscillator

Postby MicroController » Thu Jun 25, 2026 5:44 pm

AFAIK, the crystal is actually included in the PICO's package, no external crystal needed or supported. Figures 7, 8, and 9 in "7 Schematics" seem to show the schematics of the in-package circuitry (notice e.g. the flash chip and the open-ended "LNA_IN"), while "8 Peripheral Schematics" with figures 10, 11, 12 shows the "typical application circuit", i.e. the external components needed.

lbernstone
Posts: 1133
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP32-PICO-V3-02 main CPU crystal oscillator

Postby lbernstone » Fri Jun 26, 2026 1:39 am

See the hardware design guidelines. The on-module primary crystal will be +-10ppm from 40MHz, but the RTC is fractional off that source, so will drift significantly if you are doing serious timekeeping.
You can add a 32.768kHz crystal (at an accuracy of your choosing) on gpio 32/33 to provide a more accurate movement.

Sprite
Espressif staff
Espressif staff
Posts: 10617
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-PICO-V3-02 main CPU crystal oscillator

Postby Sprite » Fri Jun 26, 2026 6:42 am

See the hardware design guidelines. The on-module primary crystal will be +-10ppm from 40MHz, but the RTC is fractional off that source, so will drift significantly if you are doing serious timekeeping.
You can add a 32.768kHz crystal (at an accuracy of your choosing) on gpio 32/33 to provide a more accurate movement.
That's not the reason why the RTC (without an external 32KHz crystal) is known to drift. While powered on, the RTC should indeed be 10ppm stable as the 40MHz crystal is like that (the fact that for the timers this gets divided down does not affect the precision). The issue is the modes when that crystal is not powered on, i.e. deep sleep: when no 32KHz crystal is connected, the RTC is clocked off an internal 128KHz (iirc) clock source which has a much wider error tolerance, causing the clock to drift appreciably.

MicroController
Posts: 2672
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32-PICO-V3-02 main CPU crystal oscillator

Postby MicroController » Fri Jun 26, 2026 7:20 am

I.o.w., when you divide (or multiply) a clock, the drift in Hertz also gets divided (or multiplied) by the same factor; the ppm stay the same.

derricksenva
Posts: 23
Joined: Tue Aug 02, 2022 8:19 pm

Re: ESP32-PICO-V3-02 main CPU crystal oscillator

Postby derricksenva » Fri Jun 26, 2026 5:30 pm

See the hardware design guidelines. The on-module primary crystal will be +-10ppm from 40MHz, but the RTC is fractional off that source, so will drift significantly if you are doing serious timekeeping.
You can add a 32.768kHz crystal (at an accuracy of your choosing) on gpio 32/33 to provide a more accurate movement.
That's not the reason why the RTC (without an external 32KHz crystal) is known to drift. While powered on, the RTC should indeed be 10ppm stable as the 40MHz crystal is like that (the fact that for the timers this gets divided down does not affect the precision). The issue is the modes when that crystal is not powered on, i.e. deep sleep: when no 32KHz crystal is connected, the RTC is clocked off an internal 128KHz (iirc) clock source which has a much wider error tolerance, causing the clock to drift appreciably.
Can you provide hard confirmation for my original question — Does the ESP32-PICO-V3-02 integrate the 40 MHz crystal into the SiP? And is it spec'd at ±10 ppm?

Sprite
Espressif staff
Espressif staff
Posts: 10617
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-PICO-V3-02 main CPU crystal oscillator

Postby Sprite » Fri Jun 26, 2026 11:53 pm

Can you provide hard confirmation for my original question — Does the ESP32-PICO-V3-02 integrate the 40 MHz crystal into the SiP? And is it spec'd at ±10 ppm?
Yes. See figure 9 of the datasheet, which covers the internal schematic of the module. The crystal is indicated as '40MHz+/-10ppm'.

Who is online

Users browsing this forum: Bytespider and 4 guests