SLAU929 April 2024 MSPM0C1104 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507 , MSPM0L1105 , MSPM0L1227 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1304 , MSPM0L1305 , MSPM0L1306 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
Microchip's 8-bit AVR MCUs and MSPM0 both contain internal oscillators that source primary clocks. The clocks can be divided to source other clocks and be distributed across the multitude of peripherals.
ATMega | ATtiny | MSPM0 |
---|---|---|
Calibrated Internal RC 8MHz | OSC20M | SYSOSC(1) |
Full Swing Crystal | N/A | HFXT |
External | External | HFCLK_IN (Digital Clock) |
Internal 128kHz RC | OSCULP32K | LFOSC -32kHz |
Low Frequency Crystal | XOSC32K | LFXT - 32kHz |
N/A | N/A | LFCLK_IN |
Low Power Crystal | N/A | LFXT - 32kHz |
ATmega | ATtiny | MSPM0G | MSPM0L/C |
---|---|---|---|
N/A | OSC20M | SYSOSC |
SYSOSC |
N/A | N/A | SYSPLLCLK1 | N/A |
N/A | N/A | SYSPLLCLK0 | N/A |
N/A | N/A | SYSPLLCLK2x(1) | N/A |
CLK_cpu | CLK_CPU | BUSCLK(2) | BUSCLK(2) |
CLK_cpu |
CLK_CPU |
BUSCLK(2) | BUSCLK(2) |
CLK_flash | CLK_CPU | BUSCLK(2) | BUSCLK(2) |
CLK_adc | CLK_PER | SYSOSC/ULPCLK/HFCLK | SYSOSC/ULPCLK/HFCLK |
CLK_io |
CLK_PER |
BUSCLK(2) | BUSCLK(2) |
CLK_async | CLK_RTC | LFCLK | N/A |
Peripheral | ATmega | ATtiny Series | MSPM0G | MSPM0L/C |
---|---|---|---|---|
RTC | CLK_async | CLK_RTC | LFCLK (LFOSC, LFXT) | N/A |
UART | CLK_io | CLK_PER | BUSCLK, ULPCLK,MFCLK, LFCLK | BUSCLK, ULPCLK,MFCLK, LFCLK |
SPI | CLK_io | CLK_PER | BUSCLK, MFCLK, LFCLK | BUSCLK, ULPCLK,MFCLK, LFCLK |
I2C | CLK_io | CLK_PER | BUSCLK, MFCLK | BUSCLK, ULPCLK,MFCLK, LFCLK |
ADC | CLK_adc | CLK_PER | ULPCLK, HFCLK, SYSOSC | SYSOSC/ ULPCLK |
TIMERS | CLK_io | CLK_PER | BUSCLK, MFCLK, LFCLK | BUSCLK, ULPCLK,MFCLK, LFCLK |
LPTIM 1/2 (TIMG0/1) | CLK_async | CLK_PER | LFCLK, ULPCLK, LFCLK_IN | LFCLK |
The device-specific TRM for each family has a clock tree to help visualize the clock system. Sysconfig can assist with the options for clock division and sourcing for peripherals.