24.13.8 Clock Selection

Name: CLKSEL
Offset: 0x07
Reset: 0x00
Property: -

Bit 76543210 
       CLKSEL[1:0] 
Access R/WR/W 
Reset 00 

Bits 1:0 – CLKSEL[1:0] Clock Select

Writing these bits select the source for the RTC clock (CLK_RTC).

When configuring the RTC to use either XOSC32K or the external clock on XTAL32K1, XOSC32K needs to be enabled, and the Source Select (SEL) bit and Run Standby (RUNSTDBY) bit in the XOSC32K Control A of the Clock Controller (CLKCTRL.XOSC32KCTRLA) register must be configured accordingly.
ValueNameDescription
0x00OSC32K32.768 kHz from OSC32K
0x01OSC1K1.024 kHz from OSC32K
0x02XTAL32K32.768 kHz crystal oscillator
0x03EXTCLKExternal clock from EXTCLK pin