Texas Instruments TMS320C2XX - Manual

Texas Instruments TMS320C2XX

Texas Instruments TMS320C2XX – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
122 Page 122
123 Page 123
124 Page 124
125 Page 125
126 Page 126
127 Page 127
128 Page 128
129 Page 129
130 Page 130
131 Page 131
132 Page 132
133 Page 133
134 Page 134
135 Page 135
136 Page 136
137 Page 137
138 Page 138
139 Page 139
140 Page 140
141 Page 141
142 Page 142
143 Page 143
144 Page 144
145 Page 145
146 Page 146
147 Page 147
148 Page 148
149 Page 149
150 Page 150
151 Page 151
152 Page 152
153 Page 153
154 Page 154
155 Page 155
156 Page 156
157 Page 157
158 Page 158
159 Page 159
160 Page 160
161 Page 161
162 Page 162
163 Page 163
164 Page 164
165 Page 165
166 Page 166
167 Page 167
168 Page 168
169 Page 169
170 Page 170
171 Page 171
172 Page 172
173 Page 173
174 Page 174
175 Page 175
176 Page 176
177 Page 177
178 Page 178
179 Page 179
180 Page 180
181 Page 181
182 Page 182
183 Page 183
184 Page 184
185 Page 185
186 Page 186
187 Page 187
188 Page 188
189 Page 189
190 Page 190
191 Page 191
192 Page 192
193 Page 193
194 Page 194
195 Page 195
196 Page 196
197 Page 197
198 Page 198
199 Page 199
200 Page 200
201 Page 201
202 Page 202
203 Page 203
204 Page 204
205 Page 205
206 Page 206
207 Page 207
208 Page 208
209 Page 209
210 Page 210
211 Page 211
212 Page 212
213 Page 213
214 Page 214
215 Page 215
216 Page 216
217 Page 217
218 Page 218
219 Page 219
220 Page 220
221 Page 221
222 Page 222
223 Page 223
224 Page 224
225 Page 225
226 Page 226
227 Page 227
228 Page 228
229 Page 229
230 Page 230
231 Page 231
232 Page 232
233 Page 233
234 Page 234
235 Page 235
236 Page 236
237 Page 237
238 Page 238
239 Page 239
240 Page 240
241 Page 241
242 Page 242
243 Page 243
244 Page 244
245 Page 245
246 Page 246
247 Page 247
248 Page 248
249 Page 249
250 Page 250
251 Page 251
252 Page 252
253 Page 253
254 Page 254
255 Page 255
256 Page 256
257 Page 257
258 Page 258
259 Page 259
260 Page 260
261 Page 261
262 Page 262
263 Page 263
264 Page 264
265 Page 265
266 Page 266
267 Page 267
268 Page 268
269 Page 269
270 Page 270
271 Page 271
272 Page 272
273 Page 273
274 Page 274
275 Page 275
276 Page 276
277 Page 277
278 Page 278
279 Page 279
280 Page 280
281 Page 281
282 Page 282
283 Page 283
284 Page 284
285 Page 285
286 Page 286
287 Page 287
288 Page 288
289 Page 289
290 Page 290
291 Page 291
292 Page 292
293 Page 293
294 Page 294
295 Page 295
296 Page 296
297 Page 297
298 Page 298
299 Page 299
300 Page 300
301 Page 301
302 Page 302
303 Page 303
304 Page 304
305 Page 305
306 Page 306
307 Page 307
308 Page 308
309 Page 309
310 Page 310
311 Page 311
312 Page 312
313 Page 313
314 Page 314
315 Page 315
316 Page 316
317 Page 317
318 Page 318
319 Page 319
320 Page 320
321 Page 321
322 Page 322
323 Page 323
324 Page 324
325 Page 325
326 Page 326
327 Page 327
328 Page 328
329 Page 329
330 Page 330
331 Page 331
332 Page 332
333 Page 333
334 Page 334
335 Page 335
336 Page 336
337 Page 337
338 Page 338
339 Page 339
340 Page 340
341 Page 341
342 Page 342
343 Page 343
344 Page 344
345 Page 345
346 Page 346
347 Page 347
348 Page 348
349 Page 349
350 Page 350
351 Page 351
352 Page 352
353 Page 353
354 Page 354
355 Page 355
356 Page 356
357 Page 357
358 Page 358
359 Page 359
360 Page 360
361 Page 361
362 Page 362
363 Page 363
364 Page 364
365 Page 365
366 Page 366
367 Page 367
368 Page 368
369 Page 369
370 Page 370
371 Page 371
372 Page 372
373 Page 373
374 Page 374
375 Page 375
376 Page 376
377 Page 377
378 Page 378
379 Page 379
380 Page 380
381 Page 381
382 Page 382
383 Page 383
384 Page 384
385 Page 385
386 Page 386
387 Page 387
388 Page 388
389 Page 389
390 Page 390
391 Page 391
392 Page 392
393 Page 393
394 Page 394
395 Page 395
396 Page 396
397 Page 397
398 Page 398
399 Page 399
400 Page 400
401 Page 401
402 Page 402
403 Page 403
404 Page 404
405 Page 405
406 Page 406
407 Page 407
408 Page 408
409 Page 409
410 Page 410
411 Page 411
412 Page 412
413 Page 413
414 Page 414
415 Page 415
416 Page 416
417 Page 417
418 Page 418
419 Page 419
420 Page 420
421 Page 421
422 Page 422
423 Page 423
424 Page 424
425 Page 425
426 Page 426
427 Page 427
428 Page 428
429 Page 429
430 Page 430
431 Page 431
432 Page 432
433 Page 433
434 Page 434
435 Page 435
436 Page 436
437 Page 437
438 Page 438
439 Page 439
440 Page 440
441 Page 441
442 Page 442
443 Page 443
444 Page 444
445 Page 445
446 Page 446
447 Page 447
448 Page 448
449 Page 449
450 Page 450
451 Page 451
452 Page 452
453 Page 453
454 Page 454
455 Page 455
456 Page 456
457 Page 457
458 Page 458
459 Page 459
460 Page 460
461 Page 461
462 Page 462
463 Page 463
464 Page 464
465 Page 465
466 Page 466
467 Page 467
468 Page 468
469 Page 469
470 Page 470
471 Page 471
472 Page 472
473 Page 473
474 Page 474
475 Page 475
476 Page 476
477 Page 477
478 Page 478
479 Page 479
480 Page 480
481 Page 481
482 Page 482
483 Page 483
484 Page 484
485 Page 485
486 Page 486
487 Page 487
488 Page 488
489 Page 489
490 Page 490
491 Page 491
492 Page 492
493 Page 493
494 Page 494
495 Page 495
496 Page 496
497 Page 497
498 Page 498
499 Page 499
500 Page 500
501 Page 501
502 Page 502
503 Page 503
504 Page 504
505 Page 505
506 Page 506
507 Page 507
508 Page 508
509 Page 509
510 Page 510
511 Page 511
512 Page 512
513 Page 513
514 Page 514
515 Page 515
516 Page 516
517 Page 517
518 Page 518
519 Page 519
520 Page 520
521 Page 521
522 Page 522
523 Page 523
524 Page 524
525 Page 525
526 Page 526
527 Page 527
528 Page 528
529 Page 529
530 Page 530
531 Page 531
532 Page 532
533 Page 533
534 Page 534
535 Page 535
536 Page 536
537 Page 537
538 Page 538
539 Page 539
540 Page 540
541 Page 541
542 Page 542
543 Page 543
544 Page 544
545 Page 545
546 Page 546
547 Page 547
548 Page 548
549 Page 549
550 Page 550
551 Page 551
552 Page 552
553 Page 553
554 Page 554
555 Page 555
556 Page 556
557 Page 557
558 Page 558
559 Page 559
560 Page 560
561 Page 561
562 Page 562
563 Page 563
564 Page 564
565 Page 565
566 Page 566
567 Page 567
568 Page 568
569 Page 569
570 Page 570
571 Page 571
572 Page 572
573 Page 573
574 Page 574
575 Page 575
576 Page 576
577 Page 577
578 Page 578
579 Page 579
580 Page 580
581 Page 581
582 Page 582
583 Page 583
584 Page 584
585 Page 585
586 Page 586
587 Page 587
Page: / 587

