Esp32S3 : Is there a timer in the RTC domain ?

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

Esp32S3 : Is there a timer in the RTC domain ?

Postby ThomasESP32 » Mon Sep 23, 2024 3:34 pm

Good afternoon,

I am working with an Esp32S3 and I am looking for a timer that I can read from a program running
under the ULP RiscV processor.

The goal would be to have a timer running that I can read in order to determine the amount of
time elapsed between to part of the ULP RISCV program.

Do you know if it is possible please ?
Thank you for your help,

Best regards,

MicroController
Posts: 1698
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Esp32S3 : Is there a timer in the RTC domain ?

Postby MicroController » Mon Sep 23, 2024 6:13 pm

The only actual timer I could find for the ULP is the RTC timer itself, by default running at ~150kHz.

Besides that, there's also the RISC-V ULP's CPU cycle counter (~17MHz, IIRC).

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 246 guests