So far I’m not seeing a way to program the LP core of the C6 with the Arduino IDE. Is it there and I missed it? If not, is this on the roadmap for Arduino support?
rrr
So far I’m not seeing a way to program the LP core of the C6 with the Arduino IDE. Is it there and I missed it? If not, is this on the roadmap for Arduino support?
rrr
Hi there,
So AFAIK, Not supported YET! in arduino
it is in ver 5.2 ESP-IDF
Arduino IDE always seems to be the last guy updated…
YMMV
GL PJ
Hi @reivilo,
I have successfully programmed the C6 with the Arduino IDE, but I would like to know how to program the LP core in addition to the HP core. It appears only the HP core is currently supported by the Arduino support. Is there a roadmap to LP core support in the Arduino support lib?
rus
Hi there,
Not likely… or if so WAaaaay late, ESP-IDF is the only method currently available and some of the features are not enabled yet AFAIK. The GPIO wake up is though , Polling with LP to Wake the Main core on I/O change is, as well as Serial port Data wake-up. a couple other things too, but it’s fresh.
HTH
GL PJ
PLIO may get there first IMO… stay tuned.
“The ULP (Ultra Low Power) coprocessor is a simple FSM (Finite State Machine) which is designed to perform measurements using the ADC, temperature sensor, and external I2C sensors, while the main processors are in deep sleep mode. The ULP coprocessor can access the RTC_SLOW_MEM memory region, and registers in RTC_CNTL, RTC_IO, and SARADC peripherals. The ULP coprocessor uses fixed-width 32-bit instructions, 32-bit memory addressing, and has 4 general-purpose 16-bit registers.”
" The ULP coprocessor code is written in assembly and compiled using the binutils-esp32ulp toolchain."
The C6 has a full blown RISC-V LP core, not the finite state machine ULP core of other ESP32s:
https://docs.espressif.com/projects/esp-idf/en/stable/esp32c6/api-reference/system/ulp-lp-core.html
Hi there,
Correct none of them (LP cores) are supported by the Arduino IDE.
GL PJ
@reivilo thank you for the update on official support for the High Power core in Arduino ESP32 core 3.0. Please do let us know when Low Power core support may be coming to Arduino ESP32 core.
I filed this ticket for anyone who wants to follow along.