Search found 2 matches

by macdeveloper
Wed Dec 05, 2018 9:22 am
Forum: Sample Code
Topic: ulp simple counter
Replies: 1
Views: 4655

ulp simple counter

Hi to all, I'm trying to do a simple ulp test that act as counter: this is my ULP code: const ulp_insn_t ulp_asm[] = { I_MOVI(R3, 32), // R0 <- 32 I_LD(R2, R3, 0), // R1 <- RTC_SLOW_MEM[R3] I_ADDR(R2, R2, 1), // R1 <- R1 + R1 I_ST(R2, R3, 0), // R1 -> RTC_SLOW_MEM[R3 + 0] I_HALT(), }; the c code to ...
by macdeveloper
Sat Feb 24, 2018 7:09 pm
Forum: ESP32 Arduino
Topic: light sleep before deep sleep cause double reset [ DEEPSLEEP_RESET and TG0WDT_SYS_RESET]
Replies: 0
Views: 2735

light sleep before deep sleep cause double reset [ DEEPSLEEP_RESET and TG0WDT_SYS_RESET]

Hi, i have do a little test to see how the two different sleep mode consume in milli-ampere. Either mode are setup to be awaken by timer. I have seen that if i put light sleep before deep sleep i got the DEEPSLEEP_RESET and TG0WDT_SYS_RESET type of reset in that order. This is a problem because at s...