Sign In
Upload
Manuals
Brands
Texas Instruments Manuals
Processor
TMS320C2x
Texas Instruments TMS320C2x Manuals
Manuals and User Guides for Texas Instruments TMS320C2x. We have
2
Texas Instruments TMS320C2x manuals available for free PDF download: User Manual
Texas Instruments TMS320C2x User Manual (586 pages)
Brand:
Texas Instruments
| Category:
Processor
| Size: 2.22 MB
Table of Contents
Figure 2-2. Tms320C28 Pin Assignments
14
Typical Applications
9
Read this First
20
Figures
32
Table of Contents
32
Architecture
40
Tms320C2X Simplified Block Diagram
42
Functional Block Diagram
45
TMS320C25/E25 Block Diagram
46
TMS320C26 Block Diagram
47
Tms320C2X Internal Hardware
48
Tms320C2X On-Chip Data Memory
52
TMS320C26 On-Chip Data Memory
53
TMS320C25/26 Memory Blocks
56
Comparison of Internal RAM Configured as Data Space
57
Comparison of Internal RAM Configured as Program Space
57
Tms320C2X Memory Maps
58
TMS320C26 Memory Maps
59
Memory-Mapped Registers
61
Indirect Auxiliary Register Addressing Example
62
Auxiliary Register File
63
Configuration. this Is Discussed in Section 3.4 and in Appendix B.
64
Memory Organization
64
Methods of Instruction Operand Addressing
65
Central Arithmetic Logic Unit (CALU)
67
Central Arithmetic Logic Unit (CALU), Tms320C2X
68
Examples of TMS320C25 Carry Bit Operation
70
PM Shift Modes
72
Program Counter, Stack, and Related Hardware
74
System Control
74
Three-Level Pipeline Operation (TMS320C25)
77
Two-Level Pipeline Operation
77
TMS320C25 Standard Pipeline Operation
78
Instruction Pipeline Sequence
79
Pipeline Operation of ADD Followed by SACL
80
Pipeline Operation with Wait States
81
Pipeline with External Data Bus Conflict
82
Pipeline Operation of Branch to On-Chip RAM
83
Pipeline Operation of RET from On-Chip RAM
84
Tms320C2X Status Register Organization
88
Status Register Field Definitions
89
TMS320C26 Status Register Organization
89
Timer Block Diagram
91
External Memory and I/O Interface
93
Four-Phase Clock
95
BIO Timing Diagram
96
External Flag Timing Diagram
97
Interrupt Locations and Priorities
98
Interrupt Mask Register (IMR)
99
Internal Interrupt Logic Diagram
100
Interrupts
100
Interrupt Timing Diagram (TMS320C25)
101
Serial Port Bits, Pins, and Registers
102
Serial Port
102
The DRR and DXR Registers
103
Serial Port Block Diagram
104
Serial Port Transmit Timing Diagram
105
Serial Port Receive Timing Diagram
106
Burst-Mode Serial Port Receive Operation
107
Burst-Mode Serial Port Transmit Operation
107
Byte-Mode DRR Operation (TMS320C25)
108
Serial Port Receive Continuous Operation (FSM = 1)
109
Serial Port Transmit Continuous Operation (FSM = 1)
109
Serial Port Receive Continuous Operation (FSM = 0)
111
Serial Port Transmit Continuous Operation (FSM = 0)
111
Continuous Receive Operation Initialization
113
Continuous Transmit Operation Initialization
113
Multiprocessing and Direct Memory Access (DMA)
114
Synchronization Timing Diagram (TMS320C25)
115
Global Data Memory Configurations
116
Global Memory Access Timing
116
TMS320C25 Hold Timing Diagram
119
3.11 General Description of the TMS320C26
121
3.12 General Description of the TMS320C28
122
Assembly Language Instructions
124
Direct Addressing Block Diagram
126
Indirect Addressing Block Diagram
127
Indirect Addressing Arithmetic Operations
129
Bit Fields for Indirect Addressing
130
Instruction Symbols
135
Instruction Set Summary
136
Software Applications
318
BIO-XF Handshake
324
Sequence for 16-Bit Transfers
325
Sequence for 8-Bit Transfers
325
Building LENGTH from STATUS and PROGRAM LENGTH Words
326
RS232 Connection to the TMS320C26
328
Sequence for RS232 Transfer (8 Data Bits Only)
330
Building LENGTH from STATUS and PROGRAM LENGTH Words
331
External Memory Byte Ordering
333
Memory Management
350
On-Chip RAM Configurations
353
MACD Operation
369
Execution Time Vs. Number of Multiply-Accumulates (TMS320C25)
372
Program Memory Vs. Number of Multiply-Accumulates
373
Program Space and Time Requirements for Μ-/A-Law Companding
386
An In-Place DIT FFT with In-Order Inputs but Bit-Reversed Outputs
393
An In-Place DIT FFT with In-Order Outputs and Bit-Reversed Inputs
393
Bit-Reversal Algorithm for an 8-Point Radix-2 DIT FFT
394
FFT Memory Space and Time Requirements
398
Powerup Reset Circuit
404
Voltage on TMS320C25 Reset Pin
405
Crystal Oscillator Circuit
406
Magnitude of Impedance of Oscillator LC Network
407
Iack
412
Direct Interface of TBP38L165-35 to TMS320C25
415
Interface Timing of TBP38L165-35 to TMS320C25
416
Timing Parameters of TBP38L165-35 Direct Interface to TMS320C25
416
Interface of TBP38L165-35 to TMS320C25
418
Interface Timing of TBP38L165-35 to TMS320C25 (Address Decoding)
419
Timing Parameters of TBP38L165-35 to TMS320C25 (Address Decoding)
420
Ready
420
One Wait-State Memory Access Timing
421
Wait States Required for Memory/Peripheral Access
421
Wait-State Generator Design
422
Wait-State Generator Timing
423
Interface of WS57C65F-12 to TMS320C25
424
Interface Timing of WS57C65F-12 to TMS320C25
425
Timing Parameters of WS57C64F-12 Interface to TMS320C25
425
Interface of TMS27C64-20 to TMS320C25
426
Interface Timing of TMS27C64-20 to TMS320C25
427
Timing Parameters of TMS27C64-20 Interface to TMS320C25
427
Timing Parameters of CY7C169-25 Interface to TMS320C25
428
Hold
428
Interface of CY7C169-25 to TMS320C25
429
Interface Timing of CY7C169-25 to TMS320C25
430
Direct Memory Access Using a Master-Slave Configuration
434
Direct Memory Access in a PC Environment
435
Global Memory Communication
437
Clkr
438
Interface of TMS320C25 to TCM29C16 Codec
439
Interface of TLC32040 to Tms320C2X
442
Synchronous Timing of TLC32040 to Tms320C2X
442
Asynchronous Timing of TLC32040 to Tms320C2X
443
Interface of TLC7524 to Tms320C2X
443
Interface Timing of TLC7524 to Tms320C2X
444
Interface of TLC0820 to Tms320C2X
445
Interface Timing of TLC0820 to Tms320C2X
446
I/O Port Addressing
447
I/O Port Processor-To-Processor Communication
448
Echo Canceler
449
High-Speed Modem
450
Voice Coding System
450
Graphics System
451
Instrumentation System
452
Robot Axis Controller Subsystem
452
Tms320C2X Instructions by Cycle Class
461
Cycle Timings for Cycle Classes When Not in Repeat Mode
462
Cycle Timings for Cycle Classes When in Repeat Mode
464
Clkx
471
Pin Nomenclature (TMS320E25
472
Recommended Operating Conditions
497
EPROM Programming Adapter Socket
519
VCC and V PP Jumper Settings for External Power
520
EPROM Programming Data Format
521
TMS320E25 EPROM Conversion to TMS27C64 EPROM Pinout
522
TMS320E25 Programming Mode Levels
523
FAST Programming Flowchart
526
SNAP! Pulse Programming Flowchart
527
Programming Timing
528
TMS320E25 EPROM Protect and Protect Verify Mode Levels
529
EPROM Protection Flowchart
530
How the RBIT Fits into the TMS320E25 Block Diagrams
531
EPROM Protection Timing
532
System Block Diagram
535
Multimedia Speech Encoding and Modem Communication
536
TMS320C25 to TLC32047 Interface
536
Data Converter Ics
537
Switched-Capacitor Filter Ics
537
Typical Dsp/Combo Interface
539
Dsp/Combo Interface Timing
540
Switched-Capacitor Filter Ics
541
Telecom Devices
541
General Telecom Applications
542
Generic Telecom Application
542
Speech Memories
543
Voice Synthesizers
543
Switched-Capacitor Filter Ics
544
Generic Servo Control Loop
545
Control-Related Devices
546
Disk Drive Control System Block Diagram
546
TMS320C14 - TLC32071 Interface
547
Modem AFE Data Converters
548
High-Speed V.32 bis and Multistandard Modem with the TLC320AC01 AIC
549
Applications Performance Requirements
551
Typical Digital Audio Implementation
552
Video Signal Processing Basic System
552
Audio/Video Analog/Digital Interface Devices
553
Commonly Used Crystal Frequencies
557
Crystal Connection
557
TMS320 ROM Code Flowchart
561
Microprocessor and Microcontroller Tests
568
Tms320C2X Transistors
568
Development Support
570
TMS320 Device Nomenclature
572
TMS320 Development Tool Nomenclature
573
Advertisement
Texas Instruments TMS320C2x User Manual (250 pages)
Optimizing C Compiler Digital Signal Processor
Brand:
Texas Instruments
| Category:
Signal Processors
| Size: 1.47 MB
Table of Contents
Table of Contents
9
Introduction
17
Software Development Tools Overview
18
Tms320C2X/C2Xx/C5X Software Development Flow
18
C Compiler Overview
21
C Compiler Description
23
About the Shell Program
24
The Shell Program Overview
25
Invoking the Compiler Shell
26
Changing the Compiler's Behavior with Options
28
Shell Options Summary
29
Frequently Used Options
36
Specifying Filenames
38
Changing How the Shell Program Interprets Filenames
38
Options)
38
Changing How the Shell Program Interprets and Names Extensions
39
Changing How the Shell Program Interprets and Names Extensions (−Ea and −Eo Options)
39
Specifying Directories
39
Options that Overlook ANSI C Type Checking
40
Runtime-Model Options
41
Options that Control the Assembler
42
Changing the Compiler's Behavior with Environment Variables
43
Specifying a Temporary File Directory (TMP)
44
Controlling the Preprocessor
45
Predefined Macro Names
45
The Search Path for #Include Files
46
Changing the #Include File Search Path with the − I Option
47
Generating a Preprocessed Listing File (− Pl Option)
48
Creating Custom Error Messages with the #Error and #Warn Directives
49
Using Inline Function Expansion
50
Controlling Inline Function Expansion (−X Option)
51
The _INLINE Preprocessor Symbol
54
How the Runtime-Support Library Uses the _INLINE Preprocessor Symbol
55
Using the Interlist Utility
56
An Interlisted Assembly Language File
57
Understanding and Handling Compiler Errors
58
Example Error Messages
59
Generating an Error Listing (−Pr Option)
59
Selecting a Level for the −Pw Option
60
An Example of How You Can Use Error Options
60
Compiler Overview
61
Invoking the Tools Individually
61
Invoking the Parser
62
Parser Options and Dspcl Options
63
Parsing in Two Passes
64
Optimizer Options and Dspcl Options
65
Invoking the Code Generator
66
Code Generator Options and Dspcl Options
67
Invoking the Interlist Utility
68
Chapter 3 Optimizing Your Code
70
Optimizing Your Code
70
Compiling a C Program with the Optimizer
71
Mizer 3.1 Using the C Compiler Optimizer
71
Using the C Compiler Optimizer
72
Options that You Can Use with −O3
73
Selecting a Level for the −Ol Option
73
Using the −O3 Option
73
Selecting a Level for the −On Option
74
Creating an Optimization Information File (−Onn Option)
74
Performing Program-Level Optimization (−Pm and −O3 Options)
75
Selecting a Level for the −Op Option
76
Special Considerations When Using the −Op Option
76
Optimization Considerations When Mixing C and Assembly
77
Naming the Program Compilation Output File (−Px Option)
78
Special Considerations When Using the Optimizer
79
Use Caution When Accessing Aliased Variables
80
Automatic Inline Expansion (−Oi Option)
81
Using the Interlist Utility with the Optimizer
82
Debugging Optimized Code
82
What Kind of Optimization Is Being Performed
83
Cost-Based Register Allocation
84
Delays, Banches, Calls, and Returns
85
Delayed Branch, Call, and Return Instructions
86
Algebraic Reordering / Symbolic Simplification / Constant Folding
87
Data-Flow Optimizations
88
Branch Optimizations and Control-Flow Simplification
89
Loop Induction Variable Optimizations and Strength Reduction
90
Inline Function Expansion
91
Linking C Code
92
Run-Time-Support Source Libraries
93
Invoking the Linker with the Compiler Shell (−Z Option)
95
Disabling the Linker (−C Shell Option)
96
Linker Options
97
Controlling the Linking Process
99
Specifying the Type of Initialization
100
Sections Created by the Compiler
102
Specifying Where to Allocate Sections in Memory
102
A Sample Linker Command File
104
Tms320C2X/C2Xx/C5X C Language
106
Identifiers and Constants
107
Expressions
108
Data Types
109
Tms320C2X/C2Xx/C5X C Data Types
110
Register Variables
111
Pragma Directives
112
The DATA_SECTION Pragma
113
The Asm Statement
114
Creating Global Register Variables
115
Avoiding Corrupting Register Values
116
Initializing Static and Global Variables
117
Accessing I/O Port Space
118
Compatibility with K&R C
119
Compiler Limits
121
Absolute Compiler Limits
122
Chapter 6 Run-Time Environment
124
Runtime Environment
124
Memory Model
125
Sections
126
C System Stack
127
Allocating .Const to Program Memory
128
Dynamic Memory Allocation
129
Initialization of Variables
130
Field/Structure Alignment
131
Register Conventions
132
Register Use and Preservation Conventions
133
Status Register Fields
134
The Tms320C5X INDX Register
135
Expression Registers
136
Stack Use During a Function Call
137
Function Structure and Calling Conventions
137
How a Function Makes a Call
138
Special Cases for a Called Function
139
Accessing Arguments and Local Variables
141
Interfacing C with Assembly Language
142
An Assembly Language Function
144
Using Inline Assembly Language
145
Accessing Assembly Language Variables from C Code
146
Modifying Compiler Output
147
Interrupt Handling
148
Using C Interrupt Routines
149
Using Assembly Language Interrupt Routines
150
Integer Expression Analysis
151
C Code Access to the Upper 16 Bits of 16-Bit Multiply
152
Floating-Point Expression Analysis
153
System Initialization
154
Runtime Stack
155
Format of Initialization Records in the .Cinit Section
156
Initialization Tables
156
Autoinitialization at Run Time
157
Autoinitialization of Variables at Runtime
157
Initialization at Load Time
158
Runtime-Support Functions
160
Libraries
161
Modifying a Library Function
162
Header Files
163
Diagnostic Messages (Assert.h)
164
Macros that Supply Integer Type Range Limits (Limits.h)
165
Error Reporting (Errno.h )
165
Macros that Supply Floating-Point Range Limits (Float.h)
166
Inport/Outport Macros (Ioports.h)
167
Floating-Point Math (Math.h )
168
Standard Definitions (Stddef.h )
169
String Functions (String.h )
170
Customizing Time Functions
171
Summary of Run-Time-Support Functions and Macros
172
Writing Your Own Clock Function
187
Writing Your Own Time Function
217
Library-Build Utility
221
Invoking the Library-Build Utility
222
Library-Build Utility Options
223
Summary of Options and Their Effects
224
A Glossary
227
Tms320C2X/C2Xx/C5X Byte Is 16 Bits
228
Advertisement
Related Products
Texas Instruments TMS320C2XX
Texas Instruments TMS3320C5515
Texas Instruments TMS320C6712D
Texas Instruments TMS320C28x
Texas Instruments TAS5026REF
Texas Instruments TMS320C2802 Data
Texas Instruments TMS320C2801 Data
Texas Instruments TMS320C2812
Texas Instruments TMS320C2810
Texas Instruments TMS320C2811
Texas Instruments Categories
Motherboard
Control Unit
Microcontrollers
Computer Hardware
Calculator
More Texas Instruments Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL