Это видео недоступно.
Сожалеем об этом.
RP2040 - System Clocks - Bare Metal Programming - BMA05
HTML-код
- Опубликовано: 17 авг 2024
- 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.
Raspberry Pi Pico Assembly Language Tutorial #05
Resources for this Chapter::
Demonstration files for this video: github.com/Lif...
Link to “Bare Metal Adventures, Chapter 01”:
• RP2040 - Introduction ...
Link to “Bare Metal Adventures, Chapter 04”:
• RP2040 - NO SDK! Assem...
Cortex-M0+ Generic User Guide: developer.arm....
ARMv6-M Architecture Reference Manual:
developer.arm....
RP2040 Datasheet: datasheets.ras...
Getting Started with the Raspberry Pi Pico: datasheets.ras...
Emulator cpulator.01xz....
ARM Assembly Language Tutorial: • Assembly Language Prog...
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
Excellent work, David! There are quite a few moving parts to setting the clock, so I'm glad you were able to explain it.
Thank you. I'm glad it was helpful.
Very nice! Again, David is not just scratching the surface!
Thank you for the nice comments.
Great, looking forward seen you add PIO support with Assembly.
I'm not sure when I'll get there; I've got a lot of learning and experimenting to do first.
These are excellent videos David!
Thank you. I like to learn and they say you learn best when you have to explain it later to others.
Excellent video, I was wondering if there was a way to ask more detailed questions of you.
As long as they are not too complicated; you can try asking them in the comments; I respond to all of them. However, I'll be going to AirVenture in a few days; so I won't have access to my notes for the next couple weeks.
These videos are absolutely brilliant!! Thank you. I hope I can contribute something to the collective expertise around here some time. ...
I'm sure you will. I was told that the best way to learn something is to have to teach it to someone else. These videos are my learning journey.
Thanks sir.
Most welcome. Thanks for watching!
David, the PIO series was interesting. Please dive deeper, with more use cases.
One implementation would be to read the rpm of a motor and use the reading as input to a PID. I can give you what I have done, it could be improved.
Maybe I'll get into incorporating PIO scripts into assembly language programs. PIO is good for timing since there is one instruction per clock cycle; as you can see from this video; assembly is all over the place. Thanks for the comment, that's a good idea. However, I've got to get smarter on the RP2040 gory details before I can merge them together.
@@LifewithDavid1 I think the main usage of pi pico is with micropython. The development is faster.
@@apanoiu I guess it's what you are used to. I prefer using C. Micropython is sometimes little slow for time sensitive scripts.
I like the way you pronounce the hex number correctly. So many kids seem to be very lax with numbers , I hear thing like 'ten hex' or 'one thousand binary ' . Don't get me started on decimals...... 'one point hundred twenty ' arrrrggghh
Thank you; I agree that you must be very clear when using numbers. I don't know if it's the engineer or the pilot training.
Just curious, where was the amusement park at the end of the presentation? Any place like Cedar Point?
It is Cedar Point!
@@LifewithDavid1 I haven't been there since '95. Congrats on the new scope.