SH3100IMTR SEMTECH [Semtech Corporation], SH3100IMTR Datasheet - Page 76

no-image

SH3100IMTR

Manufacturer Part Number
SH3100IMTR
Description
Supervisory IC with I2C Interface and PWM
Manufacturer
SEMTECH [Semtech Corporation]
Datasheet
Clock Management & Frequency Locked Loop (FLL)
FLL Operation
The HFDCO is used as the master high frequency clock
source on the SH3100. Since this is a free running os-
cillator with a process dependent correlation between
control code and frequency, it is necessary to employ a
frequency locked loop (FLL) to generate an output clock
which is a set multiple of the crystal reference. In opera-
tion, the 32.768kHz crystal clock is divided by 16 to yield
an accurate 2048Hz reference. The HFDCO clock cycles
are counted over the duration of one reference cycle and
compared against the 14-bit FLLDivRatio register to as-
sess whether the HFDCO is running faster or slower than
required. The 19-bit HFDCO code is then incremented or
decremented accordingly. The exact relationship is:
The frequency select register (FLLDivRatio) is loaded from
its register on power up but can be overwritten by I
cess.
On power-up, the FLL automatically starts once the crys-
tal oscillator is stable. If no crystal is present, then the
FLL does not automatically start, but may be initialized by
setting the FLLEnable bit of the FLLConfi g register. In this
case, since the crystal is not present, the FLL locks to the
internal 32.768kHz oscillator, but since this has an intrin-
sic free-running accuracy of ±3%, this would result in less
accuracy than the intrinsic ±0.5% free-running accuracy
of the HFDCO. The only reason for doing this would be to
fi nd the approximate HFDCO code for a new frequency in
the absence of an accurate crystal reference.
On a programmed device, the HFDCO starts up within
±0.5% of the desired frequency and the FLL then pulls
the frequency smoothly into lock.
© 2006 Semtech Corp.
POWER MANAGEMENT
Functional Descriptions
HFDCO Frequency = 2048Hz x (FLLDivRatio + 1)
(continued)
2
C ac-
76
Fast FLL Lock
On an unprogrammed device, or if a new FLL frequency
setting has been programmed into the FLLDivRatio reg-
ister, the FLL can perform a fast locking algorithm using
a successive approximation technique. This is initiated
by setting the Initiate FLLCoarseFreqLock bit of the FLL-
Confi g register. Once locked, the HFDCO control code may
then be stored for future reference by the system or in the
case of an unprogrammed device, it can be stored in the
register as the default startup code for the HFDCO.
Fine frequency acquisition can also be initiated with the
InitiateFineFreqLock bit of the FLLConfi g register. This
performs successive approximation on only the LSB bank
of the HFDCO, so it can be used to give a smoother rap-
id lock for smaller frequency deviations, such as those
caused by a large temperature change during a shutdown
period when the HFDCO and FLL are disabled.
If the spread spectrum function is enabled, it is temporar-
ily disabled while Coarse or Fine lock are in process, and
is re-enabled once FLL lock is achieved.
The HFDCO code is directly accessible for read and write
by the I
troller could perform its own locking algorithm if desired.
The state of the FLL can be determined by reading the
status register. The FLLLocked bit is set when the FLL is
locked. This is once the FLL has been stable for three con-
secutive measurement cycles (i.e., no more than three
frequency adjustments in the same direction over three
consecutive reference cycles).
Note: FLL fast lock causes temporary coarse frequency excur-
sions for approximately 25ms until the frequency is locked. To
avoid exposing the microcontroller to these frequency excur-
sions, the locking procedure can be performed while CLK0 is
programmed for 32.768kHz by setting the ForceDCOOn bit of
the Confi g register.
Note: The FLLLocked indicator is invalid if the spread spec-
trum function is enabled.
2
C interface. With the FLL disabled, a microcon-
www.semtech.com
SH3100

Related parts for SH3100IMTR