Use ULP to blink LED
Posted: Sat Jun 05, 2021 6:03 am
Hi,
I have been looking at this example where the author used the ULP to make an LED blink:
https://github.com/joba-1/Blink-ULP
The example uses GPIO 2 (RTC GPIO 12) to connect the LED. I tried unsuccessfully to change the example to make use of GPIO 25. According to table 4.4 of the TRM GPIO 25 is equivalent to RTC GPIO 6. The blink example uses RTC_IO_TOUCH_PAD2_REG to set the digital function for RTC GPIO 12. There is no corresponding register for RTC GPIO 6, so my question is if it is possible to use GPIO 25 and if yes, how to configure RTC IO_MUX.
TIA,
AP
I have been looking at this example where the author used the ULP to make an LED blink:
https://github.com/joba-1/Blink-ULP
The example uses GPIO 2 (RTC GPIO 12) to connect the LED. I tried unsuccessfully to change the example to make use of GPIO 25. According to table 4.4 of the TRM GPIO 25 is equivalent to RTC GPIO 6. The blink example uses RTC_IO_TOUCH_PAD2_REG to set the digital function for RTC GPIO 12. There is no corresponding register for RTC GPIO 6, so my question is if it is possible to use GPIO 25 and if yes, how to configure RTC IO_MUX.
TIA,
AP