Texas Instruments MSP430x1xx manual 2.TBCLx Load Events, 3.Compare Latch Operating Modes

Models: MSP430x1xx

1 432
Download 432 pages 41.81 Kb
Page 247
Image 247

Timer_B Operation

Compare Latch TBCLx

The TBCCRx compare latch, TBCLx, holds the data for the comparison to the timer value in compare mode. TBCLx is buffered by TBCCRx. The buffered compare latch gives the user control over when a compare period updates. The user cannot directly access TBCLx. Compare data is written to each TBCCRx and automatically transferred to TBCLx. The timing of the transfer from TBCCRx to TBCLx is user-selectable with the CLLDx bits as described in Table 12−2.

Table 12−2.TBCLx Load Events

CLLDx

Description

00New data is transferred from TBCCRx to TBCLx immediately when TBCCRx is written to.

01 New data is transferred from TBCCRx to TBCLx when TBR counts to 0

10New data is transferred from TBCCRx to TBCLx when TBR counts to 0 for up and continuous modes. New data is transferred to from TBCCRx to TBCLx when TBR counts to the old TBCL0 value or to 0 for up/down mode

11New data is transferred from TBCCRx to TBCLx when TBR counts to the old TBCLx value.

Grouping Compare Latches

Multiple compare latches may be grouped together for simultaneous updates with the TBCLGRPx bits. When using groups, the CLLDx bits of the lowest numbered TBCCRx in the group determine the load event for each compare latch of the group, except when TBCLGRP = 3, as shown in Table 12−3. The CLLDx bits of the controlling TBCCRx must not be set to zero. When the CLLDx bits of the controlling TBCCRx are set to zero, all compare latches update immediately when their corresponding TBCCRx is written - no compare latches are grouped.

Two conditions must exist for the compare latches to be loaded when grouped. First, all TBCCRx registers of the group must be updated, even when new TBCCRx data = old TBCCRx data. Second, the load event must occur.

Table 12−3.Compare Latch Operating Modes

TBCLGRPx

Grouping

Update Control

00

None

Individual

01

TBCL1+TBCL2

TBCCR1

 

TBCL3+TBCL4

TBCCR3

 

TBCL5+TBCL6

TBCCR5

10

TBCL1+TBCL2+TBCL3

TBCCR1

 

TBCL4+TBCL5+TBCL6

TBCCR4

11

TBCL0+TBCL1+TBCL2+

TBCCR1

 

TBCL3+TBCL4+TBCL5+TBCL6

 

Timer_B 12-13

Page 247
Image 247
Texas Instruments MSP430x1xx manual 2.TBCLx Load Events, 3.Compare Latch Operating Modes, CLLDx Description

MSP430x1xx specifications

The Texas Instruments MSP430x1xx series is a family of ultra-low-power microcontrollers that are highly regarded in the embedded systems community for their versatility and performance. Designed for applications ranging from portable instrumentation to low-power industrial devices, the MSP430x1xx combines flexibility and efficiency with advanced features tailored for energy-sensitive applications.

One of the standout characteristics of the MSP430x1xx is its ultra-low-power operation. This series offers several low-power modes that can significantly extend battery life in portable devices. The microcontroller can be in active mode, low-power mode, or even in a deep sleep state, allowing developers to optimize power consumption based on the application's requirements. In fact, some configurations can operate at just a few microamps, making it ideal for battery-operated devices.

Another key feature is the 16-bit RISC architecture that provides powerful processing capabilities while maintaining a low power profile. The MSP430x1xx series supports a maximum clock speed of 16 MHz, allowing for efficient task execution while consuming minimal energy. This architecture ensures that programs run smoothly while the microcontroller remains energy efficient.

The MSP430x1xx is equipped with various integrated peripherals, including analog-to-digital converters (ADCs), timers, and communication interfaces like UART, SPI, and I2C. The inclusion of a powerful ADC enables the microcontroller to handle sensor readings with high accuracy, making it suitable for applications like environmental monitoring and medical devices. The integrated timers provide essential functionality for real-time applications, allowing for event-driven programming and precise timing control.

Memory options in the MSP430x1xx series are also robust, with configurations offering flash memory sizes from 1 KB to 64 KB. This flexibility allows developers to choose the optimal memory size for their specific applications, accommodating a wide range of requirements.

Additionally, the MSP430x1xx microcontrollers are designed with a wide operating voltage range, typically from 1.8V to 3.6V, making them compatible with various power sources and further enhancing their usability in diverse applications.

In summary, the Texas Instruments MSP430x1xx series of microcontrollers is an excellent choice for developers seeking low-power, high-performance solutions for embedded applications. With an efficient architecture, a rich set of peripherals, and flexible memory options, these microcontrollers are positioned to meet the growing demands of modern electronic designs, particularly in battery-powered and energy-sensitive applications.