How to Setup and Change the System Clock on the SAMD21 Microcontroller Family

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 6

  • @PrabodiniSemasinghe
    @PrabodiniSemasinghe Před 3 lety +4

    This is exactly what I was looking for. Thank you!

  • @svetlozarangelov6132
    @svetlozarangelov6132 Před 2 lety +4

    The video is perfect, thank you!
    I'm using custom board with SAMD21J17D and want to activate XOSC (PA14 and PA15) with external crystal, but I can not initialize it. Do you have some examples with XOSC?

  • @micah2936
    @micah2936 Před rokem +2

    Can these chips be programmed with something other than an expensive debugger? 🙏

  • @febian76
    @febian76 Před 9 měsíci +1

    "Calibration values stored in NVM to tune the 48Mhz clock for higher frequency " is this about the configuration bits ?

    • @ForceTronics
      @ForceTronics  Před 8 měsíci

      I made this video years ago so I don't remember all the low level details, but I am probably referring to calibration values that are set during the production of the microcontroller. The clock frequency is measured at production and if it is not within a certain tolerance there is digital adjustments that are done in NVM to adjust it. Not related to config bits. Often something similar is done to correct ADC measurements at production.

    • @febian76
      @febian76 Před 8 měsíci

      @@ForceTronics please help me with this , when I am entering sleep mode say standby mode , will the cpu execution stop. Say I am using a debugger, if I am really entering sleep mode will the debugger halt ?
      Note: this is a different query.