Search found 15 matches

by Altivecer
Mon Jun 27, 2022 11:39 pm
Forum: ESP-ADF
Topic: How to get the sdcard handler in the ADF read MP3 from sdcard example
Replies: 3
Views: 4706

Re: How to get the sdcard handler in the ADF read MP3 from sdcard example

Just a note, you have to but "/sdcard/" in front of the file name

FILE *demo = fopen("/sdcard/demo.txt", "w+");

printf("demo = %u\n", (uint32_t)demo);
fprintf(demo, "This is a test");
fclose(demo);

works and creates a file on the SD Card.

Thank you so much.

Doug
by Altivecer
Sat Jun 25, 2022 3:51 pm
Forum: Sample Code
Topic: light sleep and wifi
Replies: 0
Views: 3155

light sleep and wifi

Hi, Has anyone gotten light sleep and wifi working using the IDF? The documentation says to call esp_wifi_stop() before calling esp_light_sleep_start() but it doesn’t say anything about what to co when it wakes back up. I can’t find any examples that do this. I searched for esp_wifi_stop() in all th...
by Altivecer
Thu Jun 23, 2022 3:16 pm
Forum: Hardware
Topic: ESP32-LyraT-mini with standard IDF examples
Replies: 0
Views: 1248

ESP32-LyraT-mini with standard IDF examples

Is anyone using the ESP32-LyraT-mini board? I can get the ADF examples to build, but I’m beating my head against the wall with the normal IDF examples. I got the storage->sd_card->sdmmc example to work by adding code to drive GPIO13 low. I can’t get the protocols->http_server->file_serving example t...
by Altivecer
Wed Jun 22, 2022 11:00 pm
Forum: ESP-IDF
Topic: sdcard read with ESP32-LyraT-Mini V1.2
Replies: 1
Views: 2355

Re: sdcard read with ESP32-LyraT-Mini V1.2

I don't know if you ever figured this out, but I ran into the same issue.

You need to set GPIO 13 as an output and drive it low. This turns on the power to the SD Card.
by Altivecer
Fri Jun 17, 2022 8:50 pm
Forum: Report Bugs
Topic: ESP23-C3 wakes up from light sleep too soon
Replies: 1
Views: 3991

Re: ESP23-C3 wakes up from light sleep too soon

So… I was over designing the loop (or at least over designing it in the wrong way). In my code I was setting up the time until wake each time I put the processor to sleep. That was not needed and in fact was wrong. As long as the original time has not passed yet, the wake up time is still valid. so…...
by Altivecer
Wed Jun 15, 2022 8:23 pm
Forum: Hardware
Topic: JTAG and light sleep mode, ESP32-C3
Replies: 3
Views: 1857

Re: JTAG and light sleep mode, ESP32-C3

Hi ESP_Sprite. That's what I figured. I was hoping for a little more definitive answer on if running with an external JTAG pod will work with sleep. Do you have a recommendation on which job to get. I see a lot of people talking about the ESP-PROG, but that is only available from China with a four w...
by Altivecer
Tue Jun 14, 2022 1:56 pm
Forum: ESP-ADF
Topic: How to install the ADF in the Eclipse IDF tool
Replies: 1
Views: 3140

How to install the ADF in the Eclipse IDF tool

There are instructions how to add the Espressif IDF plug-in to Eclipse (which work) but I can't find how to install the ADF.

1) Does it have to be installed manually?
2) If installing manually, where is it installed?
by Altivecer
Tue Jun 14, 2022 1:53 pm
Forum: Hardware
Topic: JTAG and light sleep mode, ESP32-C3
Replies: 3
Views: 1857

JTAG and light sleep mode, ESP32-C3

Hi, I'm trying to do debugging of my code that uses light sleep. When I use the built-in USB/JTAG interface, opened disconnects and dies when the DEV board goes into light sleep. It seems that the USB port goes away because it is powered down. Questions. 1) Is there a what to force the chip to keep ...
by Altivecer
Tue Jun 14, 2022 12:50 am
Forum: Report Bugs
Topic: ESP23-C3 wakes up from light sleep too soon
Replies: 1
Views: 3991

ESP23-C3 wakes up from light sleep too soon

Hi All, I’ve been pounding my head on a wall for a while with this one. I have a simple loop that sets up to use a timer and a gpio to wake up from light sleep. Whenever the gpio causes the wake, I swap the sense of the DIO that will cause the next wake, then put the loop back to sleep with the rema...
by Altivecer
Sat Jun 04, 2022 5:19 pm
Forum: ESP32 Arduino
Topic: Wake from light sleep from IO or Alarm
Replies: 0
Views: 1159

Wake from light sleep from IO or Alarm

Is there any way to wake up from sleep when an I/O goes low or when a timer alarm goes off? gpio_wakeup_enable((gpio_num_t)SW_1, GPIO_INTR_LOW_LEVEL); gpio_wakeup_enable((gpio_num_t)SW_2, GPIO_INTR_LOW_LEVEL); gpio_wakeup_enable((gpio_num_t)SW_3, GPIO_INTR_LOW_LEVEL); esp_sleep_enable_gpio_wakeup();...