Search found 5 matches

by Snipeye
Mon Nov 07, 2022 4:20 pm
Forum: ESP32 Arduino
Topic: NVS Speed via Preferences
Replies: 2
Views: 2502

Re: NVS Speed via Preferences

I think that's my next attempt - I was hoping there would be a way to store the partition map in the RTC memory or something so I only had to take that hit once on initial boot, but it seems like it's wrapped too deeply for that.
by Snipeye
Sun Nov 06, 2022 5:36 am
Forum: ESP32 Arduino
Topic: NVS Speed via Preferences
Replies: 2
Views: 2502

NVS Speed via Preferences

Hello! I am working on a project that uses NVS and deep sleep, and I've noticed that the size of the nvs partition makes a huge difference in the wakeup time - I think the default "nvs" partition is opened whenever the chip wakes up from deep sleep. Unfortunately, I need a lot of storage (currently ...
by Snipeye
Sun Nov 06, 2022 5:17 am
Forum: ESP-IDF
Topic: Fastest system timer/clock
Replies: 3
Views: 2170

Re: Fastest system timer/clock

Hi, following up here after a long while. I'm using the Arduino IDE right now, actually, and I found that the actual cause of the ~15us delay was the housekeeping in between loop() iterations. Wrapping my inner loop in a while(1) resulted in significant speedups, and the function call to esp_timer_g...
by Snipeye
Sun Oct 09, 2022 3:04 am
Forum: ESP-IDF
Topic: Fastest system timer/clock
Replies: 3
Views: 2170

Fastest system timer/clock

I've written some asynchronous code (using the Arduino core) that relies on the number of microseconds that have passed to perform certain actions. I am currently using esp_timer_get_time() to get the number of microseconds, but there appears to be a fair bit of overhead to that function: when I cal...
by Snipeye
Fri Mar 08, 2019 4:32 am
Forum: ESP-IDF
Topic: TTGO Micro-32
Replies: 7
Views: 11655

Re: TTGO Micro-32

Sorry, not trying to necro - I've got one of these boards now and I'm trying to find documentation. Did you ever have any luck?