Beruflich Dokumente
Kultur Dokumente
Agenda
Purpose
Provide a brief but informative technical overview in HOW-TO use
the MSP430 clock system
Objectives
Clock system basics & ULP
Clocking & MSP430 generations
Design considerations
Careabouts:
CPU Clock
Peripheral Clock
High frequency
Low power
Stable & Flexible
Fast wake-up
High frequency
Low power
Stable & Flexible
Fast wake-up
Independent from CPU
Standby Clock
Ultra-low power
Low frequency
Accurate (RTC)
Reliable (WDT)
Always-on
On demand
~250uA
~1uA
LFXT1
VLO
REFO
DCO
FLL
MODOSC
Frequency
Range
Relative
Precision
Application/Devices Supported
High-Frequency
DCO
+ROSC
100kHz to
25MHz+
+FLL
Low
(2xx:
Medium)
Better
1xx, some 2xx: Can help stabilize DCO drift over temperature
using external precision resistor
Best
HFXT1/
XT2
100s kHz
to 10s MHz
High
MODOSC
5MHz
Medium
5xx, 6xx: Integrate osc for auto-on use with FLASH, ADC &
other modules
Low-Frequency
LFXT1
32kHz
High
VLO
~10kHz
Low
REFO
32kHz
Medium/
High
Design considerations
As with any ULP oscillator, proper crystal selection, loading & PCB layout are key factors in
achieving a reliable 32KHz XTAL design
Check oscillation allowance BEFORE production to address any weakness
ACLK: typical use as low frequency, low power LPMx peripheral clock
MCLK: active CPU clock
SMCLK: high or low frequency peripheral clock
Basics are the same, however a lot of variation in feature set exists
Understanding what is possible is key to realizing ULP operation
Active WDT: sourced from the DCO at power up/reset: handle the WDT first in your software!
Clock failsafe: crystal fault detection means safe & reliable operation but may result in incorrect
frequencies. Take care to configure clocks and properly handle osc fault conditions.
Clock requests: some clocks may or may not automatically remain active when entering LPMx
modes, resulting in unexpected halting of peripherals or higher than expected LPMx current
consumption
References
Provides functions that implement the most common operations using the PMM, UCS, PMAP and Flash modules,
such as changing the core voltage to operate at higher frequencies, crystal/clock initialization, mapping port I/O,
and write/erase flash operations.
Describes selection of the right crystal, correct load circuit, and proper board layout key to stable crystal oscillator
performance. Information regarding recommended PCB desing and possible oscillator tests to ensure stable oscillator
operation in mass production are included.
Details the factors that influence achievable accuracy of the low frequency oscillator, specifically for real-time clock
(RTC) applications in 1xx & 4xx devices.
Thank
you!