MSP430 system clock ACLK, MCLK, SMCLK

Publisher:TechGuru123Latest update time:2015-10-27 Source: eefocusKeywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
The MSP430 basic clock module contains the following three clock input sources.
1. 4 clock oscillator sources
   1. LFXT1CLK:   external crystal or clock 1  low-frequency clock source  Low-frequency mode: 32768Hz  High-frequency mode: (400KHz-16MHz)
   2. XT2CLK:     external crystal or clock 2  high-frequency clock source (400KHz-16MHz)
   3. DCOCLK:     internal digital RC oscillator, reset value 1.1MHz
   4. VLOCLK:     internal low-power oscillator  12KHz
   Note: MSP430x20xx:  LFXT1  does not support  HF  mode,  XT2  does not support,  ROSC  does not support.
  
  (1) LFXT1CLK low-frequency clock source: generated by the LFXT1 oscillator (as shown in Figure 2). After resetting OSCOff in the status register by software, LFXT1 starts working, that is, the system uses low-frequency operation. If LFXT1CLK is not used as SMCLK or MCLK signal, OSCOff can be set by software to disable LFXT1 from working.
 
  (2) XT2CLK high-frequency clock source: generated by the XT2 oscillator. It generates the clock signal XT2CLK, and its operating characteristics are similar to those of the LFXT1 oscillator when it works in high-frequency mode. The XT2 oscillator can be simply set to work or
  not through software. When XT2CLK is not used as the SMCLK or MCLK signal, XT2 is turned off and other clock sources are selected. 3) DCOCLK digitally controlled RC oscillator. Generated by the DCO oscillator integrated in the clock module. The DCO oscillator is an RC oscillator, and its frequency can be adjusted by software. Its control logic is shown in Figure 3. When the oscillators LFXT1 and XT2 are disabled or fail, the DCO oscillator is automatically selected as the clock source of MCLK. Therefore, the system interrupt request caused by the failure of the oscillator can be responded to, even when the CPU is turned off.
 
 
   The basic clock module can provide the three clock signals required by the system, namely: ACLK, MCLK, and SMCLK. Among them, the auxiliary clock ACLK is obtained by dividing the LFXT1CLK signal by 1, 2, 4, or 8. ACLK can be selected by software as the clock signal of each peripheral module, and is generally used for low-speed peripherals; the system master clock MCLK can be selected by software from one of LFXT1CLK, XT2CLK, and DCOCLK, and then divided by 1, 2, 4, or 8. MCLK is mainly used for CPU and system. The subsystem clock SMCLK can be selected by software from LFXT1CLK and DCOCLK, or XT2CLK and DCOCLK, and then divided by 1, 2, 4, or 8, and is mainly used for high-speed peripheral modules.
Keywords:MSP430 Reference address:MSP430 system clock ACLK, MCLK, SMCLK

Previous article:MSP430 series chip crystal oscillator selection instructions
Next article:MSP430 MCU Timer

Recommended ReadingLatest update time:2024-11-17 15:54

MSP430 MCU key interrupt program
#include "IRRemote.h"  void main(void)  {      //初始化      Initialize();                                 //Infinite loopwhile      (1)      {          unsigned int transmit;          //Initialize variable          transmit = ENDTRANSMIT;          //Wait for a key to be pressed          SetForPress();          //Enter
[Microcontroller]
MSP430 MCU Learning Notes 1 - Basic Timer
           Based on the MSP430 microcontroller, TI uses a modular internal structure. Each module is the same in different models of microcontrollers, with the same addressing and the same operation method. The modules are limited, so they are sorted out one by one. The first module: basic timer References: Data she
[Microcontroller]
Design of wireless blood oxygen finger clip based on MSP430F149 and nRF905
0 Introduction Blood oxygen saturation can reflect the patient's respiratory function and, to a certain extent, the changes in arterial blood oxygen. Therefore, it is of great significance in both clinical monitoring and home monitoring. When using a conventional multi-parameter monitor to monitor blood oxy
[Medical Electronics]
Design of wireless blood oxygen finger clip based on MSP430F149 and nRF905
How to learn MSP430 microcontroller
MSP430 is an ultra-low power microcontroller launched by Texas Instrument (TI). TI is a very powerful and world-leading chip manufacturing company. MSP430 has quickly become a very popular microcontroller in the market today not only because of its excellent design, but also because of the strong technical support prov
[Microcontroller]
How to learn MSP430 microcontroller
The use of MSP430 digital tube Ⅱ
Set segment selection through macro definition #include msp430f149.h      typedef unsigned char uchar;      #define wei_h P5OUT |= BIT5   #define wei_l P5OUT &= BIT5   #define duan_l P6OUT &= ~BIT6   #define duan_h P6OUT |= BIT6      uchar table = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x
[Microcontroller]
Design of Morse code training device based on MSP430
O Introduction Since its introduction, Morse telegraph has been widely used in the field of communication. At present, telegraph terminals based on general computer platforms can realize automatic sending and receiving of Morse telegraph, but the traditional manual sending and receiving methods cannot be completely r
[Microcontroller]
Design of Morse code training device based on MSP430
Design of intelligent reactive power compensation controller based on MSP430 single chip microcomputer
1 Introduction With the development of economy and the improvement of people's living standards, all walks of life have put forward higher requirements for power supply reliability and quality. Since the distribution network is at the end of the power grid, most users are low-voltage users. The power factor
[Microcontroller]
Design of intelligent reactive power compensation controller based on MSP430 single chip microcomputer
Digital thermometer based on MSP430 microcontroller and DS18B20
Temperature measurement starts from the thermal expansion and contraction of metal (material). Common detection methods include resistance type, thermocouple type, PN junction type, radiation type, fiber type and quartz resonance type. These detection methods are based on the principle that temperature changes cause
[Microcontroller]
Digital thermometer based on MSP430 microcontroller and DS18B20
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号