User Tools

Site Tools


microcontrollers:msp430_clock_systems_and_timers

This is an old revision of the document!


MSP430: Clock Systems and Timers

Benefits:

  • Low clk freq. for energy conservation and time keeping
  • High clk freq. for fast burst processing capabilities/response time
  • Low-cost applications with less-constrained clk accuracy requirement
  • Allows user to select best balance of performance and power consumption.

Clock module can operate with or without external components like crystals and resonators.

Clock Sources

External

LFXTCLK

  • Low-frequency oscillator.
  • Powered by a 32768 Hz crystal, resonators or external clock sources (⇐ 50KHz) in bypass mode.

HFXTCLK

  • High-frequency oscillator.
  • Used with crystals or resonators in the 4-MHz to 24-MHz range, and can be driven with an external square wave signal.

Internal

VLOCLK

  • Internal very-low-power low-frequency oscillator.
  • 10 KHz typical frequency.
  • Low-cost clk source for applications without high timing accuracy req.

DCOCLK

  • Internal digitally controlled oscillator.
  • With selectable frequencies: 1 - 24 MHz

MODCLK

  • Internal low-power module oscillator.
  • 5 KHz typical frequency. It gives LFMODCLK when divided by 128

Clock Signals

Master Clock (MCLK)

  • Software selectable as LFXTCLK, VLOCLK, MODCLK, DCOCLK or HFXTCLK.
  • Can be divided by 1,2,4,8,16 or 32.
  • Used by the CPU and the system.

Subsystem Master Clock (SMCLK)

  • Software selectable as LFXTCLK, VLOCLK, MODCLK, DCOCLK or HFXTCLK.
  • Used by peripheral modules.

Auxiliary Clock (ACLK)

  • Software selectable as LFXTCLK, VLOCLK or LFMODCLK.
  • Can be divided by 1,2,4,8,16 or 32.
  • Used by peripheral modules.

Module Clock (MODCLK)

  • Sourced by MODOSC.
  • Used by various peripheral modules.

VLO Clock (VLOCLK)

  • Sourced by VLO.
  • Used directly by various peripheral modules.

Clock source for each clock signal is selected using the SEL register. ACLK, MCLK and SMCLK use SELAx, SELMx, and SELSx respectively to select clock source.

microcontrollers/msp430_clock_systems_and_timers.1730381811.txt.gz · Last modified: 2024/10/31 13:36 by ibchadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki