Texas Instruments MSP430x1xx manual Risc 16-Bit CPU, Basic Clock Module, Flash Memory Controller

Models: MSP430x1xx

1 432
Download 432 pages 41.81 Kb
Page 8
Image 8

Contents

3 RISC 16-Bit CPU

3-1

3.1

CPU Introduction

3-2

3.2

CPU Registers

3-4

 

3.2.1

Program Counter (PC)

3-4

 

3.2.2

Stack Pointer (SP)

3-5

 

3.2.3

Status Register (SR)

3-6

 

3.2.4 Constant Generator Registers CG1 and CG2

3-7

 

3.2.5

General−Purpose Registers R4 - R15

3-8

3.3

Addressing Modes

3-9

 

3.3.1

Register Mode

3-10

 

3.3.2

Indexed Mode

3-11

 

3.3.3

Symbolic Mode

3-12

 

3.3.4

Absolute Mode

3-13

 

3.3.5

Indirect Register Mode

3-14

 

3.3.6

Indirect Autoincrement Mode

3-15

 

3.3.7

Immediate Mode

3-16

3.4

Instruction Set

3-17

 

3.4.1 Double-Operand (Format I) Instructions

3-18

 

3.4.2 Single-Operand (Format II) Instructions

3-19

 

3.4.3

Jumps

3-20

 

3.4.4 Instruction Cycles and Lengths

3-72

 

3.4.5

Instruction Set Description

3-74

4

Basic Clock Module

4-1

 

4.1

Basic Clock Module Introduction

4-2

 

4.2

Basic Clock Module Operation

4-4

 

 

4.2.1 Basic Clock Module Features for Low-Power Applications

4-4

 

 

4.2.2

LFXT1 Oscillator

4-5

 

 

4.2.3

XT2 Oscillator

4-6

 

 

4.2.4

Digitally-Controlled Oscillator (DCO)

4-6

 

 

4.2.5

DCO Modulator

4-9

 

 

4.2.6 Basic Clock Module Fail-Safe Operation

4-10

 

 

4.2.7 Synchronization of Clock Signals

4-13

 

4.3

Basic Clock Module Registers

4-14

5

Flash Memory Controller

5-1

5.1 Flash Memory Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25.2 Flash Memory Segmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35.3 Flash Memory Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45.3.1 Flash Memory Timing Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-45.3.2 Erasing Flash Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55.3.3 Writing Flash Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-85.3.4 Flash Memory Access During Write or Erase . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-145.3.5 Stopping a Write or Erase Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-155.3.6 Configuring and Accessing the Flash Memory Controller . . . . . . . . . . . . . . . . . 5-155.3.7 Flash Memory Controller Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-155.3.8 Programming Flash Memory Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15

5.4 Flash Memory Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17

viii

Page 8
Image 8
Texas Instruments MSP430x1xx manual Risc 16-Bit CPU, Basic Clock Module, Flash Memory Controller

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.