Search found 3 matches

by Kakukk777
Mon Apr 26, 2021 5:07 am
Forum: ESP32 Arduino
Topic: BluetoothSerial's .println() is altering hardware timer interrupt on other core
Replies: 5
Views: 4940

Re: BluetoothSerial's .println() is altering hardware timer interrupt on other core

The BT task and interrupts run at core 0 by default, if memory serves. This happens even if you print to BT on the other core. Presumably the BT interrupts pre-empt your timer interrupt. But, I checked within the interrupt which core it runs on via xPortGetCoreID(), and it runs on the core in which...
by Kakukk777
Sun Apr 25, 2021 12:33 pm
Forum: ESP32 Arduino
Topic: BluetoothSerial's .println() is altering hardware timer interrupt on other core
Replies: 5
Views: 4940

BluetoothSerial's .println() is altering hardware timer interrupt on other core

I have a code in the ESP32 Arduino which is supposed to do the following: -create two tasks, each pinned to a core -on core 0 I launch a hardware timer interrupt to signal to the task to toggle a pin every 100 us -on core 1 I use the SerialBT.println() function from BluetoothSerial.h to send some gi...