Table of Contents:

  • Page 2 – IMPORTANT NOTICE
  • Page 3 – Preface; Read This First; About This Manual; Introduction, summarizes the TMS320 family of products and then
  • Page 4 – For this information:
  • Page 5 – Notational Conventions; special; BLDD; Information About Cautions; This is an example of a caution statement.
  • Page 6 – Related Documentation From Texas Instruments; This subsection describes related TI; TMS320C2x/C2xx/C5x Optimizing C Compiler User’s Guide (literature
  • Page 7 – TMS320C2xx Emulator Getting Started Guide (literature number
  • Page 8 – Related Articles
  • Page 10 – Trademarks; Intel is a trademark of Intel Corporation.
  • Page 11 – North America, South America, Central America
  • Page 12 – Contents; Introduction
  • Page 13 – Central Processing Unit
  • Page 14 – Program Control
  • Page 15 – Assembly Language Instructions
  • Page 16 – Synchronous Serial Port
  • Page 17 – Register Summary
  • Page 18 – Submitting ROM Codes to TI
  • Page 19 – Figures
  • Page 22 – Tables
  • Page 24 – Examples
  • Page 25 – Cautions
  • Page 26 – Topic; Key Features of the TMS320C2xx; Chapter 1
  • Page 27 – History, Development, and Advantages of TMS320 DSPs; Electronic Products
  • Page 28 – Performance
  • Page 29 – Typical Applications for the TMS320 Family; Table 1–1. Typical Applications for TMS320 DSPs; Automotive
  • Page 30 – The ’C2xx generation offers the following benefits:; Table 1–2. ’C2xx Generation Summary
  • Page 33 – Architectural Overview; Figure 2–1 shows an overall block diagram of the ’C2xx.; ’C2xx Bus Structure; Chapter 2
  • Page 34 – Figure 2–1. Overall Block Diagram of the ’C2xx
  • Page 36 – Figure 2–2. Bus Structure Block Diagram
  • Page 37 – The CPU is the same on all the ’C2xx devices. The ’C2xx CPU contains:; Central Arithmetic Logic Unit (CALU) and Accumulator
  • Page 38 – Multiplier
  • Page 39 – Memory and I/O Spaces; Table 2–1. Program and Data Memory on the TMS320C2xx Devices; Memory Type; All ’C2xx devices have 544 words
  • Page 41 – Flash Memory
  • Page 42 – Several features provide program control:
  • Page 43 – Clock generator (an oscillator and a phase lock loop circuit); Clock Generator
  • Page 44 – Table 2–2. Serial Ports on the ’C2xx Devices; Serial Ports; Burst and continuous transfer modes.
  • Page 45 – signs and discusses the XDS510 cable.
  • Page 46 – Input scaling section; Input Scaling Section; Chapter 3
  • Page 47 – Multiplication Sections of the CPU
  • Page 48 – Figure 3–2. Block Diagram of the Input Scaling Section
  • Page 50 – Multiplication Section; The ’C2xx uses a 16-bit; Figure 3–5. Block Diagram of the Multiplication Section; 6-bit hardware multiplier can produce a signed or unsigned
  • Page 51 – The other input is one of the following:; Product-Scaling Shifter
  • Page 52 – Table 3–1. Product Shift Modes for the Product-Scaling Shifter; PM
  • Page 53 – Central Arithmetic Logic Section; Figure 3–6. Block Diagram of the Central Arithmetic Logic Section
  • Page 54 – Boolean logic operations; Accumulator
  • Page 55 – Status bits. Four status bits are associated with the accumulator:; Additions to and subtractions from the accumulator:
  • Page 56 – Output Data-Scaling Shifter; Figure 3–7. Shifting and Storing the High Word of the Accumulator
  • Page 57 – Auxiliary Register Arithmetic Unit (ARAU); Figure 3–9. ARAU and Related Logic
  • Page 58 – The register pointed to by the ARP is referred to as the; ARAU and Auxiliary Register Functions; The ARAU performs the following operations:
  • Page 60 – Status Registers ST0 and ST1; Figure 3–10. Status Register ST0; Figure 3–11. Status Register ST1
  • Page 61 – Table 3–2. Bit Fields of Status Registers ST0 and ST1
  • Page 62 – Table 3–2. Bit Fields of Status Registers ST0 and ST1 (Continued); Name
  • Page 63 – A 64K-word program space; Chapter 4
  • Page 64 – Overview of the Memory and I/O Spaces; Local data memory (64K words) holds data used by the instructions.; The advantages of operating from on-chip memory are:
  • Page 65 – Pins for Interfacing to External Memory and I/O Spaces; Table 4–1. Pins for Interfacing With External Memory and I/O Spaces; Description
  • Page 67 – Program Memory; Interfacing With External Program Memory; 6-bit static memory is interfaced to the ’C2xx using two; Obtain the Proper Timing Information
  • Page 68 – Figure 4–1. Interface With External Program Memory
  • Page 69 – Local Data Memory; Figure 4–2. Pages of Data Memory; ’C2xx Data Memory
  • Page 70 – Data Page 0 Address Map; Do Not Write to Test/Emulation Addresses; Table 4–2. Data Page 0 Address Map; Address
  • Page 71 – Interfacing With External Local Data Memory; 6-bit static memory is interfaced to the ’C2xx using two 8K
  • Page 72 – Figure 4–3. Interface With External Local Data Memory
  • Page 73 – Global Data Memory; Table 4–3. Global Data Memory Configurations
  • Page 74 – Figure 4–4. GREG Register Set to Configure 8K for Global Data Memory; Interfacing With External Global Data Memory
  • Page 75 – local data RAM is fully accessible when GREG = XXXXXXXX10000000; Figure 4–6. Using 8000h–FFFFh for Local and Global External Memory
  • Page 76 – Boot Loader; Figure 4–7. Simplified Block Diagram of Boot Loader Operation; Choosing an EPROM; The maximum size for the EPROM is 32K words
  • Page 77 – Connecting the EPROM to the Processor; ) If the EPROM is smaller than 32K words; Figure 4–8. Connecting the EPROM to the Processor
  • Page 78 – Programming the EPROM; need to do the programming, use the following procedure.
  • Page 79 – Figure 4–9. Storing the Program in the EPROM; Enabling the Boot Loader; Seven wait states are selected for program and data spaces.
  • Page 80 – Boot Loader Execution; If the end is reached, the boot loader goes on to step 5.
  • Page 81 – Figure 4–10. Program Code Transferred From 8-Bit EPROM to 16-Bit RAM
  • Page 82 – Figure 4–11. Interrupt Vectors Transferred First During Boot Load
  • Page 83 – Boot Loader Program
  • Page 85 – Figure 4–12. I/O Address Map for the ’C2xx
  • Page 86 – The map has three main sections of addresses:; Do Not Write to Reserved Addresses
  • Page 88 – Figure 4–13. I/O Port Interface Circuitry
  • Page 89 – Direct Memory Access Using the HOLD Operation
  • Page 90 – Example 4–1. An Interrupt Service Routine Supporting INT1 and HOLD
  • Page 91 – Assert system reset at the reset pin.; HOLD During Reset; HOLD is deasserted before reset is deasserted.; Figure 4–14. HOLD Deasserted Before Reset Deasserted
  • Page 92 – Figure 4–15. Reset Deasserted Before HOLD Deasserted
  • Page 93 – Device-Specific Information; TMS320C203 Address Maps and Memory Configuration
  • Page 95 – creases by 512 words.; Table 4–5. ’C203 Program-Memory Configuration Options; CNF
  • Page 96 – Table 4–6. ’C203 Data-Memory Configuration Options; TMS320C204 Address Maps and Memory Configuration
  • Page 99 – Table 4–7. ’C204 Program-Memory Configuration Options
  • Page 100 – Program-Address Generation; Chapter 5
  • Page 101 – Figure 5–1. Program-Address Generation Block Diagram
  • Page 102 – Table 5–1. Program-Address Generation Summary; Operation
  • Page 103 – Table 5–2. Address Loading to the Program Counter; Code Operation; Stack; You can access the stack with two sets of instructions:
  • Page 104 – Figure 5–2. A Push Operation
  • Page 105 – Figure 5–3. A Pop Operation
  • Page 106 – Pipeline Operation
  • Page 107 – Unconditional Branches
  • Page 108 – Unconditional Returns
  • Page 109 – Table 5–3. Conditions for Conditional Calls and Returns; Condition; Using Multiple Conditions
  • Page 110 – Table 5–4. Groupings of Conditions; Stabilization of Conditions; not met, the two instruction words
  • Page 112 – not met, the two instructions are
  • Page 113 – Repeating a Single Instruction
  • Page 114 – Interrupts; The ’C2xx supports both software and hardware interrupts:; Interrupt Operation: Three Phases; The ’C2xx handles interrupts in three main phases:
  • Page 115 – Interrupt Table; Table 5–5. ’C2xx Interrupt Locations and Priorities
  • Page 116 – Table 5–5. ’C2xx Interrupt Locations and Priorities (Continued)
  • Page 117 – Maskable Interrupts; Two registers on the ’C2xx contain flag bits:
  • Page 118 – interrupt vector location. From this location in pro-
  • Page 119 – Figure 5–6. Maskable Interrupt Operation Flow Chart
  • Page 120 – Reserved. Bits 15–6 are reserved and are always read as 0s.
  • Page 121 – Interrupt RINT is not pending.; TINT — Timer interrupt flag. Bit 2 is tied to the timer interrupt, TINT.; Interrupt TINT is not pending.
  • Page 123 – Controlling the HOLD/INT1 pin; Each of these interrupts has its own pin. However, they share:
  • Page 124 – ) Neither FINT2 nor FINT3 is automatically cleared when the CPU ac-
  • Page 125 – Figure 5–9 shows the ICR, and bit descriptions follow the figure.; Reserved. Bits 15–5 are reserved and are always read as 0s.
  • Page 126 – Nonmaskable Interrupts
  • Page 127 – not disable maskable interrupts
  • Page 128 – Figure 5–10. Nonmaskable Interrupt Operation Flow Chart; Saving and restoring register values
  • Page 129 – Managing ISRs within ISRs; If you want an ISR to occur; Interrupt Latency
  • Page 130 – Latency for pipeline protection
  • Page 132 – Reset Operation
  • Page 135 – Normal Termination of Power-Down Mode; Do not use reset or NMI to bring the processor out of power-down.
  • Page 136 – Termination of Power-Down During a HOLD Operation
  • Page 137 – Addressing Modes; Immediate addressing mode; Immediate Addressing Mode; Chapter 6
  • Page 138 – Examples of Immediate Addressing; Example 6–1. RPT Instruction Using Short-Immediate Addressing; Example 6–2. ADD Instruction Using Long-Immediate Addressing; ADD
  • Page 139 – First instruction word:
  • Page 140 – Direct Addressing Mode; Figure 6–3. Pages of Data Memory; Data Memory
  • Page 141 – Figure 6–5. Generation of Data Addresses in Direct Addressing Mode; Initialize the DP in All Programs
  • Page 142 – Using Direct Addressing Mode; Initialize data page pointer; Examples of Direct Addressing
  • Page 143 – Example 6–3. Using Direct Addressing with ADD (Shift of 0 to 15); ADD 9h,5 The contents of data address 0209h are
  • Page 144 – Example 6–5. Using Direct Addressing with ADDC; ADDC 6h
  • Page 145 – Indirect Addressing Mode; Current Auxiliary Register; Indirect Addressing Options; The ’C2xx provides four types of indirect addressing options:
  • Page 146 – Table 6–1. Indirect Addressing Operands; Option
  • Page 147 – Next Auxiliary Register; next auxiliary register or next AR. This register will be the
  • Page 148 – Example 6–6. Selecting a New Current Auxiliary Register; Indirect Addressing Opcode Format; Figure 6–6. Instruction Register Content in Indirect Addressing; ARU
  • Page 149 – Table 6–2. Effects of the ARU Code on the Current Auxiliary Register; ARU Code
  • Page 150 – Table 6–3. Field Bits and Notation for Indirect Addressing; Instruction Opcode Bits
  • Page 151 – Examples of Indirect Addressing; Example 6–7. No Increment or Decrement
  • Page 152 – Example 6–9. Decrement by 1
  • Page 153 – Modifying Auxiliary Register Content; The LAR instruction loads an AR.
  • Page 154 – This chapter describes the assembly language instructions.; Instruction Set Summary; Chapter 7
  • Page 155 – ACC; The accumulator; ARX
  • Page 156 – BIO pin low
  • Page 157 – ZLVC ZLVC; Two 4-bit fields — each representing the following conditions:; Mnemonic
  • Page 160 – Table 7–2. Auxiliary Register Instructions
  • Page 161 – Table 7–4. Branch Instructions
  • Page 162 – Table 7–5. Control Instructions
  • Page 165 – How To Use the Instruction Descriptions; Syntax; ADD DAT
  • Page 166 – MoveData
  • Page 167 – Operands
  • Page 168 – The field called dma contains the value; Execution; nnh; Status Bits
  • Page 170 – DARAM; External The operand is in external memory.; For the RPT mode execution,; io; cycles, and external write accesses require
  • Page 171 – formation about pipeline operation.; special typeface; Here are the facts and events represented in this example:
  • Page 173 – Instruction Descriptions
  • Page 174 – ABS
  • Page 175 – Example 1; Example 2; Example 3; Example 4
  • Page 178 – Cycles
  • Page 180 – ADDC
  • Page 182 – ADDS
  • Page 184 – ADDT
  • Page 186 – Short immediate addressing; Cycles for a Single ADRK Instruction; ADRK
  • Page 187 – AND
  • Page 190 – APAC; Table 7–7. Product Shift Modes
  • Page 191 – Example
  • Page 192 – Indirect addressing; pma; Cycles for a Single B Instruction
  • Page 193 – None; Cycles for a Single BACC Instruction; BACC
  • Page 194 – BANZ
  • Page 195 – or; BANZ PGM191,AR0 add data referenced by AR0
  • Page 196 – BCND
  • Page 198 – BIT
  • Page 200 – BITT
  • Page 207 – BLPD
  • Page 208 – A word in program memory pointed to by the; Words
  • Page 210 – Operand
  • Page 211 – Cycles for a Single CALA Instruction; CALA
  • Page 212 – Cycles for a Single CALL Instruction; CALL
  • Page 213 – CC
  • Page 215 – CLRC
  • Page 216 – CLRC TC
  • Page 217 – CMPL
  • Page 218 – CMPR; This instruction is not affected by SXM. It does not affect SXM.
  • Page 219 – DMOV
  • Page 221 – Cycles for a Single IDLE Instruction; IDLE
  • Page 222 – IN
  • Page 224 – stack; Cycles for a Single INTR Instruction; INTR
  • Page 225 – LACC
  • Page 228 – LACL
  • Page 231 – LACT
  • Page 233 – LAR
  • Page 236 – LDP
  • Page 238 – LPH
  • Page 240 – LST
  • Page 241 – This instruction does not affect INTM.
  • Page 246 – LTA
  • Page 248 – LTD
  • Page 251 – LTP
  • Page 253 – LTS
  • Page 255 – MAC
  • Page 259 – MACD
  • Page 260 – Affected by; The MACD instruction:
  • Page 264 – MAR
  • Page 266 – MPY
  • Page 269 – MPYA
  • Page 271 – MPYS
  • Page 273 – MPYU
  • Page 275 – NEG; NEG
  • Page 277 – Cycles for a Single NMI Instruction; NMI
  • Page 278 – NOP
  • Page 279 – NORM
  • Page 280 – ) The auxiliary register values should not be modified by the two; before it is modified by the NORM instruction.
  • Page 282 – OR
  • Page 284 – OR DAT8
  • Page 285 – OUT
  • Page 287 – PAC
  • Page 288 – POP
  • Page 290 – POPD
  • Page 292 – PSHD
  • Page 294 – PUSH
  • Page 295 – Cycles for a Single RET Instruction; RET
  • Page 296 – RETC
  • Page 297 – ROL
  • Page 298 – ROR
  • Page 299 – RPT
  • Page 301 – SACH
  • Page 303 – SACL
  • Page 305 – SAR
  • Page 307 – Cycles for a Single SBRK Instruction; SBRK
  • Page 308 – SETC
  • Page 310 – SFL
  • Page 311 – SFR
  • Page 313 – SPAC
  • Page 314 – SPH
  • Page 316 – SPL
  • Page 318 – SPLK
  • Page 320 – constant; Table 7–8. Product Shift Modes; SPM
  • Page 321 – SQRA
  • Page 323 – SQRS
  • Page 325 – SST
  • Page 326 – Status registers ST0 and ST1 are defined in Section 3.5,
  • Page 327 – SUB
  • Page 331 – SUBB
  • Page 333 – SUBC
  • Page 335 – SUBS
  • Page 337 – SUBT
  • Page 339 – TBLR
  • Page 342 – TBLW
  • Page 345 – Cycles for a Single TRAP Instruction; TRAP
  • Page 346 – XOR
  • Page 349 – ZALR
  • Page 351 – Control of On-Chip Peripherals; Chapter 8
  • Page 352 – Table 8–1. Peripheral Register Locations and Reset Conditions; Register
  • Page 354 – The timer clock rate is a fraction of the rate of CLKOUT1.; Figure 8–1. Using the Internal Oscillator
  • Page 355 – Figure 8–2. Using an External Oscillator; Clock Generator Options; mode operates the CPU at
  • Page 356 – Table 8–2. ’C2xx Input Clock Modes; Clock; Remember the following when configuring the clock mode:
  • Page 358 – Timer; Figure 8–4. Timer Functional Block Diagram
  • Page 359 – Timer Operation; Here is a typical sequence of events for the timer:; Equation 8–1. Timer Interrupt Rate for Nonzero TDDR and/or PRD
  • Page 360 – Control the mode of the timer
  • Page 361 – Reserved. Bits 15–12 are reserved and are always read as 0s.; don’t; Table 8–3. ’C2xx Timer Run/Emulation Modes; FREE
  • Page 362 – Starts or restarts the timer.
  • Page 363 – Setting the Timer Interrupt Rate; The FREE and SOFT bits are both 0.
  • Page 364 – The ’C2xx offers two options for generating wait states:; Generating Wait States With the READY Signal; The READY pin has no effect on accesses to; Generating Wait States With the ’C2xx Wait-State Generator
  • Page 366 – Table 8–4. Setting the Number of Wait States With the ’C2xx WSGR Bits; m is the number of CLKOUT1
  • Page 367 – Input Pin BIO
  • Page 368 – Figure 8–7. BIO Timing Diagram Example; Output Pin XF
  • Page 369 – The synchronous serial port offers these features:; Chapter 9
  • Page 370 – Overview of the Synchronous Serial Port
  • Page 371 – Components and Basic Operation; Figure 9–1. Synchronous Serial Port Block Diagram; Signals; Serial port operation requires three basic signals:
  • Page 372 – Table 9–1 describes the six pins that use these signals.; Table 9–1. SSP Interface Pins; the DX signal sends serial data to the D
  • Page 373 – FIFO Buffers and Registers
  • Page 374 – If the FIFO buffer is not empty, the process repeats from step 2.
  • Page 376 – Controlling and Resetting the Port; writing zeros to SSPCR bits XRST and RRST.
  • Page 377 – Table 9–2. Run and Emulation Modes; Select Bits
  • Page 380 – Selecting a Mode of Operation (Bit 1 of the SSPCR); To use an external clock source:; the CLKR pin of the receiver.
  • Page 381 – Table 9–5. Selecting Transmit Clock and Frame Sync Sources; MCM; Resetting the Synchronous Serial Port (Bits 4 and 5 of the SSPCR)
  • Page 382 – The RINT vector is fetched from address 0008h.
  • Page 383 – Managing the Contents of the FIFO Buffers
  • Page 384 – Transmitter Operation; This mode of operation offers several features:
  • Page 385 – Figure 9–4. Burst Mode Transmission With Internal Frame Sync
  • Page 387 – Figure 9–5. Burst Mode Transmission With External Frame Sync
  • Page 389 – Figure 9–6. Continuous Mode Transmission With Internal Frame Sync
  • Page 391 – Figure 9–7. Continuous Mode Transmission With External Frame Sync
  • Page 392 – Receiver Operation; Burst Mode Reception; This mode of operation offers these features:
  • Page 393 – Figure 9–8. Burst Mode Reception; Continuous Mode Reception
  • Page 394 – at the falling edge of each consecutive clock cycle.; Figure 9–9. Continuous Mode Reception
  • Page 395 – Troubleshooting; Test Bits; Figure 9–10. Test Bits in the SSPCR
  • Page 396 – Table 9–6. Run and Emulation Modes; DLB enables or disables digital loopback mode:; set by writing zeros to XRST and RRST.
  • Page 397 – Burst Mode Error Conditions
  • Page 399 – Asynchronous Serial Port; Data-word length of eight bits for both transmit and receive; Overview of the Asynchronous Serial Port
  • Page 401 – Components and Basic Operation; Figure 10–1. Asynchronous Serial Port Block Diagram
  • Page 402 – Table 10–1. Asynchronous Serial Port Interface Pins; Pin Name
  • Page 404 – Figure 10–2. Typical Serial Link Between a ’C2xx Device and a Host CPU
  • Page 405 – Controlling and Resetting the Port; Figure 10–3. Asynchronous Serial Port Control Register (ASPCR); FREE. This bit sets the port to function in emulation or run mode.; Free run mode is selected.
  • Page 406 – CAD — Calibrate
  • Page 407 – IO3 is configured as an output.
  • Page 408 – ADC —; character
  • Page 411 – Equation 10–1. Value Needed in the BRD
  • Page 412 – Table 10–2. Common Baud Rates and the Corresponding BRD Values; BRD Value in Hexadecimal
  • Page 413 – Figure 10–5. Example of the Logic for Pins IO0–IO3; Table 10–3. Configuring Pins IO0–IO3 with ASPCR Bits CIO0–CIO3; Bit
  • Page 414 – When pins IO0–IO3 are configured as inputs; When pins IO0–IO3 are configured as outputs
  • Page 417 – Transmitter Operation; Figure 10–6. Data Transmit; Here is a summary of asynchronous mode transmission:
  • Page 418 – Receiver Operation; Figure 10–7. Data Receive; to indicate whether a start bit is valid.
  • Page 421 – The ’C209 does not support the ’C2xx HOLD operation.; For information about:
  • Page 426 – program; ’C209 Program-Memory Configuration Options
  • Page 428 – ’C209 Interrupt Locations and Priorities
  • Page 429 – Table 11–4. ’C209 Interrupt Locations and Priorities (Continued)
  • Page 430 – Reserved. Bits 15–4 are reserved and are always read as 0s.
  • Page 433 – ’C209 Input Clock Modes; Clock Mode; Remember the following points when configuring the clock mode:; Reserved. TCR bits 10–15 are reserved and are always read as 0s.
  • Page 436 – Their addresses; Addresses and Reset Values; Appendix A
  • Page 437 – A.1 Addresses and Reset Values; Table A–1. Reset Values of the Status Registers
  • Page 438 – Table A–3. Addresses and Reset Values of On-Chip Registers Mapped to
  • Page 439 – A.2 Register Descriptions
  • Page 440 – Status Register ST0; Status Register ST1
  • Page 441 – Interrupt Flag Register (IFR) — ’C209 — Data-Memory Address 0006h
  • Page 442 – Interrupt Mask Register (IMR) — ’C209 — Data-Memory Address 0004h
  • Page 444 – Timer Control Register (TCR) — Except ’C209 — I/O Address FFF8h
  • Page 446 – CLK Register — I/O Address FFE8h
  • Page 447 – Synchronous Serial Port Control Register (SSPCR) — I/O Address FFF1h
  • Page 450 – Instruction Set Comparison; enhanced; Using the Instruction Set Comparison Table; Appendix B
  • Page 451 – B.1 Using the Instruction Set Comparison Table
  • Page 452 – B.1.2 Symbols and Acronyms Used in the Table; Table B–1. Symbols and Acronyms Used in the Instruction Set Summary; Symbol
  • Page 453 – ’C1x devices; Based on the device, these are the sets of values for shift, shift; Description column of the table.
  • Page 454 – B.2 Enhanced Instructions; Table B–2. Summary of Enhanced Instructions; Includes These Operations
  • Page 455 – B.3 Instruction Set Comparison Table
  • Page 486 – Program Examples; This appendix provides:; About These Program Examples; Appendix C
  • Page 487 – C.1 About These Program Examples; Figure C–1. Procedure for Generating Executable Files; Output files
  • Page 488 – Table C–1. Shared Programs in This Appendix; Table C–2. Task-Specific Programs in This Appendix; Program
  • Page 490 – C.2 Shared Program Code
  • Page 501 – Example C–11. Testing and Using Automatic Baud-Rate Detection on
  • Page 508 – C.4 Introduction to Generating Boot Loader Code; For more details, refer to the
  • Page 509 – Example C–15. Linker Command File; Example C–16. Hex Conversion Utility Command File
  • Page 510 – Greater memory expansion; Appendix D
  • Page 511 – Figure D–1. TMS320 ROM Code Submittal Flow Chart
  • Page 512 – The TMS320 ROM code may be submitted in one of the following forms:
  • Page 513 – Design Considerations for; The term; Appendix E
  • Page 514 – your target system must have a 14-pin header (two rows of; Figure E–1. 14-Pin Header Signals and Header Dimensions
  • Page 515 – Table E–1. 14-Pin Header Signal Descriptions
  • Page 517 – E.3 Emulator Cable Pod; TMS and TDI are series-terminated to reduce signal reflections.; Figure E–2. Emulator Cable Pod Interface
  • Page 518 – E.4 Emulator Cable Pod Signal Timing; Figure E–3. Emulator Cable Pod Timings; Table E–2. Emulator Cable Pod Timing Parameters; Parameter
  • Page 519 – E.5 Emulation Timing Calculations
  • Page 520 – and Output
  • Page 522 – E.6 Connections Between the Emulator and the Target System; Buffering Signals; to provide a signal rise time of less than 10; Figure E–4. Emulator Connections Without Signal Buffering
  • Page 523 – Figure E–5. Emulator Connections With Signal Buffering; to; to hold these signals at a known value when the emulator is not con-
  • Page 524 – Using a Target-System Clock
  • Page 525 – Configuring Multiple Processors; to hold these signals at a known value when the emulator; Figure E–7. Multiprocessor Connections
  • Page 526 – Physical Dimensions for the 14-Pin Emulator Connector
  • Page 528 – E.8 Emulation Design Considerations; Using Scan Path Linkers; Advanced Logic and Bus Interface Logic Data
  • Page 529 – also need to buffer them for the same reasons.
  • Page 530 – Emulation Timing Calculations for a Scan Path Linker (SPL); The examples use the following assumptions:
  • Page 532 – Using Emulation Pins
  • Page 534 – whose function is to generate a low pulse on the EMU0/1-IN signal; Figure E–12. Suggested Timings for the EMU0 and EMU1 Signals
  • Page 535 – Requirements of Greater Than 25 ns
  • Page 536 – Figure E–14. EMU0/1 Configuration Without Global Stop; Performing Diagnostic Applications; n devices to the TBC.
  • Page 537 – Figure E–15. TBC Emulation Connections for n JTAG Scan Paths; through pullup resis-
  • Page 538 – Glossary; Appendix F
  • Page 542 – current auxiliary register:
  • Page 544 – digital loopback mode:
  • Page 548 – immediate addressing:
  • Page 549 – interrupt vector location:
  • Page 551 – master clock output signal:
  • Page 552 – next auxiliary register:
  • Page 555 – program control logic:
  • Page 559 – status registers ST0 and ST1:
  • Page 563 – Fill the unused low or high order bits in a register with zeros.
  • Page 564 – Index
Loading the manual
Page 1

TMS320C2xx

User’s Guide

Literature Number: SPRU127B

Manufacturing Part Number: D412008-9761 revision A

January 1997

Printed on Recycled Paper

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Was this manual helpful?

About this manual

Brand
Texas Instruments
Model
TMS320C2XX
Document type
Manual
Language(s)
English
Pages
587
File size
3.2 MB
Format
PDF

Summary

Page 2 - IMPORTANT NOTICE

IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to discontinue anysemiconductor product or service without notice, and advises its customers to obtain the latestversion of relevant information to verify, before placing orders, that the information being ...

Page 3 - Preface; Read This First; About This Manual; Introduction, summarizes the TMS320 family of products and then

How to Use This Manual iii Preface Read This First About This Manual This user’s guide describes the architecture, hardware, assembly languageinstructions, and general operation of the TMS320C2xx digital signalprocessors (DSPs). This manual can also be used as a reference guide fordeveloping hardwar...

Page 4 - For this information:

How to Use This Manual iv For this information: Look here: Addressing modes (for addressing datamemory) Chapter 6, Addressing Modes Assembly language instructions Chapter 7, Assembly Language Instructions Assembly language instructions ofTMS320C1x, ’C2x, ’C2xx, and ’C5xcompared Appendix B,TMS320C1x/...

Ask a question

Up to 3 photos. Max 5 MB each. Formats: JPG, JPEG, PNG, WebP.