Beruflich Dokumente
Kultur Dokumente
Simplicity The MSP430 was designed from the start for low power consumption. Most programs today are written in C so the processor is designed for efficient compilation rather than hand-crafted assembly code A straightforward set of 16 registers that includes all the special-purpose registers as well as the general-purpose registers for addresses and data
Resets
A reset is a sequence of operations that puts the device into a well-defined state, from which the users program may start A reset is also generated if the device detects a serious fault in hardware or software from which the users program cannot be expected to recover
Resets
MSP430 has two levels of reset, depending on whether the reset was caused by hardware or software Power-on Reset (POR) : This is generated by severe conditions related to hardware Power-up Clear (PUC) :This always follows a power-on reset. It is generated when software appears to be out of control
Clock System
All microcontrollers contain a clock module to drive the CPU and peripherals clock module provides three outputs: Master clock, MCLK is used by the CPU and a few peripherals. Sub-system master clock, SMCLK is distributed to peripherals. Auxiliary clock, ACLK is also distributed to peripherals
Clock System
Clock System
Most peripherals choose SMCLK, which is often the same as MCLK and in the megahertz range ACLK, which is typically much slower and usually 32 KHz The frequencies of all three clocks can be divided
Clock System
Up to four sources are available for the clock, depending on the family and variant Low- or high-frequency crystal oscillator, LFXT1: Available in all devices. It is usually used with a low-frequency watch crystal (32 KHz) but can also run with a high-frequency crystal (typically a few MHz) in most devices. An external clock signal can be used instead of a crystal if it is important to synchronize the MSP430 with other devices in the system.
Clock System
High-frequency crystal oscillator, XT2: Similar to LFXT1 except that it is restricted to high frequencies. It is available in only a few devices and LFXT1 (or VLO) is used if XT2 is missing
Clock System
Internal very low-power, low-frequency oscillator, VLO: Available in only the more recent MSP430F2xx devices.
Clock System
Digitally controlled oscillator, DCO: Available in all devices and one of the highlights of the MSP430. It is basically a highly controllable RC oscillator that starts in less than 1micro sec in newer devices
Clock System
ACLK comes from a low-frequency crystal oscillator
at 32 KHz.
Both MCLK and SMCLK are supplied by the DCO with a frequency of around 1 MHz. This is stabilized by the FLL where present. frequency can be raised provided that VCC is high enough to support it