Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Raspberry Pi Pico and RP2040 - The Deep Dive

Hackaday via YouTube

Overview

Dive deep into the Raspberry Pi Pico and RP2040 microcontroller in this comprehensive second class of the HackadayU series. Explore GPIO registers, timer peripherals, and alarms before delving into interrupts, NVIC, and the vector table. Follow along with practical code examples, including dumping the vector table using the VTOR register and implementing a blink function with interrupts. Gain insights into the WFI (Wait for Interrupt) instruction, Cortex-M CPU registers, and essential ARM instructions such as mov, add, sub, and mul. Master bitwise operations with and, orr, and eor (xor) instructions. Conclude with a live demonstration of WFI power saving using the Nordic PPK2, providing hands-on experience with advanced microcontroller concepts and programming techniques.

Syllabus

Start
Recap: GPIO Registers
The Timer Peripheral + Alarms
Interrupts, NVIC & The Vector Table
Code Example: Dumping the Vector Table Using VTOR Register
Code Example: Blink with Interrupts
WFI Wait for Interrupt Instruction
Cortex-M CPU Registers
ARM Instructions: mov, add, sub, mul
Bitwise Instructions: and, orr, eor xor
Bonus: Live Demo of WFI power Saving Using Nordic PPK2

Taught by

HACKADAY

Reviews

Start your review of Raspberry Pi Pico and RP2040 - The Deep Dive

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.