dual core programming

aminElmi
Posts: 1
Joined: Mon Feb 27, 2023 12:23 pm

dual core programming

Postby aminElmi » Mon Feb 27, 2023 12:28 pm

is there a way in arduino IDE or other IDEs that you run two different tasks with two cores of esp32 but set each core frequency differently for example core 0 is performing its task with 10 Mhz frequency and core1 is doing its task with 80Mhz?

ESP_Sprite
Posts: 9727
Joined: Thu Nov 26, 2015 4:08 am

Re: dual core programming

Postby ESP_Sprite » Tue Feb 28, 2023 1:14 am

No, sorry, that kind of setup is physically impossible on current ESP chips as the two cores (and the main memory, for that matter) are in the same clock domain.

noweare
Posts: 74
Joined: Tue Jul 02, 2019 11:35 am

Re: dual core programming

Postby noweare » Mon Mar 13, 2023 5:20 pm

You can have two tasks that run at different frequencies on the two different cores. For example two timer tasks.
I am assuming you are not talking about clocking the two cores at different frequencies.

Who is online

Users browsing this forum: No registered users and 70 guests