© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
S. SmithRP2040 Assembly Language Programminghttps://doi.org/10.1007/978-1-4842-7753-9_13

13. Multiprocessing

Stephen Smith1  
(1)
Gibsons, BC, Canada
 
The RP2040 contains two ARM Cortex-M0+ CPU cores; in this chapter, we look at how to run code on the second processor. The second processor is in a power-conserving sleep state by default; we’ll see how to wake it up and assign it work to process. Raspberry added two helpful features to the RP2040 for working with both CPU cores:
  1. 1.

    There are two FIFOs: one for core 0 to send data to core 1 and the other for core 1 to send data to core 0.

     
  2. 2.

    There are 32 spinlocks that can be assigned to control access to shared ...

Get RP2040 Assembly Language Programming: ARM Cortex-M0+ on the Raspberry Pi Pico now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.