ESP32 dual core

Thread Starter

sylvanoMTL

Joined Oct 27, 2022
3
Good evening,
I have a project I have in mind that uses the ESP32 to read sensors, preprocess the data and stream back the data to a host using Wifi, or Bluetooth with UDP protocol.
The data are then analysed and interpreted by a software and sent back to the ESP32.

I would like to use the dual core and I had in mind the following:
Core 0 will be in charge to collect the data and pre-process them, and write them on a local memory (optional)
Core 1 is managing the communication (connection monitoring) when communication is established, it is in charge of streaming the data.
Is my approach correct?
Maybe there is a smartest way to use the two cores.
 
Top