Replies: 1 comment 6 replies
-
It's core0 and core1, not core1 and core2, so be sure to use Multicore you should read the RP2040 datasheet and be aware that Arduino functions/libraries are generally not multicore or multithread safe. At a high level, each core has its own controller so only the core you enable GPIO interrupts on will take the IRQ. Only
It's not really that hard, but it does take care to use both cores successfully. General multicore/multithread rules apply here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Im assigning core 2 to handle data acquisition to the sensors, these involves multiple interrupts and i was wonderinng how the arduino pico core handles these. ( I dont see an interrupt section in the docs)
If i do an attachInterrupt() on loop2/setup2 i assume it will only interrupt core 2 right? Core 1 will remain unaffected?
Does that also mean noInterrupts() and Interrupts() will only apply to the specific core they are called upon?
Beta Was this translation helpful? Give feedback.
All reactions