Search found 2 matches

by wegi01
Mon May 11, 2026 4:51 pm
Forum: General Discussion
Topic: How I can read directly RTC register in ESP32-S3
Replies: 1
Views: 43

Re: How I can read directly RTC register in ESP32-S3

Ok...

What I did and what I understand:

#include "soc/rtc_cntl_reg.h"
LVGL_Timer = xTimerCreate("LVGL_Timer", pdMS_TO_TICKS(128000), pdTRUE, (void *)0, LVGL_Timer_Callback);
extern uint32_t last_read;
SET_PERI_REG_MASK(RTC_CNTL_TIME_UPDATE_REG, RTC_CNTL_TIME_UPDATE);
last_read = READ_PERI_REG ...
by wegi01
Mon May 11, 2026 10:06 am
Forum: General Discussion
Topic: How I can read directly RTC register in ESP32-S3
Replies: 1
Views: 43

How I can read directly RTC register in ESP32-S3

Hello,
Greetings for all ppl here. This is my first post and thread.

I don't know what I'm doing wrong bcos I can't properly read RTC LO/HI registers. Also here exists unresolvet this thread:
https://esp32.com/viewtopic.php?t=18013

example of my code:

#include "soc/rtc_cntl_reg.h"

//---
SET ...

Go to advanced search