Hi,
I know that the ESP32 can read ADC using ULP without using the main processor and it looks, I understand this from datasheet, that the TOUCH sensor could be read in the same way but I can't find any example to do it. The usual way is to wake-up the main processor with an touch-interrupt, then read the sensor and then go back to sleep.
Any one couild confirm me if the touc sensor could be read in ULP mode?
Thanks in advance.
Touch sensor read with ULP?
Re: Touch sensor read with ULP?
try https://github.com/boarchuz/HULP/blob/m ... lp_touch.h
the library also has an example.
the library also has an example.
Re: Touch sensor read with ULP?
hi, is there a sample using a .S file? the HULP example uses the C-macro library, which is hard to make work on Windows. Besides, I have other .s code already implemented. thanks!
Re: Touch sensor read with ULP?
You could convert the instructions (after untangling the macros) to normal ULP assembly. There's not much to the touch stuff.
hulp_dump_program might be useful as an intermediate.
hulp_dump_program might be useful as an intermediate.
Who is online
Users browsing this forum: No registered users and 360 guests