Texas Instruments MSP50C614 manual 204Assembly Language Instructions, Instruction Set Summay

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 296
Image 296

4-204Assembly Language Instructions

MSP50C614 (MSP50P614) IO Port Description

Address

Bits

Name

R/W

15

14

13

 

 

12

 

11

 

10

 

 

9

 

8

 

7

 

6

5

 

4

 

3

 

2

 

1

 

0

After RESET

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x00

8

Port A Data

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A7

 

A6

A5

 

A4

 

A3

 

A2

 

A1

 

A0

external

 

 

(bidirectional)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input states

 

 

 

 

 

bit Ax

 

= 0

PAx low

 

 

 

 

 

 

 

 

 

bit Ax

= 1

PAx high

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x04

8

Port A Control

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

 

C

C

 

C

 

C

 

C

 

C

 

C

0x00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

bit C = 0 PAx as input

 

 

 

 

 

 

 

 

 

bit C = 1 PAx as output

 

 

 

 

 

 

 

0x08

8

Port B Data

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B7

 

B6

B5

 

B4

 

B3

 

B2

 

B1

 

B0

external

 

 

(bidirectional)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input states

 

 

 

 

 

bit Bx

 

= 0

PBx low

 

 

 

 

 

 

 

 

 

bit Bx

= 1 PBx

high

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0C

8

Port B Control

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

 

C

C

 

C

 

C

 

C

 

C

 

C

0x00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

bit C = 0 PBx as input

 

 

 

 

 

 

 

 

 

bit C = 1 PBx as output

 

 

 

 

 

 

 

0x10

8

Port C Data

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C7

 

C6

C5

 

C4

 

C3

 

C2

 

C1

 

C0

external

 

 

(bidirectional)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input states

 

 

 

 

 

bit Cx

 

= 0

PCx low

 

 

 

 

 

 

 

 

 

bit Cx

= 1 PCx

high

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x14

8

Port C Control

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

 

C

C

 

C

 

C

 

C

 

C

 

C

0x00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

bit C = 0 PCx as input

 

 

 

 

 

 

 

 

 

bit C = 1 PCx as output

 

 

 

 

 

 

 

0x18

8

Port D Data

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D7

 

D6

D5²

 

D4²

 

D3

 

D2

 

D1

 

D0

external

 

 

multifunction port

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input states

 

 

 

 

 

falling edge

 

 

rising edge

 

 

 

bit Dx

= 0 PDx low

 

bit Dx = 1 PDx high

 

 

 

 

(bidirectional)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

² PD

 

= inverting and PD

5

= positive comparator inputs if CE=1 in IO 0x38

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PD4triggers INT6

 

PD5triggers INT7

 

PD2triggers INT3

 

PD3triggers INT4

 

 

 

0x1C

8

Port D Control

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

 

C

C³

 

C³

 

C³

 

C³

 

C

 

C

0x00

 

 

 

 

multifunction control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

³ C=0 for interrupts (IO 0x18)

 

 

bit C = 0 PD

as input

 

bit C = 1 PD

as output

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

x

 

 

 

 

 

 

 

0x20

8

Port E Data

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E7

 

E6

E5

 

E4

 

E3

 

E2

 

E1

 

E0

external

 

 

 

(bidirectional)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input states

 

 

 

 

 

 

bit Ex

 

= 0

PEx low

 

 

 

 

 

 

 

 

 

bit Ex

= 1 PEx high

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x24

8

Port E Control

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

 

C

C

 

C

 

C

 

C

 

C

 

C

0x00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

bit C = 0 PDx as input

 

 

 

 

 

 

 

 

 

bit C = 1 PDx as output

 

 

 

 

 

 

 

0x28

8

Port F Data

R

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

F7

 

F6

F5

 

F4

 

F3

 

F2

 

F1

 

F0

external

 

 

 

