Getting Started with Multicore Programming on the Raspberry Pi Pico
Learn Embedded Systems Learn Embedded Systems
35.2K subscribers
45,331 views
1.4K

 Published On Feb 2, 2021

This video covers how to create a simple multicore program which uses both cores on the Raspberry Pi Pico. We use a Visual Studio Code project to program the brand-new Raspberry Pi Pico microcontroller board. We created a program where one core uses the analogue to digital converter in the Pico to read the internal temperature of the RP2040 and sends this data to another core to output the temperature of the chip to a windows machine over a USB serial interface.

This video provides a conceptual overview of multicore (dual core) operation on the Raspberry Pi Pico. It also explains how to configure interrupts to correctly handle the sending and receiving of data between cores. We briefly discuss how to set up the analogue to digital converter (ADC) to read the onboard temperature of the RP2040 chip.

The source code for this project (and a written article version) is available here: https://learnembeddedsystems.co.uk/ba...

Timestamps
00:00 - Introduction
00:33 - Why use a Multicore Program?
01:46 - How do Multicore Programs Work?
03:40 - Creating a Visual Studio Code Project
04:29 - Writing CMakeLists File
05:30 - Writing C File
09:45 - Conclusion

If this video helped you, please consider leaving a like and subscribing, thank you!

To see my other videos on the Raspberry Pi Pico, check out the playlist here:    • Pico Tutorials  

You can find more embedded systems tutorials and projects on my website https://learnembeddedsystems.co.uk

-- Equipment I use regularly --
The following links are affiliate links where I may make a small percentage on qualifying sales through these links. Use the respective UK or US links listed.

Budget Soldering Iron: UK: https://amzn.to/3pQpvUu US: https://amzn.to/3bBawIJ
Breadboards: UK: https://amzn.to/3solZCe US: https://amzn.to/3dGsHiS
Jumper Cables: UK: https://amzn.to/37JfToi US: https://amzn.to/3r384S9
Camera: UK: https://amzn.to/3qKLwFr US: https://amzn.to/3pK0V7C
Lens: UK: https://amzn.to/380lQxp US: https://amzn.to/3knH3WL
Tripod: UK: https://amzn.to/37H0Nzw US: https://amzn.to/3byKHsV

All videos and tutorials on this channel and mentioned websites are for educational purposes only.

show more

Share/Embed