ESP-MINI-1 Single or Dual core and related FastLED interrupt issue?
Posted: Wed Jul 20, 2022 5:41 pm
Hello all,
I speced ESP32-MINI-1's for a custom PCB's due to size limitations and the need for dual core (which is stated in the associated data sheet). As I worked through a few troubleshooting issues, I realized that the MINI's were behaving (and recognized in Platformio) as single core - whereas the Espressif dev board: ESP32-DevKitM-1 that I used for development was behaving as a dual core.
I am running FastLED (controlling WS2821B's), which does not play well with interrupts. I am also running IRremote, controlling a few mosfets on timers (with currentMillis), Bluetooth (temporarily for testing) and plan on hosting a simple single HTML page for wifi based control - all of these cause interrupt issues with FastLED and erratic operating behavior on a single core as currently scripted. I had been planning on running FastLED on one core and everything else on the other core.
So, my first question is: How can I confirm with absolute certainty that my MINI's are single or dual core? - in case Platformio is just reading the library and assigning it as a single core when it is actually a dual, or is it actually reading the core/s?
My second question is - if single core: will FREERTOS actually help or is there another solution?
Thanks
I speced ESP32-MINI-1's for a custom PCB's due to size limitations and the need for dual core (which is stated in the associated data sheet). As I worked through a few troubleshooting issues, I realized that the MINI's were behaving (and recognized in Platformio) as single core - whereas the Espressif dev board: ESP32-DevKitM-1 that I used for development was behaving as a dual core.
I am running FastLED (controlling WS2821B's), which does not play well with interrupts. I am also running IRremote, controlling a few mosfets on timers (with currentMillis), Bluetooth (temporarily for testing) and plan on hosting a simple single HTML page for wifi based control - all of these cause interrupt issues with FastLED and erratic operating behavior on a single core as currently scripted. I had been planning on running FastLED on one core and everything else on the other core.
So, my first question is: How can I confirm with absolute certainty that my MINI's are single or dual core? - in case Platformio is just reading the library and assigning it as a single core when it is actually a dual, or is it actually reading the core/s?
My second question is - if single core: will FREERTOS actually help or is there another solution?
Thanks