13.14 Reference Clock Generator

The Reference Clock Generator provides the Generic Clocks (GCLK_<Periperhal>) for system peripherals via Peripheral Channels. There are a total of 24 Peripheral Channels with the mapping as shown in following table.

Table 13-1. Peripheral Clock Generation
Peripheral ClockPchannel Index
GCLK_EIC, GCLK_CCL0
GCLK_FREQM_MSR1
GCLK_FREQM_REF2
GCLK_SERCOM0_CORE, GCLK_SERCOM1_CORE3
GCLK_SERCOM2_CORE, GCLK_SERCOM3_CORE4
GCLK_TC05
GCLK_TC16
GCLK_TC2, GCLK_TC37
GCLK_EVSYS_CH_08
GCLK_EVSYS_CH_19
GCLK_EVSYS_CH_210
GCLK_EVSYS_CH_311
GCLK_EVSYS_CH_412
GCLK_EVSYS_CH_513
GCLK_EVSYS_CH_614
GCLK_EVSYS_CH_715
GCLK_EVSYS_CH_816
GCLK_EVSYS_CH_917
GCLK_EVSYS_CH_1018
GCLK_EVSYS_CH_1119
GCLK_TCC020
GCLK_TCC1, GCLK_TCC221
GCLK_AC22
GCLK_CM4_TRACE23

The mapping for the source of the clocks for both the CLKGEN generator and Reference clock generator are shown in following table.

Table 13-2. CRU Clock Mapping
clock_in[x]MCS/COSC MappingREFO/ROSEL MappingFSCM Clock SourceClock to Switch to on a FSCM Fail
0 - FRC00000000X
1 - SPLL_CLK100010001
2 - POSC (16 MHz)00100010
3- SOSC00110011
4 - LPRC01000100X
5 - SPLL_CLK3 (RFPLL, 96 MHz)0101
6 - PB1_CLK0110
7 - SYS_CLK0111
8 - REFI Pin1000