I tried to use FreeRTOS on ttgo v1.6 board embedding an ESP32 microcontroller.
I'm using xCreateTaskPinnedToCore() to create 2 tasks, one to drive a:servo motor and the other one to debug, send data via WiFi or store on SDCard.
Everything is OK when I create the tasks on core 1, the défaut one, but if I try to pin a task to core 0, this one behave strangely or even freezes.
I read that core 0 is used by WiFi and Lora stacks, but I'm not really sure having well understood the architecture.
Does it explain we cannot execute any task on core 0?
I don't think so, but I'll have to recheck and I couldn't do it before the end of week.
Anyway when I assign the debug task on core 0, driving an old display connected to i2c, I can't drive the display correctly.
And when I
Assign the high speed task on core 0 which drives a servo motor based on ICM20948 infos at a cycle time of 1.5 ms l, everything is freezed.