Search found 2 matches
- Tue Sep 26, 2023 7:08 am
- Forum: General Discussion
- Topic: Resolution of GPTimers
- Replies: 3
- Views: 1623
Re: Resolution of GPTimers
There is. According to to the trm , the timer prescaler is 16 bit and it normally gets fed from the 80MHz APB clock. That means that the minimum resolution is (80MHz/65535=)1221Hz. On the other side of the coin, the timer itself is 64 bit (56 bit on later ESP32-Cx/ESP32-Sx) which gives you 7 thousa...
- Mon Sep 25, 2023 1:14 pm
- Forum: General Discussion
- Topic: Resolution of GPTimers
- Replies: 3
- Views: 1623
Resolution of GPTimers
Hello, I'm trying to port some code form v4.4.2 to v5.5.1, in this case about using the new GPTimer (Timer Group Before). Here is a simple code to blink red led at a WROVER-KIT at 1Hz (change LED every 500ms). #include <stdio.h> #include <string.h> #include <stdbool.h> #include "freertos/FreeRTOS.h"...