msp430 embedded c programming part2 - configuring DCO
Introduction : MSP430 Clock system has three clocks which provides different frequencies . Need of three different clocks not only one is power consumption. That is we will use the clock with lowest frequency when we want to save the power and we will use the clock with highest frequency when we want high speed. The three clocks present in MSP430 are 1. MCLK(Master Clock) : Used by CPU and few peripherals such as ADC. It is a high frequency clock but can be configured to provide a low frequency 2.SMCLK(Sub-Main CLock) : Distributed to Peripherals. It can be the same frequency as MCLK,or different depending on the application 3. ACLK(Auxiliary CLock) : Basically it is a low frequency clock, used for peripherals. There are four Sources for these clocks 1.LFXTCLK: As the name implies it is to use with low frequency crystal.A 32khz can be connected to msp430 for low power operation 2 XT2CLK: This is not available in every device.it is to use with a second crysta...