Texas Instruments TMS320C2XX User Manual

Page 13

Advertising
background image

Contents

xiv

3

Central Processing Unit

3-1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Describes the TMS320C2xx CPU. Includes information about the central arithmetic logic unit,
the accumulator, the shifters, the multiplier, and the auxiliary register arithmetic unit. Concludes
with a description of the status register bits.

3.1

Input Scaling Section

3-3

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2

Multiplication Section

3-5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2.1

Multiplier

3-5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.2.2

Product-Scaling Shifter

3-6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.3

Central Arithmetic Logic Section

3-8

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.3.1

Central Arithmetic Logic Unit (CALU)

3-9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.3.2

Accumulator

3-9

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.3.3

Output Data-Scaling Shifter

3-11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4

Auxiliary Register Arithmetic Unit (ARAU)

3-12

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.4.1

ARAU and Auxiliary Register Functions

3-13

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3.5

Status Registers ST0 and ST1

3-15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

Memory and I/O Spaces

4-1

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Describes the configuration and use of the TMS320C2xx memory and I/O spaces. Includes
memory/address maps and descriptions of the HOLD (direct memory access) operation and
the on-chip boot loader.

4.1

Overview of the Memory and I/O Spaces

4-2

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.1.1

Pins for Interfacing to External Memory and I/O Spaces

4-3

. . . . . . . . . . . . . . . . . .

4.2

Program Memory

4-5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.2.1

Interfacing With External Program Memory

4-5

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.3

Local Data Memory

4-7

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.3.1

Data Page 0 Address Map

4-8

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.3.2

Interfacing With External Local Data Memory

4-9

. . . . . . . . . . . . . . . . . . . . . . . . . . .

4.4

Global Data Memory

4-11

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.4.1

Interfacing With External Global Data Memory

4-12

. . . . . . . . . . . . . . . . . . . . . . . . .

4.5

Boot Loader

4-14

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.5.1

Choosing an EPROM

4-14

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.5.2

Connecting the EPROM to the Processor

4-15

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.5.3

Programming the EPROM

4-16

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.5.4

Enabling the Boot Loader

4-17

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.5.5

Boot Loader Execution

4-18

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.5.6

Boot Loader Program

4-21

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.6

I/O Space

4-23

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.6.1

Accessing I/O Space

4-25

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.7

Direct Memory Access Using the HOLD Operation

4-27

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.7.1

HOLD During Reset

4-29

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.8

Device-Specific Information

4-31

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.8.1

TMS320C203 Address Maps and Memory Configuration

4-31

. . . . . . . . . . . . . . . .

4.8.2

TMS320C204 Address Maps and Memory Configuration

4-34

. . . . . . . . . . . . . . . .

Advertising