Hi,
On ESP32, which has 2 processors, which processor does arduino code run? Is it same processor that runs WiFi? or do both of these run on different processors?
Thanks and Regards,
Hyper-iot
Hi,
On ESP32, which has 2 processors, which processor does arduino code run? Is it same processor that runs WiFi? or do both of these run on different processors?
Thanks and Regards,
Hyper-iot
By default WiFi (and other system code) runs on core 0, Arduino code runs on core 1. If there are user callbacks from core 0 code they also run on core 0. This allows poorly written user code to crash core 0.
Most, but not all, flavors of ESP32 have two cores. For example, ESP32-S2 is single-core.
Callbacks for WiFi events (set with ``WiFi.onEvent()) run on the core selected in the Arduino IDE:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.