Это видео недоступно.
Сожалеем об этом.

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

Комментарии • 23

  • @zetaconvex1987
    @zetaconvex1987 Год назад +1

    Excellent work, David! There are quite a few moving parts to setting the clock, so I'm glad you were able to explain it.

  • @deterdamel7380
    @deterdamel7380 Год назад +1

    Very nice! Again, David is not just scratching the surface!

  • @jemo_hack
    @jemo_hack Год назад +1

    Great, looking forward seen you add PIO support with Assembly.

    • @LifewithDavid1
      @LifewithDavid1  Год назад +1

      I'm not sure when I'll get there; I've got a lot of learning and experimenting to do first.

  • @user-gu5we8ju8q
    @user-gu5we8ju8q Год назад +1

    These are excellent videos David!

    • @LifewithDavid1
      @LifewithDavid1  Год назад

      Thank you. I like to learn and they say you learn best when you have to explain it later to others.

  • @danmcguire7111
    @danmcguire7111 Месяц назад

    Excellent video, I was wondering if there was a way to ask more detailed questions of you.

    • @LifewithDavid1
      @LifewithDavid1  Месяц назад

      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.

  • @eternaldoorman5228
    @eternaldoorman5228 Год назад

    These videos are absolutely brilliant!! Thank you. I hope I can contribute something to the collective expertise around here some time. ...

    • @LifewithDavid1
      @LifewithDavid1  Год назад

      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.

  • @manoftheday1
    @manoftheday1 Год назад

    Thanks sir.

  • @apanoiu
    @apanoiu Год назад +1

    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.

    • @LifewithDavid1
      @LifewithDavid1  Год назад +1

      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.

    • @apanoiu
      @apanoiu Год назад

      @@LifewithDavid1 I think the main usage of pi pico is with micropython. The development is faster.

    • @LifewithDavid1
      @LifewithDavid1  Год назад

      @@apanoiu I guess it's what you are used to. I prefer using C. Micropython is sometimes little slow for time sensitive scripts.

  • @wktodd
    @wktodd Год назад

    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

    • @LifewithDavid1
      @LifewithDavid1  Год назад

      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.

  • @darkenergy5686
    @darkenergy5686 Год назад

    Just curious, where was the amusement park at the end of the presentation? Any place like Cedar Point?

    • @LifewithDavid1
      @LifewithDavid1  Год назад +2

      It is Cedar Point!

    • @justovision
      @justovision Год назад

      @@LifewithDavid1 I haven't been there since '95. Congrats on the new scope.