Skip to content

Experimental ESP32 support using espressif arduino-esp32 core#48

Open
ziotibia81 wants to merge 5 commits intoudoklein:masterfrom
ziotibia81:esp32-patch-1
Open

Experimental ESP32 support using espressif arduino-esp32 core#48
ziotibia81 wants to merge 5 commits intoudoklein:masterfrom
ziotibia81:esp32-patch-1

Conversation

@ziotibia81
Copy link
Contributor

Tested using the ESP-WROOM-32 module.
This module uses a 40 MHz crystal oscillator (+/- 10 ppm).
The hardware GPTimer is prescaled to tick at 1 MHz, and the 1 kHz generator is triggered by an interrupt every 1000 ticks.

Experimental ESP32 support using espressif arduino-esp32
Experimental ESP32 support using espressif arduino-esp32
Low memory footprint default for ESP32
Change GPTimer frequency to 16Mhz
@udoklein
Copy link
Owner

Hi Zio Tibia, thanks for providing these changes. Are they still experimental or do you consider them production ready? Right now I have no means to verify if this works for ESP32 and or ESP8266.

@ziotibia81
Copy link
Contributor Author

I was able to run SperFilter, adjusting the GPIO declarations, but these are not included in this PR. I reached a synchronized state in approximately 550 seconds in a low-noise environment. I repeated this process over several days, and the result remained consistent.

Toggling an output pin each time the ISR occurs allows me to measure a precise frequency of 500.0 Hz with a 50% duty cycle, using a hobby-level oscilloscope.

@udoklein
Copy link
Owner

udoklein commented May 3, 2025

Can you please issue a new pull request such that I can merge onto the new master? Sorry for being slow and lazy - right now I have very little time and lack the hardware setup for testing.

@Anderl94
Copy link

Hi, just checking in. Any updates on this pull request?

@ziotibia81
Copy link
Contributor Author

Hello @Anderl94 ,
I haven't had time yet to modify the pull request as per @udoklein 's instructions.
If you want to do some testing, you can use the branch ziotibia81/dcf77@esp32-patch-1 in my repository .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants