Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Info on hardware timers used for FreeRTOS on ESP32 #7223

Unanswered
fdesvallees asked this question in Q&A
Discussion options

I am starting a project using a ESP-Wroom32 development board and FreeRTOS. I need to change the period of the timer that schedules FreeRTOS tasks, etc.). How do I do this? Also, how do I find out which of the ESP32 hardware timers is used for this purpose?

Thanks!
François

You must be logged in to vote

Replies: 2 comments

Comment options

Arduino-esp32 > esp32 > FreeRTOS. At the Arduino level FreeRTOS should not be modified. What are you trying to accomplish?

At the Arduino level you have Ticker:
https://github.com/espressif/arduino-esp32/tree/master/libraries/Ticker/src

At ESP32 level you can access hardware timers.
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_timer.html

You must be logged in to vote
0 replies
Comment options

Thank you, this is very helpful. I found that I can use another hardware timer for my purpose, and leave the system tick at its default value. François
...
On 14/09/2022 01:17 CEST David McCurley ***@***.***> wrote: Arduino-esp32 > esp32 > FreeRTOS. At the Arduino level FreeRTOS should not be modified. What are you trying to accomplish? At the Arduino level you have Ticker: https://github.com/espressif/arduino-esp32/tree/master/libraries/Ticker/src At ESP32 level you can access hardware timers. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_timer.html — Reply to this email directly, view it on GitHub #7223 (comment), or unsubscribe https://github.com/notifications/unsubscribe-auth/ACWXFO5JYNI6TDFYXBDD3T3V6EDRJANCNFSM6AAAAAAQFD6IHQ. You are receiving this because you authored the thread.Message ID: ***@***.***>
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /