Search found 4 matches

by kfine100
Mon Jun 21, 2021 3:05 pm
Forum: Hardware
Topic: Different external RTC clock frequency
Replies: 1
Views: 2356

Different external RTC clock frequency

I am using the ESP32-WROOM-32E module, and I see that the RTC clock can be driven externally thru the XTAL_32K_P input (IO 32). A 32.768 kHz oscillator is specified. I am considering changing to a 1 PPM clock for more accurate timing, but is it possible to use a different frequency? For example, the...
by kfine100
Thu May 13, 2021 8:13 am
Forum: ESP32 Arduino
Topic: load root CA from SPIFFS and pass to WiFiClientSecure
Replies: 3
Views: 6115

Re: load root CA from SPIFFS and pass to WiFiClientSecure

I do this with the ESP32. Spestano is correct, you just have to load into a buffer. To give you an example, I define char myCertificate[N_BYTES_CERTIFICATE]; where N_BYTES_CERTIFICATE needs to be about 1500, and then read and load the certificate like this myFServer.read2String(SPIFFS, REMOTE_CERT_F...
by kfine100
Thu May 21, 2020 4:23 pm
Forum: General Discussion
Topic: Accurate timing with ESP32
Replies: 3
Views: 7656

Re: Accurate timing with ESP32

Hi igrr Thanks for your response. Just to make sure I understand, could you confirm that when you say "underlying XTAL clock source" this means the 40 MHz external XTAL? I understand the issue with the PLL. I believe this will add maximum jitter around the range of 1 x 40 MHz period, or 25 ns. If yo...
by kfine100
Wed May 20, 2020 7:21 am
Forum: General Discussion
Topic: Accurate timing with ESP32
Replies: 3
Views: 7656

Accurate timing with ESP32

I am trying to do accurate timing using the ESP32 64 bit counter which use the 80 MHz APB clock. I need accuracies of 1 ppm or better. If I use an external 40 MHz crystal with 1 ppm accuracy will the APB clock now have 1 ppm accuracy? Is the APB clock derived directly from the external 40 MHz crysta...