I need to stop an ULP program from running from the main program. According to the documentation: "To disable the timer (effectively preventing the ULP program from running again), clear the RTC_CNTL_ULP_CP_SLP_TIMER_EN bit in the RTC_CNTL_STATE0_REG register. This can be done both from ULP code and...
Hi, I'm trying to use hardware timer interrupts to change a pin's output between high and low for varying durations. To do this, I change the timer alarm value in the ISR. However, calling the timerAlarmWrite function in the ISR causes A Guru Meditation Error: Guru Meditation Error: Core 1 panic'ed ...
No, there is not. Suggest you use an external solution for this. You should be able to implement it using something like a simple RC network to filter out the spikes. Could you please give more details on how such a RC circuit would work? We are not trying to filter out frequencies, we want to filt...
I'm having a chip that sleeps after a few seconds of inactivity and can be woken up by a GPIO that is connected to microphone. The relevant code is here. The wakeup is set to trigger on the GPIO being high. #define SLEEPTIMEOUT 3000 int lastActive; void setup(void) { lastActive = millis(); } void lo...
You can find the exact layout in the following partition table: https://github.com/espressif/arduino-esp32/blob/master/tools/partitions/default.csv. Other files in the same directory provide alternative partition tables. You can read more about partition tables in ESP-IDF programming guide: https:/...
What is the maximum size of EEPROM on ESP32? I can't find the information in the data sheet, and googling shows either 512 or 4096.
Is it possible to increase the amount of flash memory assigned to eeprom?
You can call esp_timer_get_time or gettimeofday functions. Time reported by these function will advance correctly (up to the precision of the RTC clock) while the chip is in light sleep.