MSP430 clock system

Publisher:xi24Latest update time:2017-10-30 Source: eefocusKeywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Text: MSP430 can choose to use up to 3 oscillators depending on the model. We can choose the appropriate oscillation frequency according to the needs, and can turn off the oscillator at any time when not needed to save power. The three oscillators are:

 (1) DCO digital controlled RC oscillator. It is inside the chip and can be turned off when not in use. The oscillation frequency of DCO is affected by the ambient temperature and the operating voltage of the MSP430, and the frequency generated by the same model of chip is also different. However, the adjustment function of DCO can improve its performance. Its adjustment is divided into the following three steps: a: Select BCSCTL1.RSELx to determine the nominal frequency of the clock; b: Select DCOCTL.DCOx to make segmented coarse adjustments based on the nominal frequency; c: Select the value of DCOCTL.MODx for fine adjustments.

(2) LFXT1 is connected to a low-frequency oscillator. Typically, it is connected to a 32768HZ clock oscillator, directly connected between XIN and XOUT. In this case, the oscillator does not need to be connected to a load capacitor. It can also be connected to a standard crystal oscillator of 450KHZ~8MHZ, in which case a load capacitor is required. The frequency signal generated by LXFT1 is ACLK. The low-speed clock requires hundreds of milliseconds to stabilize.

(3) XT2 is connected to a standard crystal oscillator of 450KHZ~8MHZ. The external standard crystal oscillator is connected between XT2IN and XT2OUT. At this time, a load capacitor needs to be connected and it can be turned off when not in use.

    Low-frequency oscillators are mainly used to reduce energy consumption, such as in battery-powered systems, while high-frequency oscillators are used to respond quickly to events or for the CPU to perform large amounts of calculations.

    MSP430 has three clock signals: MCLK system main clock; SMCLK system sub-clock; ACLK auxiliary clock.

(1) MCLK system main clock. In addition to the CPU operation using this clock, peripheral modules can also use it. MCLK can select any clock signal generated by an oscillator and divide it by 1, 2, 4, or 8 as its signal source.

(2) SMCLK system sub-clock. For use by peripheral modules. It can be divided by the registers of each module before use. SMCLK can be the clock signal generated by the XT2CLK or DCOCLK oscillator and divided by 1, 2, 4, or 8 as its signal source.

(3) ACLK auxiliary clock. For use by peripheral modules. It can be divided by the registers of each module before use. However, ACLK can only be divided by 1, 2, 4, or 8 by LFXT1 as a signal source. It can be used as a background clock to wake up the CPU.

(4) ACLK/N, ACK buffer output, it can be obtained by ACL.1.2.4.8 division, and can only be used externally.

    After PUC is reset, the signal sources of MCLK and SMCLK are DCO, and the oscillation frequency of DCO is 800KHZ. The signal source of ACLK is LFXT1.

     The MSP430 contains a crystal oscillator failure monitoring circuit that monitors the clock signals output by LFXT1 (working in high-frequency mode) and XT2. When the clock signal is lost for 50us, the monitoring circuit detects the oscillator failure. If the MCLK signal comes from LFXT1 or XT2, the MSP430 automatically switches the MCLK signal to DCO, which ensures that the program continues to run. However, the MSP430 does not monitor the LFXT1 working in low-frequency mode.


Keywords:MSP430 Reference address:MSP430 clock system

Previous article:How does MCU output PWM waveform?
Next article:Msp430f149 learning system clock setting

Recommended ReadingLatest update time:2024-11-16 16:55

A complete analysis of the five major microcontrollers - 51, AVR, PIC, MSP430, ARM
There are many single-chip microcomputer manufacturers today, and their products have different performances. Which model should we choose for specific situations? First, let's clarify two concepts: centralized instruction set (CISC) and reduced instruction set (RISC). The data line and instruction line of the single-
[Microcontroller]
A complete analysis of the five major microcontrollers - 51, AVR, PIC, MSP430, ARM
MSP430 MCU ADC Module
ADC      function to achieve  conversion accuracy MSP430X1XX2 comparator implementation    10-bit MSP430F13X      ADC module      12-bit MSP430F14X        ADC module      12-bit MSP430F43X        ADC module      12- bit MSP430F44X      ADC module      12-bit MSP430X32X        ADC module      14-bit #include u
[Microcontroller]
【stm32f407】Clock tree and SystemInit analysis
1. Clock Tree As we all know, the clock system is the pulse of the CPU, just like a human heartbeat. So the importance of the clock system is self-evident. The clock system of STM32F4 is relatively complex, unlike the simple 51 microcontroller where one system clock can solve everything. So some people ask, isn't it
[Microcontroller]
【stm32f407】Clock tree and SystemInit analysis
MSP430G2553 Serial Communication
Code function: TI official routine: PC sends characters to MCU and then MCU sends them back to PC. It is such a simple code. I actually... The following explains the function of each statement one by one.  Attach the code: //************************************************************************* //   MSP430G2xx3 Dem
[Microcontroller]
Research on motor protection algorithm based on MSP430F149
    At present, the protection of high-voltage motors in my country mainly includes electromechanical and integrated circuits, but both have many drawbacks and cannot protect motors well. Among them, the electromechanical protection of asynchronous motors mainly uses the increase of current as the criterion, and the p
[Microcontroller]
Research on motor protection algorithm based on MSP430F149
Micropower Chinese human-machine interface design based on MSP430 microcontroller
  In modern portable smart instruments or handheld devices, Chinese human-machine interface has become a de facto industry standard. Graphic dot-matrix LCDs that can display Chinese characters and small keyboards that can input numbers have become indispensable components of smart devices. At the same time, the low-po
[Microcontroller]
MSP430F149 serial RS485 interface
1. Brief Introduction     The basic principles and usage of RS485 communication are the same as RS232, with the following differences. RS232 interface can only realize point-to-point communication, but this method cannot realize networking function, so RS485 appeared to solve this problem. RS485 uses differential si
[Microcontroller]
A schedule management system based on MSP430 single chip microcomputer
0 Introduction The schedule management system refers to the automatic realization of prompts, playback, recording and other functions at a specified time, such as blowing the wake-up call in the morning and automatically ringing the bell for class start and end. The system is widely used in schools, troops,
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号