Datasheet

17.6.8.3 Principle of Operation
The task of the FDPLL96M is to maintain coherence between the input reference clock signal
(CLK_FDPLL96M_REF) and the respective output frequency CK via phase comparison. The FDPLL96M
supports three independent sources of clocks; XOSC32K, XOSC and GCLK_DPLL. When the
FDPLL96M is enabled, the relationship between the reference clock (CLK_FDPLL96M_REF) frequency
and the output clock (CLK_FDPLL96M) frequency is defined below.
_96
=
_96_
×  + 1 +

16
Where LDR is the loop divider ratio integer part, LDRFRAC is the loop divider ratio fractional part, f
ckrx
is
the frequency of the selected reference clock and f
ck
is the frequency of the FDPLL96M output clock. As
previously stated a clock divider exist between XOSC and CLK_FDPLL96M_REF. The frequency
between the two clocks is defined below.
_96_
=

×
1
2 ×
 + 1
When the FDPLL96M is disabled, the output clock is reset. If the loop divider ratio fractional part
(DPLLRATIO.LDRFRAC) field is reset, the FDPLL96M works in integer mode, otherwise the fractional
mode is activated. It shall be noted that fractional part has a negative impact on the jitter of the
FDPLL96M.
Example (integer mode only): assuming f
ckr
= 32kHz and f
ck
= 48MHz, the multiplication ratio is 1500. It
means that LDR shall be set to 1499.
Example (fractional mode): assuming f
ckr
= 32kHz and f
ck
= 48.006MHz, the multiplication ratio is
1500.1875 (1500 + 3/16). Thus LDR is set to 1499 and LDRFRAC to 3.
17.6.8.4 Initialization, Enabling, Disabling and Resetting
The FDPLL96M is enabled by writing a one to the Enable bit in the DPLL Control A register
(DPLLCTRLA.ENABLE). The FDPLL96M is disabled by writing a zero to DPLLCTRLA.ENABLE. The
frequency of the FDPLL96M output clock CK is stable when the module is enabled and when the DPLL
Lock Status bit in the DPLL Status register (DPLLSTATUS.LOCK) bit is set. When DPLLCTRLB.LTIME is
different from 0, a user defined lock time is used to validate the lock operation. In this case the lock time
is constant. If DPLLCTRLB.LTIME is reset, the lock signal is linked with the status bit of the DPLL, the
lock time vary depending on the filter selection and final target frequency.
When DPLLCTRLB.WUF is set, the wake up fast mode is activated. In that mode, the clock gating cell is
enabled at the end of the startup time. At that time, the final frequency is not stable as it is still in the
acquisition period, but it allows saving several milliseconds. After first acquisition, DPLLCTRLB.LBYPASS
indicates if the Lock signal is discarded from the control of the clock gater generating the output clock
CLK_FDPLL96M.
Table 17-4. CLK_FDPLL96M behavior from start-up to first edge detection.
WUF LTIME CLK_FDPLL96M Behavior
0 0 Normal Mode: First Edge when lock is asserted
0 Not Equal To Zero Lock Timer Timeout mode: First Edge when the timer downcounts to 0.
1 X Wake Up Fast Mode: First Edge when CK is active (start-up time)
SAM D21 Family
SYSCTRL – System Controller
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 185