I have tried adding the timestamp to the message, but still seems slow, now I get 7ms from when sending the message up to Core1, and starting the DarkChannel process there is a difference of 20ms:
I (25178) dehaze: Sending message, Core 0 ts: 23521941 micro-seconds W (25188) Mat_offload: message ...
it is pretty straight forward, as you will see, both cores are calling DarkChannel() , so the other thing I was thinking is that maybe memory collision?
here are the main snippets:
From main()
main() { mat_split_task_handle = xTaskCreateStaticPinnedToCore(dehaze_task, // Function Ptr "Task ...
I have a heavy processing function (DSP) that I want to perform in parallel, so I have pinned a 'task' task to Core0 and 'offload' task to Core1,
The processing is on a buffer in memory of 300k Bytes, so I am sending a pointer to the center of the buffer using xQueueSend, so that the offload task ...
I have been doing some test code in ESP32, I took an sample code, so I am not using RTOS, I know that main is invoked from a RTOS task underline in esp32-idf. My main program is now running long at 30k ticks I get a Task watchdog trigger:
E (30232) task_wdt: Task watchdog got triggered. The ...