Search found 12 matches

by Laetterman
Wed Sep 05, 2018 4:59 am
Forum: General Discussion
Topic: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?
Replies: 10
Views: 14300

Re: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?

ESP-IDF v3.2-dev-728-ge54f3d9
Arduino-ESP is the latest one (4.9.2018) from here https://github.com/espressif/arduino-esp32.git (not sure how to get the version number)
by Laetterman
Tue Sep 04, 2018 3:25 pm
Forum: General Discussion
Topic: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?
Replies: 10
Views: 14300

Re: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?

OK, after enabling "C++ exception handling" in menuconfig the following error appears when compiling the hello_world_main.c example: Python requirements from /Users/Laetterman/esp/esp-idf/requirements.txt are satisfied. CXX build/arduino/libraries/SD_MMC/src//SD_MMC.o /Users/Laetterman/esp/hello_wor...
by Laetterman
Sun Sep 02, 2018 4:32 pm
Forum: General Discussion
Topic: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?
Replies: 10
Views: 14300

Re: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?

I installed the master branch of esp-idf, and could enable the power management in menuconfig. However the concept of using Arduino es ESP component is beyond my (limited) abilities... following these instructions https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md there...
by Laetterman
Wed Aug 29, 2018 12:13 pm
Forum: General Discussion
Topic: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?
Replies: 10
Views: 14300

Re: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?

Thats great. Is there any chance to activate DFS via Arduino IDE or do I need to install IDF first and use menuconfig as described here https://github.com/espressif/esp-iot-solution/blob/master/documents/DFS_and_light_sleep/DFS_test_manual_en.md ? esp_pm_config_esp32_t pm_config = { .max_cpu_freq =R...
by Laetterman
Wed Aug 15, 2018 6:58 pm
Forum: General Discussion
Topic: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?
Replies: 10
Views: 14300

Re: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?

Thank you, thats great!
Please, could you give a rough estimation on when DFS @20Mhz will be available?

Will it support to boot with the reduced speed too, or will the first about 200ms booting sequence still run with 240Mhz (thus consuming about 60mA)?
by Laetterman
Wed Aug 08, 2018 9:03 am
Forum: General Discussion
Topic: Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?
Replies: 10
Views: 14300

Is rtc_clk_cpu_freq_set to 10Mhz or 20Mhz possible?

Hi,

using

Code: Select all

rtc_clk_cpu_freq_set
we can change the frequency from 240Mhz to 160Mhz, 80Mhz or 2Mhz.
Is it possible to change the frequency to 10Mhz or 20Mhz too?

Reason why I'm asking is trying to bring the power consumption down in active mode.

Thanks!
by Laetterman
Sun Jul 08, 2018 9:31 am
Forum: General Discussion
Topic: Deep sleep power consumption with connected SPI device
Replies: 10
Views: 14951

Re: Deep sleep power consumption with connected SPI device

Got it finally working after changing the SPI pin mapping in "pins_arduino.h" to pins with rtc functionality (https://pcbreflux.blogspot.com/2017/02/ ... ample.html).

I think we could close this topic. Thanks for your input.
by Laetterman
Sat Jul 07, 2018 9:16 pm
Forum: General Discussion
Topic: Deep sleep power consumption with connected SPI device
Replies: 10
Views: 14951

Re: Deep sleep power consumption with connected SPI device

OK when measuring the voltage level with a multimeter one can see the hold-function during deep-sleep works fine for all pins but pin 18, 19 & 23... these are the SPI pins! So the question now is if it is possible to change the pin mapping in the Arduino world, or is there any other reason why the S...
by Laetterman
Fri Jul 06, 2018 6:39 pm
Forum: General Discussion
Topic: Deep sleep power consumption with connected SPI device
Replies: 10
Views: 14951

Re: Deep sleep power consumption with connected SPI device

Thank you! But adding the function for all used GPIOs numbers (i.e. gpio_hold_en(GPIO_NUM_25); for GPIO nbr 25; I am using 15, 18, 19, 23, 25, 27, 33) prior setting the ESP to deep sleep does still not change the current consumption. :roll: When adding external resistors to the ESP GPIO outputs the ...
by Laetterman
Wed Jun 27, 2018 6:21 pm
Forum: General Discussion
Topic: Deep sleep power consumption with connected SPI device
Replies: 10
Views: 14951

Re: Deep sleep power consumption with connected SPI device

OK here more results after trying different pinModes in combination with two deep sleeping SPI connected devices: Power-On - 500µA SPI.begin() - 160µA (OK) UC+BMA250.deepSleep() - 5µm (OK) SPI.end() - 500µA (NOK) pinMode(pin_xy, INPUT_PULLUP) - 5µA (OK) pinMode(pin_xy, OUTPUT) - 500µA (OK) pinMode(p...