Search found 6 matches

by daniel1704
Tue Feb 23, 2021 11:12 pm
Forum: General Discussion
Topic: Core for High-resolution software timer
Replies: 0
Views: 1233

Core for High-resolution software timer

I'm working on a programs that's basically composed of two tasks: one is time sensitive and the other one isn't. I plan to attach each task to a different core, to avoid interference between them. For the task that is not time sensitive, I wanted to use the high-resolution software timer that's incl...
by daniel1704
Sat Mar 07, 2020 8:00 am
Forum: General Discussion
Topic: HTTP CONNECT request in client mode
Replies: 0
Views: 4123

HTTP CONNECT request in client mode

I've been working with some HTTP proxy servers for a project and realized most of the end-point URLs I want to access are secure (HTTPS). I would need some kind of TCP tunneling to use the proxy, this is usually done with the CONNECT method for HTTP requests. However, the esp_http_client library doe...
by daniel1704
Tue Feb 11, 2020 8:53 pm
Forum: General Discussion
Topic: Difference in accuracy between light sleep and deep sleep modes
Replies: 3
Views: 4943

Re: Difference in accuracy between light sleep and deep sleep modes

Light sleep can resume but deep sleep has to boot the whole app again. Are you taking that into account? I did, I measured the time from sleep start to reboot when I was using deep sleep. Even if I didn't, boot time with the configurations I'm using is about 1 s, and the difference between both sle...
by daniel1704
Tue Feb 11, 2020 3:12 am
Forum: General Discussion
Topic: Difference in accuracy between light sleep and deep sleep modes
Replies: 3
Views: 4943

Difference in accuracy between light sleep and deep sleep modes

I'm working on a project that will require to keep the ESP32 on an idle state for about 5 mins and then start again. As the project will be running with a battery, I decided I would like to use power saving options. When I run the code using light sleep, the accuracy of the sleep time is pretty good...
by daniel1704
Fri Oct 11, 2019 6:29 am
Forum: ESP32 Arduino
Topic: RTC8M_CLK for LED control
Replies: 3
Views: 4760

Re: RTC8M_CLK for LED control

So I continued working and I found there are a couple of bits that power up and enable the 8 MHz clock in the RTC_CNTL_CLK_CONF_REG register. I managed to make the PWM work in regular power mode (no sleep), but the signal stays idle as soon I start light sleep mode. I set all the RTC domains (periph...
by daniel1704
Wed Oct 09, 2019 4:58 am
Forum: ESP32 Arduino
Topic: RTC8M_CLK for LED control
Replies: 3
Views: 4760

RTC8M_CLK for LED control

I'm new in this platform, and I've been designing a simple project with it, to test some things I need for bigger ones. The thing is I wanted to keep a PWM signal while on light sleep. According to the TRM, that's possible with the LEDC low speed channels, if I set LEDC_SCLK to follow RTC8M_CLK (LED...