RP2040 Assembly Language Programming: ARM Cortex-M0+ on the Raspberry Pi Pico
- Length: 343 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2021-11-18
- ISBN-10: 148427752X
- ISBN-13: 9781484277522
- Sales Rank: #1017500 (See Top 100 Books)
Learn to program the Raspberry Pi Pico’s dual ARM Cortex M0+ CPUs in Assembly Language. The Pico contains a customer System on a Chip (SoC) called the RP2040, making it the Foundation’s first entry into the low-cost microcontroller market. The RP2040 contains a wealth of coprocessors for performing arithmetic as well as performing specialized I/O functionality. This book will show you how these CPUs work from a low level, easy-to-learn perspective.
There are eight new Programmable I/O (PIO) coprocessors that have their own specialized Assembly Language supporting a wide variety of interface protocols. You’ll explore these protocols and write programs or functions in Assembly Language and interface to all the various bundled hardware interfaces. Then go beyond working on your own board and projects to contribute to the official RP2040 SDK. Finally, you’ll take your DIY hardware projects to the next level of performance and functionality with more advanced programming skills.
What You’ll Learn
- Read and understand the Assembly Language code that is part of the Pico’s SDK
- Integrate Assembly Language and C code together into one program
- Interface to available options for DIY electronics and IoT projects
Who This Book Is For
Makers who have already worked with microcontrollers, such as the Arduino or Pico, programming in C or Python. Those interested in going deeper and learning how these devices work at a lower level, by learning Assembly Language.
Cover Front Matter 1. How to Set Up the Development Environment 2. Our First Assembly Language Program 3. How to Build and Debug Programs 4. How to Load and Add 5. How to Control Program Flow 6. Thanks for the Memories 7. How to Call Functions and Use the Stack 8. Interacting with C and the SDK 9. How to Program the Built-in Hardware 10. How to Initialize and Interact with Programmable I/O 11. How to Set and Catch Interrupts 12. Multiplication, Division, and Floating Point 13. Multiprocessing 14. How to Connect Pico to IoT Back Matter
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: RP2040 Assembly Language Programming: ARM Cortex-M0+ on the Raspberry Pi Pico
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.