ULP (ESP32) : a simple example
Tuesday, January 15, 2019
The ULP is a low-power coprocessor (Ultra Low Power) integrated into the ESP32 MCU. It's a very small processor that can run independently from the main cores and that has access to the GPIOs, some peripheral and an I²C controller.
The ULP is also able to run when the ESP32 is is deep-sleep mode. In this mode, nearly the whole MCU is powered-off, except the RTC domain, in which the ULP is built. It is also able to wake the ESP32 up.
A possible application of the ULP is to acquire temperature while the ESP32 is in deep-sleep and to wake it up once it reaches a specified threshold.
Programming the ULP seems very interesting, but even if the documentation from Espressif is very complete, I couldn't find a simple and easy example to learn how to use it.
Here is then in details an ultra simple exemple : the traditional blink, which blinks 2 LEDs on the WROVER-KIT V3.
…