Search found 14 matches

by mtaz78
Mon May 27, 2024 3:08 pm
Forum: ESP-IDF
Topic: Dynamically disable Power Management
Replies: 2
Views: 596

Re: Dynamically disable Power Management

Solved, thanks!
by mtaz78
Fri Apr 12, 2024 9:58 am
Forum: ESP-IDF
Topic: Dynamically disable Power Management
Replies: 2
Views: 596

Dynamically disable Power Management

Hi, is it possibile to totally disable Power Management from code? Let me explain, I use the bluetooth connection with automatic light sleep, but when I receive a certain message I need to resume using the CPU at maximum frequency. I was able to block the light sleep, but not disable power managemen...
by mtaz78
Tue Apr 09, 2024 12:59 pm
Forum: ESP-IDF
Topic: Automatic Light Sleep
Replies: 2
Views: 807

Re: Automatic Light Sleep

Hi MicroController, thank you for your answer. Sorry I wasn't clear, I meant that when it sleeps, with automatic light sleep, the power consumption is higher than when it sleeps with manual light sleep, I'm not talking about total time sleeping or total consumption. I am only referring to power cons...
by mtaz78
Tue Apr 09, 2024 9:26 am
Forum: ESP-IDF
Topic: Automatic Light Sleep
Replies: 2
Views: 807

Automatic Light Sleep

Hi, I am trying to implement automatic light sleep, I have followed all the indications in the ble/power_save example and the instructions in this discussion: https://github.com/espressif/esp-idf/issues/947#issuecomment-500312453 . Unfortunately I have a consumption that is about three times as high...
by mtaz78
Thu Mar 21, 2024 3:46 pm
Forum: ESP IoT Solution
Topic: BLE as wake up source from Light Sleep Mode
Replies: 1
Views: 29027

Re: BLE as wake up source from Light Sleep Mode

Hi nicolasrios,
have you found an answer to your question? I am trying to do something similar but the only example I have found is this one https://github.com/espressif/esp-idf/tr ... power_save, but there are some concepts I did not understand.
by mtaz78
Wed Mar 20, 2024 2:29 pm
Forum: ESP-IDF
Topic: NimBLE GATT Client/Server
Replies: 0
Views: 578

NimBLE GATT Client/Server

Hi, While studying the BLE stack I found out that the concepts of Central/Peripheral and Client/Server are not logically connected. Let me explain, one usually associates Central with Client and Peripheral with Server, but, at least on a theoretical level, the Central/Peripheral distinction concerns...
by mtaz78
Fri Mar 01, 2024 2:40 pm
Forum: ESP-IDF
Topic: WiFi not generating WIFI_EVENT_STA_DISCONNECTED event
Replies: 3
Views: 3528

Re: WiFi not generating WIFI_EVENT_STA_DISCONNECTED event

Hi Rasto, the problem lies in these two lines [Codebox] /* The event will not be processed after unregister */ ESP_ERROR_CHECK(esp_event_handler_instance_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, instance_got_ip)); ESP_ERROR_CHECK(esp_event_handler_instance_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, i...
by mtaz78
Wed Feb 28, 2024 7:24 am
Forum: ESP-IDF
Topic: MicroSD problem
Replies: 8
Views: 2002

Re: MicroSD problem

Hi ESP_rrtandler, thanks for your answer. Unfortunately, I have already tried changing that parameter, but the error remains. This is my code now sdmmc_host_t host = SDMMC_HOST_DEFAULT(); sdmmc_slot_config_t slot_config = { .clk = GPIO_NUM_15, .cmd = GPIO_NUM_7, .d0 = GPIO_NUM_4, .d1 = GPIO_NUM_NC, ...
by mtaz78
Thu Feb 22, 2024 10:31 am
Forum: ESP-IDF
Topic: MicroSD problem
Replies: 8
Views: 2002

Re: MicroSD problem

Hi chegewara, thanks again for your help, I found some initializations in the link you provided, but nothing, I keep getting the same error. I would exclude an hardware issue, because with the example code https://github.com/espressif/esp-adf/tree/master/examples/advanced_examples/http_play_and_save...
by mtaz78
Wed Feb 21, 2024 1:56 pm
Forum: ESP-IDF
Topic: MicroSD problem
Replies: 8
Views: 2002

Re: MicroSD problem

Thank you for your response chegewara, I updated my code as you suggested: static esp_err_t initi_sd_card(void) { sdmmc_host_t host = SDMMC_HOST_DEFAULT(); sdmmc_slot_config_t slot_config = SDMMC_SLOT_CONFIG_DEFAULT(); slot_config.clk = GPIO_NUM_15; slot_config.cmd = GPIO_NUM_7; slot_config.d0 = GPI...