Search found 5 matches

by muhgin
Thu Jan 25, 2018 11:56 am
Forum: ESP-IDF
Topic: Modem Sleep: Is there any callback?
Replies: 5
Views: 9567

Re: Modem Sleep: Is there any callback?

I mean i want to wake up webserver task only if there's a real data coming from wifi, and suspend the task after ive finished processing.
by muhgin
Thu Jan 25, 2018 9:58 am
Forum: ESP-IDF
Topic: Modem Sleep: Is there any callback?
Replies: 5
Views: 9567

Re: Modem Sleep: Is there any callback?

Hi, according to esp32_technical_reference_manual_en. pdf is only possible in light sleep mode, table pag 616: 5. To wake up the chip with a Wi-Fi or BT source, the power mode switches between the Active, Modem- and Light-sleep modes. The CPU, Wi-Fi, Bluetooth, and radio are woken up at predetermin...
by muhgin
Thu Jan 25, 2018 3:01 am
Forum: ESP-IDF
Topic: Modem Sleep: Is there any callback?
Replies: 5
Views: 9567

Modem Sleep: Is there any callback?

Hi,

I've searched but couldn't find much info on this.
I was wondering if the is any hook/indicator/callback that I can associate with wifi modem sleep.
My plan is to run my webserver task only when wifi is woken up by data received and to sleep when the modem sleep starts.

Thanks in advance.
by muhgin
Mon Nov 20, 2017 1:15 am
Forum: ESP-IDF
Topic: Concurrent DMA access on different core.
Replies: 2
Views: 3971

Re: Concurrent DMA access on different core.

Thanks,

I've tried and tested, it works fine as per your reply.
by muhgin
Thu Nov 16, 2017 7:42 am
Forum: ESP-IDF
Topic: Concurrent DMA access on different core.
Replies: 2
Views: 3971

Concurrent DMA access on different core.

Hi, I have a (noob)question regarding dma. Say I have sdcard_write_task() and i2s_read_task() running simultaneously on core 0 and 1 respectively. i2s_read_task() getting parallel input using dma, and after each dma descriptor has been served(while waiting for the next one), it will queue the gotten...