The counters I talk about are not related to esp_timer_get_time().
Also , they do not raise interrupts. These counters are from WiFi block. They are used for TSF and they are not documented.
What they CAN do is to independently count microseconds, with ability to set counters values. So these ...
Search found 76 matches
- Sat Jul 25, 2026 3:28 am
- Forum: Sample Code
- Topic: ESP32S3 fast 32bit and 64bit usec counters. Set/Get
- Replies: 3
- Views: 172
- Wed Jul 22, 2026 12:34 pm
- Forum: ESP32 Arduino
- Topic: Another read-only filesystem
- Replies: 2
- Views: 43
Re: Another read-only filesystem
Some test results:
Filesystem: A TAR file, 12 MiB in size, consisting of 640 entries (of them ~ 20 are directories, the rest are html files)
Hardware: ESP32S3, 16MiB OPI PSRAM, 32MiB FLASH, QUAD, 240MHz CPU clock.
PSRAM is enabled and used by the tarfs (~16000 bytes).
open() call: ~92 microseconds ...
Filesystem: A TAR file, 12 MiB in size, consisting of 640 entries (of them ~ 20 are directories, the rest are html files)
Hardware: ESP32S3, 16MiB OPI PSRAM, 32MiB FLASH, QUAD, 240MHz CPU clock.
PSRAM is enabled and used by the tarfs (~16000 bytes).
open() call: ~92 microseconds ...
- Sun Jul 19, 2026 9:00 am
- Forum: ESP32 Arduino
- Topic: Another read-only filesystem
- Replies: 2
- Views: 43
Another read-only filesystem
Hello :)
I am developing an immutable (read-only) filesystem for esp32, based on TAR archive file format. I need it for my project (lots of PHP scripts and web-content), but may be someone else can find it useful
It is fast, really fast (26 MiB/sec read ()/ fread () on ESP32S3 DevKit clone in ...
I am developing an immutable (read-only) filesystem for esp32, based on TAR archive file format. I need it for my project (lots of PHP scripts and web-content), but may be someone else can find it useful
It is fast, really fast (26 MiB/sec read ()/ fread () on ESP32S3 DevKit clone in ...
- Tue Jun 30, 2026 10:12 am
- Forum: ESP-IDF
- Topic: Max number of partitions that can be mmaped
- Replies: 3
- Views: 109
Re: Max number of partitions that can be mmaped
Thanks for the reply!
So if I ran out of free DATA pages it is completely ok to mmap() to the INST pages, just make sure the access is 32-bit only and must be aligned? Thats great news!
So if I ran out of free DATA pages it is completely ok to mmap() to the INST pages, just make sure the access is 32-bit only and must be aligned? Thats great news!
- Sun Jun 28, 2026 4:00 am
- Forum: ESP-IDF
- Topic: Max number of partitions that can be mmaped
- Replies: 3
- Views: 109
Max number of partitions that can be mmaped
Hello,
I'd like to mmap() 5 partitions at one time on ESP32-S3. Total partitions size is 8MiB. Am I correct in assumption that ESP32S3 MMU can manage up to 128*64KiB of mmaped data pages at maximum?
My aim is to mmap() 5 partitions and use them as data arrays. The TOTAL size of all partitions is ...
I'd like to mmap() 5 partitions at one time on ESP32-S3. Total partitions size is 8MiB. Am I correct in assumption that ESP32S3 MMU can manage up to 128*64KiB of mmaped data pages at maximum?
My aim is to mmap() 5 partitions and use them as data arrays. The TOTAL size of all partitions is ...
- Mon Jun 08, 2026 11:07 am
- Forum: ESP-IDF
- Topic: What is the right way to adjust the sampling time of the ADC on the ESP32-S3?
- Replies: 1
- Views: 89
Re: What is the right way to adjust the sampling time of the ADC on the ESP32-S3?
I am not 100% sure but I would check if this cycles are APB cycles (80MHz).
- Mon Jun 01, 2026 7:11 am
- Forum: ESP32-S31
- Topic: Tell us about the new MMU architecture!
- Replies: 6
- Views: 521
Re: Tell us about the new MMU architecture!
Well, the ESP-IDF is written in a such way.. If you enable all memory protection and address translation then you have to rewrite esp-idf. FreeRTOS does not expect any address translation magic etc..But in the publicly visible parts of ESP-IDF, I only see the MMU used for Flash/PSRAM mapping
- Mon Jun 01, 2026 6:02 am
- Forum: Hardware
- Topic: Non-standart WiFi freuencies on ESP32-S3
- Replies: 1
- Views: 106
Non-standart WiFi freuencies on ESP32-S3
Hello,
It looks like the hardware supports WiFi channels# >14, however with non-standart frequencies (and bandwidth).
There is nothing about it in the documentation.
Does anyone know anything about that? WiFi hardware v7.48.
It looks like the hardware supports WiFi channels# >14, however with non-standart frequencies (and bandwidth).
There is nothing about it in the documentation.
Does anyone know anything about that? WiFi hardware v7.48.
- Tue May 26, 2026 12:55 pm
- Forum: Sample Code
- Topic: ESP32S3 fast 32bit and 64bit usec counters. Set/Get
- Replies: 3
- Views: 172
Re: ESP32S3 fast 32bit and 64bit usec counters. Set/Get
There are 4 (four) counters like that above but to use them you have to perform some initialization. Counter #0 (example above) works after boot thanks to ROM code. Once initialized, counters can be read or set by using constants 0x01 and 0x10 above shifted left by [0..3] to select required counter ...
- Mon May 25, 2026 9:15 pm
- Forum: Sample Code
- Topic: ESP32S3 fast 32bit and 64bit usec counters. Set/Get
- Replies: 3
- Views: 172
ESP32S3 fast 32bit and 64bit usec counters. Set/Get
Hello,
I'd like to share some of my findings which may be useful for others. These are specific to ESP32-S3.
Two alternatives to `esp_timer_get_time()`, with ability to set counter value.
This code is written fro Arduino framework fro simplicity but can be easily adopted for ESP-IDF.
MMIO ...
I'd like to share some of my findings which may be useful for others. These are specific to ESP32-S3.
Two alternatives to `esp_timer_get_time()`, with ability to set counter value.
This code is written fro Arduino framework fro simplicity but can be easily adopted for ESP-IDF.
MMIO ...