Search found 3 matches

by val_carrara
Mon Mar 30, 2020 9:54 pm
Forum: ESP32 Arduino
Topic: Dual Core RT on ESP32
Replies: 5
Views: 7075

Re: Dual Core RT on ESP32

Hi boarchuz It took me some time to realize what your mean when you say: "Your loop() is very busy when it doesn't really need to be". I finally realized (after trying unsuccessfully using portMAX_DELAY with semaphores) that is was only a matter of giving the scheduler some time to process other tas...
by val_carrara
Thu Mar 26, 2020 2:28 pm
Forum: ESP32 Arduino
Topic: Dual Core RT on ESP32
Replies: 5
Views: 7075

Re: Dual Core RT on ESP32

In reply to boarchuz: Thank you for your comments. 1) "That's a very busy loop when it doesn't need to be. How about portMAX_DELAY instead of 0?" I'm just trying to make Core 1 process data as soon as the semaphore is available. Moreover, I don't need any more tasks running on Core 1, so this should...
by val_carrara
Thu Mar 26, 2020 1:54 am
Forum: ESP32 Arduino
Topic: Dual Core RT on ESP32
Replies: 5
Views: 7075

Dual Core RT on ESP32

Hi everybody. First at all, I'm newbie and I apologize for this post. Maybe it's just a silly question. I'm coding in ESP32 with Arduino IDE. My application needs two cores, and I'm using semaphores to control data flowing between both cores. In short, an ISR gives the semaphore to a task running on...