RP2040 - System Clocks - Bare Metal Programming - BMA05 - ndbatteries.com

RP2040 – System Clocks – Bare Metal Programming – BMA05

Life with David
Views: 465
Like: 58
RP2040 – System Clocks – Bare Metal Programming – BMA05

Join David as he dives into the bare metal programming aspects for setting up the clocks for the RP2040. He looks at the ring oscillator, the crystal oscillator, phase locked loops, and utilizing external clocks. He also demonstrate how to output a clock from the RP2040 for use in other circuits.

Resources for this Chapter::

Demonstration files for this video:

Link to “Bare Metal Adventures, Chapter 01”:

Link to “Bare Metal Adventures, Chapter 04”:

Cortex-M0+ Generic User Guide:

ARMv6-M Architecture Reference Manual:

RP2040 Datasheet:

Getting Started with the Raspberry Pi Pico:

Emulator

ARM Assembly Language Tutorial:

00:00 – Introduction
00:51 – RP2040 Clock overview
01:31 – Ring Oscillator
02:20 – Demo 1: Ring Oscillator right after boot
03:34 – Demo 2: Ring Oscillator increased speed
06:11 – Demo 3: Ring Oscillator increased stage power
07:37 – Demo 4: Crystal Oscillator at base speed of 12 MHz
14:13 – Demo 4A: Outputting the reference clock to GPIO
15:45 – Demo 5: PLL at 125 MHz
18:45 – Demo 6: Using external clocks
21:27 – Closing

Music:
(Pinnacle 25 royalty-free music):
Pulsing Dance
House Fever
Reaction Time
City Night Groove

Clip credit:
Start Trek II: The Wrath of Kahn
Paramount Pictures
1982