Search found 6 matches

by grzegorz_kr
Wed Apr 13, 2022 3:41 pm
Forum: Hardware
Topic: current peaks during deepsleep
Replies: 1
Views: 2032

current peaks during deepsleep

I've been using esp32-wroom-32D modules in various projects for quite a while, but only recently started a project where the esp32 is battery powered and low power consumption is of the greatest importance. And I am very disappointed. Even in deep sleep mode, there are cyclical increases of current ...
by grzegorz_kr
Sun Jan 16, 2022 9:34 pm
Forum: ESP32 Arduino
Topic: esp now: scanNetworks invoked asynchronously generates reset
Replies: 1
Views: 4639

Re: esp now: scanNetworks invoked asynchronously generates reset

ok, I found a problem: Serial.printf was the culprit.
by grzegorz_kr
Sun Jan 16, 2022 2:59 pm
Forum: ESP32 Arduino
Topic: esp now: scanNetworks invoked asynchronously generates reset
Replies: 1
Views: 4639

esp now: scanNetworks invoked asynchronously generates reset

Hi All, I always get ESP32-WROOM-32D module reset when calling scanNetworks function asynchronously (with parameter: true). Below is a code snippet. (Entire sketch taken from: https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/scan-examples.html, please refer to the last example on this pa...
by grzegorz_kr
Mon Jan 03, 2022 11:42 pm
Forum: ESP32 Arduino
Topic: restarting one-shot timer
Replies: 1
Views: 6336

restarting one-shot timer

I'm creating a timer in a setup() function: hw_timer_t * timer_grab = NULL; void setup() { timer_grab = timerBegin(1, 80, true); timerAttachInterrupt(timer_grab, &onTimer_grab, true); timerAlarmWrite(timer_grab, 3000000, false); //running it once (parameter false) timerAlarmEnable(timer_grab); } and...
by grzegorz_kr
Sun Jun 06, 2021 10:06 pm
Forum: ESP-IDF
Topic: espnow example in esp-idf/examples/wifi/espnow
Replies: 1
Views: 1997

espnow example in esp-idf/examples/wifi/espnow

Hi, why the task function
static void example_espnow_task(void *pvParameter) {....}
in the espnow_example_main.c doesn't have an infinite loop inside?
As I understand, according to FreeRTOS documentation, all task functions must be implemented with the infinite loop and never return.
by grzegorz_kr
Sun Apr 11, 2021 6:55 pm
Forum: ESP-IDF
Topic: RTC_GPIO_IN_NEXT definition
Replies: 1
Views: 1740

RTC_GPIO_IN_NEXT definition

Hi All, I'm wondering why the RTC_GPIO_IN_NEXT definition in rtc_io_reg.h is: #define RTC_GPIO_IN_NEXT 0x0003FFFF According to the specs, the GPIO17 - GPIO0 match bit31-bit14 in RTC_GPIO_IN_REG. All lower bits (13-0) are reserved. Therefore shouldn't it be: #define RTC_GPIO_IN_NEXT 0x00003FFF ? Rega...