(input only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input states

 

 

 

 

Fx triggers INT5

 

 

 

bit Fx = 0 input PFx low

 

bit Fx = 1 input PFx high

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x2C

16

Port G Data

R/W

G15

G14

G13

 

G12

 

G11

 

G10

 

 

G9

 

G8

 

G7

 

G6

G5

 

G4

 

G3

 

G2

 

G1

 

G0

0x00

 

 

 

(output only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

all 0 outputs

 

 

 

 

 

bit Gx = 0 PGx low (output only)

 

 

 

 

 

bit Gx = 1 PGx high (output only)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x2FA

8

RTOTRIM

R

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

T4

 

T3

 

T2

 

T1

 

T0

unaffected

 

 

 

³ MSP50C614 only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

T4±T0 = Resistor trim bits

 

 

 

 

 

 

 

 

 

V = 1 T4±T0 are valid

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x30

16

DAC Data

R/W

S

O

O

 

 

D

 

D

 

D

 

 

D

 

D

 

D

 

D

D

 

D

 

D

 

±

 

±

 

±§

0x0000

 

 

 

 

 

S

O

O

 

 

D

 

D

 

D

 

 

D

 

D

 

D

 

D

D

 

D

 

±

 

±

 

±

±

 

 

 

 

 

 

 

S

O

O

 

 

D

 

D

 

D

 

 

D

 

D

 

D

 

D

D

 

±

 

±

 

±

 

±

±#

 

 

 

 

 

 

 

 

S = sign bit

 

 

 

 

O = overflow bit

 

 

 

D = data bit

 

 

 

± = dont care

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

§ 10 bit DAC

 

 

 

 

 

9 bit DAC

 

 

 

 

 

# 8 bit DAC

 

 

see P1,P0 in IO 0x34

 

 

 

Instruction Set Summay

Page 296
Image 296
Texas Instruments MSP50C614 manual 204Assembly Language Instructions, Instruction Set Summay

MSP50C614 specifications

The Texas Instruments MSP50C614 is a microcontroller that belongs to the MSP430 family, renowned for its low power consumption and versatile functionality. Primarily designed for embedded applications, this microcontroller is favored in various industries, including consumer electronics, industrial automation, and healthcare devices.

One of the standout features of the MSP50C614 is its ultra-low power technology, which enables it to operate in various power modes. This makes it ideal for battery-powered applications, where energy efficiency is crucial. The MSP430 architecture allows for a flexible power management system, ensuring that energy is conserved while providing robust performance.

The MSP50C614 is equipped with a 16-bit RISC CPU that delivers high performance while maintaining low power usage. With a maximum clock frequency of 16 MHz, it can execute most instructions in a single cycle, resulting in swift operation and responsive performance. This microcontroller also comes with a generous flash memory capacity, allowing developers to store large amounts of code and data conveniently.

In terms of peripherals, the MSP50C614 is highly versatile. It features a range of digital and analog input/output options, including multiple timers, GPIO ports, and various communication interfaces like UART, SPI, and I2C. This extensive set of peripherals allows for seamless integration with other components and simplifies the design of complex systems.

The integrated 12-bit Analog-to-Digital Converter (ADC) stands out as a valuable characteristic of the MSP50C614. This feature enables the microcontroller to convert physical analog signals into digital data, making it particularly useful for sensing applications and real-time monitoring.

Another noteworthy technology employed in the MSP50C614 is its support for low-voltage operations. With a broad supply voltage range, this microcontroller can function efficiently in diverse environments and is suitable for low-power applications, enhancing its practicality.

Moreover, Texas Instruments provides software support in the form of Code Composer Studio and various libraries that make it easier for developers to program and utilize the MSP50C614 effectively.

In summary, the Texas Instruments MSP50C614 microcontroller is a powerful, low-power solution equipped with the features and technologies necessary for efficient operation in a wide array of applications. Its blend of performance, flexibility, and energy efficiency makes it a popular choice among engineers and designers looking to create innovative, sustainable designs in the rapidly evolving tech landscape.