Search found 7 matches

by timokett
Mon Jan 23, 2023 4:47 pm
Forum: General Discussion
Topic: Does ESP32-C3 have ULP?
Replies: 1
Views: 1770

Does ESP32-C3 have ULP?

The latest technical reference (V0.7) for ESP32-C3 mentions ULP briefly but it may be just leftover from copy-paste. The datasheet (V1.4) does not mention ULP at all. Does anyone know if ESP32-C3 have ULP or not? I have used ULP of ESP32-S2 successfully doing low-power measurements and I wonder if C...
by timokett
Thu Jan 27, 2022 5:53 pm
Forum: General Discussion
Topic: ESP32-S2 ULP cannot control GPIO output
Replies: 1
Views: 4808

Re: ESP32-S2 ULP cannot control GPIO output

SOLVED! It appears that for GPIO output the main processor gpio setup calls have no impact. Everything can be done on ULP side. Only thing that is needed is call esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON) on the main processor. The traps were caused by trying to set output witho...
by timokett
Mon Jan 24, 2022 5:26 pm
Forum: General Discussion
Topic: ESP32-S2 ULP cannot control GPIO output
Replies: 1
Views: 4808

ESP32-S2 ULP cannot control GPIO output

I am trying to control GPIO output with RISCV ULP in deep sleep. I started with the only example I found, the espressif examples/system/ulp_riscv. It is a simple example that reads input and then wakes up the main processor. It works fine. But when I try to control GPIO, I ran into problems. In shor...
by timokett
Wed Jul 07, 2021 6:38 am
Forum: General Discussion
Topic: Wifi station example and ESP32-S2
Replies: 6
Views: 7179

Re: Wifi station example and ESP32-S2

I found out that 500 ms is enough, 100 ms was not.
So I added this in the beginning and it works fine:

Code: Select all

vTaskDelay(500 / portTICK_PERIOD_MS);
by timokett
Wed Jun 23, 2021 6:09 pm
Forum: General Discussion
Topic: Wifi station example and ESP32-S2
Replies: 6
Views: 7179

Re: Wifi station example and ESP32-S2

I now found out that when I loop a while before going into nv_init, it works. I merged the led blink example with station example to add few blinks at the beginning: void app_main(void) { ESP_LOGI(TAG, "Started"); #if 1 /* Configure the peripheral according to the LED type */ configure_led(); int ti...
by timokett
Tue Jun 22, 2021 3:25 pm
Forum: General Discussion
Topic: Wifi station example and ESP32-S2
Replies: 6
Views: 7179

Re: Wifi station example and ESP32-S2

Brownout is not likely since the dev board supports lipo battery and I have it also connected.
by timokett
Thu Jun 17, 2021 12:23 pm
Forum: General Discussion
Topic: Wifi station example and ESP32-S2
Replies: 6
Views: 7179

Wifi station example and ESP32-S2

I have been going through the ESP32 sample codes in examples folder. I have ESP32-S2 WROVER and I am using internal USB CDC instead of serial converter. When I build and run the sample examples/wifi/getting_started/station, I get no console output. The device seems to reboot in a loop idf.py monitor...