Search found 2 matches

by MSzymanek
Sat May 11, 2024 10:50 pm
Forum: ESP-IDF
Topic: esp_timer consumes 50% of CPU time, please help
Replies: 7
Views: 2001

Re: esp_timer consumes 50% of CPU time, please help

Off the top of my head these things stand out: - If the lowest time you want the state machine to update is every 10ms, maybe vTaskDelay can be used instead of the timer? vTaskDelay(1) should technically call back every 10 ms with the default FreeRTOS tick rate. Obviously this only works if you don'...
by MSzymanek
Wed May 08, 2024 2:48 pm
Forum: ESP-IDF
Topic: Question about adc_continuous and adc_monitor
Replies: 0
Views: 320

Question about adc_continuous and adc_monitor

Hello! I am working on my bachelor projects using an Esp32s3. It's a USB MIDI controller with buttons, knobs and hittable pads. Needless to say I have to read a lot of analog signals, and so far I've been doing well using analog MUX and just reading with adc_oneshot, while getting interrupts from my...