Search found 296 matches

by urbanze
Fri Jan 05, 2018 3:58 pm
Forum: General Discussion
Topic: 2nd cpu experiences ?
Replies: 2
Views: 3671

Re: 2nd cpu experiences ?

If you search in forum, you will see that there are several discussions about this.

However, we can use it practically freely. Whether it's for heavy processing or even handling interruptions efficiently, it's enough for your imagination to guide you through the amazing world of parallel computing.
by urbanze
Fri Jan 05, 2018 3:55 pm
Forum: General Discussion
Topic: ESP32 Tips to save Power (for battery driven use)
Replies: 3
Views: 6127

Re: ESP32 Tips to save Power (for battery driven use)

-Read sensor's with ULP, if it's possible. (This would be of extreme importance as it can help a lot.) -Use ESP32 with 2MHz if not using periphals, like UART or WiFi, to read sensors if ULP doens't work. -And the main point.... Schedule correctly. A well-programmed mcu in this portable paradigm can ...
by urbanze
Thu Jan 04, 2018 10:32 pm
Forum: General Discussion
Topic: Handle internal interrupt
Replies: 13
Views: 15203

Re: Handle internal interrupt

You probably also need to set the corresponding enable bit in RTC_CNTL_INT_ENA_REG, i.e. REG_SET_BIT(RTC_CNTL_INT_ENA_REG, RTC_CNTL_ULP_CP_INT_ENA_M). I've already done it differently, I hope it will result in the same as "REG_SET_BIT". Anyway, I tested your command and it also did not work!!!! Is ...
by urbanze
Thu Jan 04, 2018 4:31 pm
Forum: General Discussion
Topic: Handle internal interrupt
Replies: 13
Views: 15203

Re: Handle internal interrupt

https://github.com/espressif/esp-idf/blob/d2bd9cccd825a8f1ed8c5d9cdae817c3a9bf2a0d/components/soc/esp32/include/soc/rtc_cntl_reg.h#L671 RTC_CNTL_SAR_INT_ST_M unfortunately, I also tried this one and your "brothers" like .....ST, ST_M, ST_V, ST_S before and just tried it, it did not work. See code's...
by urbanze
Thu Jan 04, 2018 3:39 pm
Forum: General Discussion
Topic: Handle internal interrupt
Replies: 13
Views: 15203

Re: Handle internal interrupt

Well, at least I was able to define a function at ISR. The phrase taken from "WAKE" in the datasheet says about the activation of "RTC_CNTL_ULP_CP_INT_ENA", I tried this and even "esp_sleep_enable_ulp_wakeup ()" but I think the error is in the BIT assigned to the ISR: "rtc_isr_register (wk, NULL, ET...
by urbanze
Tue Jan 02, 2018 1:56 pm
Forum: General Discussion
Topic: Handle internal interrupt
Replies: 13
Views: 15203

Re: Handle internal interrupt

https://github.com/espressif/esp-idf/blob/4ec2abbf23084ac060679e4136fa222a2d0ab0e8/components/driver/include/driver/rtc_cntl.h#L21-L38 The problem is that I did not understand this story of "intr_handler_t" nor "handler arg". Could you explain how to create/work/what is this item or some practical ...
by urbanze
Mon Jan 01, 2018 2:23 pm
Forum: General Discussion
Topic: Handle internal interrupt
Replies: 13
Views: 15203

Handle internal interrupt

How do I assign a internal system interrupt to any function? I want to test first with the ULP WAKE register: "If the SoC is not in deep sleep mode, and ULP interrupt bit (RTC_CNTL_ULP_CP_INT_ENA) is set in RTC_CNTL_INT_ENA_REG register, RTC interrupt will be triggered." I noticed that in this link:...
by urbanze
Sat Dec 30, 2017 12:45 pm
Forum: General Discussion
Topic: ESP32 vs ESP8266 power consume
Replies: 5
Views: 16046

Re: ESP32 vs ESP8266 power consume

Hi xian, in both datasheet's show power consumption. However, both esp's with WiFi is about 80-240mA (rx and tx). See tables in sheet. If you need to use batteries, you need to use sleep's modes, like deep sleep. Thanks urbanze. yes 80~240mA is normal data from wifi data tx/rx perspective. do you k...
by urbanze
Fri Dec 29, 2017 10:51 pm
Forum: ESP-IDF
Topic: ulp compile error
Replies: 2
Views: 3698

Re: ulp compile error

Show main.c/cpp and asm from ulp!
by urbanze
Fri Dec 29, 2017 3:47 pm
Forum: General Discussion
Topic: ESP32 vs ESP8266 power consume
Replies: 5
Views: 16046

Re: ESP32 vs ESP8266 power consume

Hi xian, in both datasheet's show power consumption.

However, both esp's with WiFi is about 80-240mA (rx and tx). See tables in sheet.

If you need to use batteries, you need to use sleep's modes, like deep sleep.