Differences and similarities between Timer_B and Timer_A of MSP430 microcontroller

Publisher:创意梦者Latest update time:2013-01-09 Source: 21IC Keywords:MSP430  Timer Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Common features of Timer_B and Timer_A

1 4 working modes

2 with optional, configurable counter input clock source

3. Multiple independent configurable capture/compare modules

4 There are multiple configurable output units with 8 output modes

5 DMA Enable

6 The interrupt function is powerful. The interrupt may come from the overflow of the counter, or from the capture event or comparison event occurring on each capture/compare module.

Differences between Timer_B and Timer_A

1 The count length of Timer_B is programmable to 8, 10, 12, and 16 bits, while the count length of Timer_A is fixed to 16 bits.

2 lThe function of the SCCI register bit in Timer_A is not implemented in Timer_B.

3The capture/compare register function of Timer_B in compare mode is different from that of Timer_A, and a compare latch is added

4 The Timer_B output in some chip models realizes high-impedance output

5 The principle of compare mode is slightly different: in Timer_A, the CCRx register stores the data to be compared with TAR; in Timer_B, the CCRx register stores the data to be compared, but it is not directly compared with the timer TBR. Instead, CCRx is sent to the corresponding latch, which is then compared with the timer TBR. The timing of transferring data from the capture/compare register to the compare latch is also programmable, either immediately after writing to the capture/compare register or triggered by a timer event.

6 Timer_B supports multiple, synchronous timing functions; multiple capture/compare functions; multiple waveform output functions (such as PWM signals). Moreover, through two-level buffering of comparison data, multiple PWM signal cycles can be updated synchronously.

Keywords:MSP430  Timer Reference address:Differences and similarities between Timer_B and Timer_A of MSP430 microcontroller

Previous article:What are the main functional components of the MSP430 series microcontrollers?
Next article:AVR Learning Notes - AVR Microcontroller Tutorial

Recommended ReadingLatest update time:2024-11-16 15:27

msp430 voltage monitoring
1. Restrictions on Use:     When using MSP430x41x devices, it should be noted that there are significant differences between the x413, x417 and x419 devices. For SVS, 413 and 419 are typical examples. 413 only has 1.9V voltage monitoring. Not only is the voltage value not selectable, but it can only measure the volt
[Microcontroller]
MSP430F149 MCU implements uart data receiving interrupt
/******************************************************** Program function: MCU keeps sending data to PC and the corresponding           ASCII characters of 0~127 are displayed on the screen ------------------------------------------------------ Communication format: N.8.1, 9600 ---------------------------------------
[Microcontroller]
Explanation and correction of MSP430 MCU __delay_cycles precise delay
    Here, I will discuss the issue of using __delay_cycles delay in MSP430 microcontroller.     IAR for MSP430 compiler provides a compiler built-in precise delay function (not a real Function) to provide users with accurate delay, the function prototype is:         __intrinsic void __delay_cycles(unsigned long __cycl
[Microcontroller]
PIC16F72 TIMER0 timer exercise program
To use PIC's TIMER0, you first need to read the data sheet and become familiar with the register configuration. Here we need to use the configuration of OPTION and INTCON, as well as the preset of TMR0 count value.          Typical application: Use timer interrupt to make the LED flash. Source pro
[Microcontroller]
MSP430 capacitive touch wheel and LED PWM output design
Introduction As a practical and fashionable human-computer interaction method, capacitive touch technology has been widely used in various electronic products, ranging from light switches to tablet computers and touch tables. What follows is a test of how product designers can use their wisdom to design the product
[Power Management]
MSP430 capacitive touch wheel and LED PWM output design
Differences between STM32 TIMER timers
The STM32F1 series has 14 timers, 1 to 14; the specific models vary. It is suitable for a variety of purposes, including measuring the pulse width of the input signal (input capture), or generating output waveforms (output comparison, PWM, complementary PWM with embedded dead time, etc.). Using the timer prescaler and
[Microcontroller]
Differences between STM32 TIMER timers
Microcontroller C language programming: TIMER0 and TIMER1 control strip LED
/*  Name: TIMER0  and  TIMER1  control the strip  LED   Description: Timer  T0  controls the previous set of  LED strips at a faster scrolling speed Timer  T1  controls the next set of  LED strips at a slower scrolling speed. */ #include reg51.h #include intrins.h #define uchar
[Power Management]
Microcontroller C language programming: TIMER0 and TIMER1 control strip LED
MSP430 Timer A and B interrupt timing 1 second operation
/******************** TimerA0 1 second timer TIMER B 1 second timer overflow interrupt : MCLK = 2MHz DCOCLK LFXT1 = 32768Hz ACLK ***********************/ #include msp430x14x.h unsigned int i; unsigned int times,times_b; unsigned int sec; /***** Timer A initialization********/ void TimerA_Init(void) { TACT
[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号