Texas Instruments TMS320C64x DSP - Manual

Texas Instruments TMS320C64x DSP

Texas Instruments TMS320C64x DSP – 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
Page: / 306

Table of Contents:

  • Page 2 – IMPORTANT NOTICE
  • Page 3 – Preface; Read This First; About This Manual; TMS320C6000 CPU and Instruction Set Reference Guide (literature
  • Page 4 – application programming interface (API), which allows you to; Trademarks
  • Page 5 – Contents; Overview
  • Page 6 – Video Capture Port; Discusses operation of the video capture port.
  • Page 8 – Video Display Port; Discusses the video display port.
  • Page 9 – General Purpose I/O Operation
  • Page 10 – VCXO Interpolated Control Port; Provides an overview of the VCXO interpolated control (VIC) port.; Video Port Configuration Examples
  • Page 11 – Figures
  • Page 15 – Tables
  • Page 18 – DSP family. Included are an; Topic; Video Port; Chapter 1
  • Page 19 – Capture rate up to 80 MHz.
  • Page 21 – Figure 1–1. Video Port Block Diagram; Channel B
  • Page 22 – Video Port FIFO; DMA Interface
  • Page 23 – Video Capture FIFO Configurations; Figure 1–2. BT.656 Video Capture FIFO Configuration
  • Page 25 – Figure 1–4. Y/C Video Capture FIFO Configuration
  • Page 26 – Video Display FIFO Configurations; Figure 1–6. BT.656 Video Display FIFO Configuration
  • Page 28 – Figure 1–8. 8/10 Bit Locked Raw Video Display FIFO Configuration
  • Page 29 – Figure 1–10. Y/C Video Display FIFO Configuration; Video Port Registers; The registers for controlling the video port are in section 2.7.
  • Page 30 – Video Port Pin Mapping; Table 1–1. Video Capture Signal Mapping
  • Page 31 – Table 1–2. Video Display Signal Mapping
  • Page 32 – VDIN Bus Usage for Capture Modes; Table 1–3. VDIN Data Bus Usage for Capture Modes; Capture Mode
  • Page 33 – VDOUT Data Bus Usage for Display Modes; Table 1–4. VDOUT Data Bus Usage for Display Modes; Display Mode
  • Page 34 – Chapter 2
  • Page 35 – Reset Operation; Peripheral Bus Reset; Clears PEREN bit in PCR to 0.
  • Page 36 – Software Port Reset
  • Page 37 – Display Channel Reset; No new DMA events are generated.
  • Page 38 – Interrupt Operation; Upon receiving an interrupt you should:
  • Page 39 – DMA Operation; Capture DMA Event Generation
  • Page 40 – Figure 2–1. Capture DMA Event Generation Flow Diagram
  • Page 41 – Display DMA Event Generation; the threshold space still available in the FIFO
  • Page 42 – Figure 2–2. Display DMA Event Generation Flow Diagram
  • Page 43 – DMA Size and Threshold Restrictions; pixel
  • Page 44 – Similarly if a subhorizontal line length is desired (; DMA Interface Operation
  • Page 45 – Clocks; the CPU clock; Table 2–1. Video Port Functional Clocks; Clock; Video Port Functionality Subsets; Data Bus Width
  • Page 46 – FIFO Size; Video Port Throughput and Latency; Video Capture Throughput; is
  • Page 47 – Table 2–2. Y/C Video Capture FIFO Capacity; Sample; calculated as the FIFO size divided by t
  • Page 48 – Video Display Throughput; Table 2–3. Raw Video Display FIFO Capacity
  • Page 49 – Video Port Control Registers; Table 2–4. Video Port Control Registers; Acronym
  • Page 50 – Table 2–5. Video Port Control Register (VPCTL) Field Descriptions; Bit; Value
  • Page 52 – Table 2–6. Video Port Operating Mode Selection
  • Page 53 – Table 2–7. Video Port Status Register (VPSTAT) Field Descriptions
  • Page 54 – Video Port Interrupt Enable Register (VPIE)
  • Page 57 – Video Port Interrupt Status Register (VPIS)
  • Page 63 – Chapter 3
  • Page 64 – Video Capture Mode Selection; Table 3–1. Video Capture Mode Selection; TSI Bit
  • Page 65 – BT.656 Video Capture Mode; BT.656 Capture Channels
  • Page 66 – BT.656 Timing Reference Codes; Table 3–2. BT.656 Video Timing Reference Codes; Data Bit; Byte; Byte
  • Page 67 – Line Information Bits; Table 3–4. Error Correction by Protection Bits; Received
  • Page 68 – BT.656 Image Window and Capture; VCXSTOP and
  • Page 69 – Figure 3–1. Video Capture Parameters; Video Source
  • Page 74 – Y/C Video Capture Mode; Y/C Timing Reference Codes
  • Page 75 – Y/C Image Window and Capture
  • Page 79 – BT.656 and Y/C Mode Field and Frame Operation; Capture Determination and Notification
  • Page 80 – CON
  • Page 81 – Vertical Synchronization
  • Page 82 – Table 3–7. Vertical Synchronization Programming; VMode
  • Page 84 – Horizontal Synchronization; Table 3–8. Horizontal Synchronization Programming
  • Page 86 – Field Identification; Table 3–9. Field Identification Programming; EXC
  • Page 87 – 4 clock detection window around HSYNC. If both HSYNC and VSYNC; Figure 3–11. Field 1 Detection Timing; Short and Long Field Detect
  • Page 88 – Video Input Filtering; Input Filter Modes; scaling, chrominance; Table 3–10. Input Filter Mode Selection; CMODE
  • Page 89 – Chrominance Resampling Operation; Figure 3–12. Chrominance Resampling; Scaling Operation; The
  • Page 90 – Figure 3–14. 1/2 Scaled Chrominance Resampled Filtering; Note that because input scaling is limited to
  • Page 91 – Edge Pixel Replication; Figure 3–15. Edge Pixel Replication
  • Page 92 – Figure 3–16. Capture Window Not Requiring Edge Pixel Replication
  • Page 93 – Ancillary Data Capture
  • Page 94 – Raw Data Capture Mode; Raw Data Capture Notification
  • Page 95 – Raw Data Mode Capture Operation; Raw Data FIFO Packing
  • Page 96 – Figure 3–18. 10-Bit Raw Data FIFO Packing
  • Page 97 – Figure 3–19. 10-Bit Dense Raw Data FIFO Packing
  • Page 98 – Figure 3–21. 20-Bit Raw Data FIFO Packing
  • Page 99 – TSI Capture Mode; TSI Capture Features
  • Page 100 – Figure 3–22. Parallel TSI Capture; TSI Capture Error Detection
  • Page 101 – Figure 3–24. System Time Clock Counter Operation
  • Page 102 – TSI Data Capture Notification; Table 3–12. TSI Capture Mode Operation; VCACTL Bit
  • Page 103 – Writing to the FIFO; Figure 3–25. TSI FIFO Packing
  • Page 104 – Reading from the FIFO; Capture Line Boundary Conditions
  • Page 105 – Figure 3–28. Capture Line Boundary Example
  • Page 106 – ) Set the last pixel to be captured in VCxSTOP1 and VCxSTOP2 (set the
  • Page 107 – Set VCEN bit to enable capture.
  • Page 108 – Capturing Video in Raw Data Mode
  • Page 109 – Handling FIFO Overrun Condition in Raw Data Mode; Capturing Data in TSI Capture Mode; Enable error packet filtering (ERRFILT) if desired
  • Page 110 – needed to initiate an interrupt, based on STC absolute time.; Handling FIFO Overrun Condition in TSI Capture Mode
  • Page 111 – Video Capture Registers; Table 3–13. Video Capture Control Registers
  • Page 113 – Table 3–14. Video Capture Channel x Status Register (VCxSTAT); Description
  • Page 115 – Figure 3–30. Video Capture Channel A Control Register (VCACTL)
  • Page 116 – Table 3–15. Video Capture Channel A Control Register (VCACTL)
  • Page 126 – Field Descriptions
  • Page 127 – VCTHRLD1, certain restrictions are placed on what VCTHRLD1
  • Page 130 – Video Capture Channel B Control Register (VCBCTL); Figure 3–38. Video Capture Channel B Control Register (VCBCTL)
  • Page 131 – Table 3–23. Video Capture Channel B Control Register (VCBCTL)
  • Page 136 – TSI Clock Initialization LSB Register (TSICLKINITL); Figure 3–40. TSI Clock Initialization LSB Register (TSICLKINITL)
  • Page 137 – TSI Clock Initialization MSB Register (TSICLKINITM); Figure 3–41. TSI Clock Initialization MSB Register (TSICLKINITM)
  • Page 138 – TSI System Time Clock LSB Register (TSISTCLKL)
  • Page 139 – TSI System Time Clock MSB Register (TSISTCLKM)
  • Page 140 – TSI System Time Clock Compare LSB Register (TSISTCMPL); Figure 3–44. TSI System Time Clock Compare LSB Register (TSISTCMPL); Table 3–29. TSI System Time Clock Compare LSB Register (TSISTCMPL)
  • Page 141 – TSI System Time Clock Compare MSB Register (TSISTCMPM); Figure 3–45. TSI System Time Clock Compare MSB Register (TSISTCMPM); Table 3–30. TSI System Time Clock Compare MSB Register (TSISTCMPM)
  • Page 142 – TSI System Time Clock Compare Mask LSB Register (TSISTMSKL)
  • Page 143 – TSI System Time Clock Compare Mask MSB Register (TSISTMSKM)
  • Page 144 – TSI System Time Clock Ticks Interrupt Register (TSITICKS)
  • Page 145 – Video Capture FIFO Registers; Table 3–34. Video Capture FIFO Registers
  • Page 146 – Chapter 4
  • Page 147 – Video Display Mode Selection; Table 4–1. Video Display Mode Selection; DMODE Bits; Image Timing
  • Page 148 – Figure 4–1. NTSC Compatible Interlaced Display; Figure 4–2. SMPTE 296M Compatible Progressive Scan Display
  • Page 149 – Figure 4–3. Interlaced Blanking Intervals and Video Areas
  • Page 150 – Figure 4–4. Progressive Blanking Intervals and Video Area; Video Display Counters
  • Page 151 – Figure 4–5. Horizontal Blanking and Horizontal Sync Timing
  • Page 152 – Figure 4–6. Vertical Blanking, Sync and Even/Odd Frame Signal Timing; Sync Signal Generation
  • Page 153 – External Sync Operation; Figure 4–7. Video Display Module Synchronization Chain
  • Page 154 – BT.656 Video Display Mode; Display Timing Reference Codes
  • Page 155 – HBLNKSTART. The SAV code is inserted when; Line Number
  • Page 156 – Figure 4–11. Digital Vertical F and V Transitions; LIne Number
  • Page 157 – Blanking Codes
  • Page 158 – BT.656 FIFO Unpacking
  • Page 161 – Y/C Video Display Mode; Y/C Display Timing Reference Codes
  • Page 166 – Video Output Filtering; Output Filter Modes; The output filter has four modes of operation: no-filtering, 2; Table 4–3. Output Filter Mode Selection; VDCTL Bit
  • Page 167 – Figure 4–19. Chrominance Resampling
  • Page 168 – Figure 4–21. 2x Interspersed Scaling; Figure 4–22. Output Edge Pixel Replication
  • Page 169 – Examples of luma edge and chroma edge replication for 2; Figure 4–23. Luma Edge Replication
  • Page 170 – Ancillary Data Display
  • Page 171 – Raw Mode RGB Output Support; unpacking is selected (RGBX bit in; Raw Data FIFO Unpacking
  • Page 172 – Figure 4–27. 10-Bit Raw Dense FIFO Unpacking
  • Page 174 – mode, three samples are unpacked from the FIFO and the
  • Page 175 – Video Display Field and Frame Operation; Display Determination and Notification
  • Page 176 – Table 4–4. Display Operation
  • Page 177 – Video Display Event Generation
  • Page 178 – Display Line Boundary Conditions
  • Page 179 – Figure 4–32. Display Line Boundary Example
  • Page 180 – Display Timing Examples; Interlaced BT.656 Timing Example; This section shows an example of BT.656 display output for a 704
  • Page 181 – Figure 4–33. BT.656 Interlaced Display Horizontal Timing Example
  • Page 183 – Figure 4–34. BT.656 Interlaced Display Vertical Timing Example
  • Page 184 – Interlaced Raw Display Example; VDTHRLD
  • Page 185 – Figure 4–35. Raw Interlaced Display Horizontal Timing Example
  • Page 187 – Figure 4–36. Raw Interlaced Display Vertical Timing Example
  • Page 188 – Y/C Progressive Display Example; 16 progressive output image.
  • Page 189 – Figure 4–37. Y/C Progressive Display Horizontal Timing Example
  • Page 191 – Figure 4–38. Y/C Progressive Display Vertical Timing Example
  • Page 192 – ) Set the frame size in VDFRMSZ. Set the number of lines per frame
  • Page 194 – Displaying Video in Raw Data Mode
  • Page 195 – 4) Configure a DMA to move data from table in the DSP memory to YDSTA
  • Page 196 – Handling Underrun Condition of the Display FIFO
  • Page 197 – Video Display Registers; Table 4–5. Video Display Control Registers
  • Page 206 – Figure 4–42. Video Display Horizontal Blanking Register (VDHBLNK)
  • Page 214 – Figure 4–47. Video Display Field 1 Image Offset Register (VDIMGOFF1)
  • Page 215 – Video Display Field 1 Image Size Register (VDIMGSZ1); Figure 4–48. Video Display Field 1 Image Size Register (VDIMGSZ1)
  • Page 216 – Video Display Field 2 Image Offset Register (VDIMGOFF2); Figure 4–49. Video Display Field 2 Image Offset Register (VDIMGOFF2)
  • Page 217 – Table 4–16. Video Display Field 2 Image Offset Register (VDIMGOFF2)
  • Page 218 – Video Display Field 2 Image Size Register (VDIMGSZ2); Figure 4–50. Video Display Field 2 Image Size Register (VDIMGSZ2)
  • Page 219 – Video Display Field 1 Timing Register (VDFLDT1)
  • Page 220 – Video Display Field 2 Timing Register (VDFLDT2)
  • Page 221 – Video Display Threshold Register (VDTHRLD); the VDTHRLDn value rounded up to the next doubleword
  • Page 223 – Video Display Horizontal Synchronization Register (VDHSYNC)
  • Page 228 – Video Display Counter Reload Register (VDRELOAD); Figure 4–59. Video Display Counter Reload Register (VDRELOAD)
  • Page 229 – Video Display Display Event Register (VDDISPEVT); Figure 4–60. Video Display Display Event Register (VDDISPEVT)
  • Page 231 – Video Display Default Display Value Register (VDDEFVAL); and
  • Page 233 – Video Display Vertical Interrupt Register (VDVINT); Figure 4–64. Video Display Vertical Interrupt Register (VDVINT)
  • Page 234 – Video Display Field Bit Register (VDFBIT)
  • Page 235 – Video Display Field 1 Vertical Blanking Bit Register (VDVBIT1)
  • Page 237 – Video Display Field 2 Vertical Blanking Bit Register (VDVBIT2)
  • Page 239 – Video Display Registers Recommended Values; Table 4–34. Video Display Register Recommended Values; Register
  • Page 240 – Table 4–34. Video Display Register Recommended Values (Continued)
  • Page 241 – Video Display FIFO Registers; Table 4–35. Video Display FIFO Registers; Table 4–36. Video Display FIFO Registers Function
  • Page 242 – GPIO Registers; Chapter 5
  • Page 243 – Table 5–1. Video Port Registers
  • Page 244 – Video Port Peripheral Identification Register (VPPID); Figure 5–1. Video Port Peripheral Identification Register (VPPID)
  • Page 245 – Video Port Peripheral Control Register (PCR)
  • Page 252 – Video Port Pin Data Input Register (PDIN)
  • Page 254 – Video Port Pin Data Output Register (PDOUT); PDOUT has these aliases:
  • Page 258 – Video Port Pin Data Clear Register (PDCLR)
  • Page 260 – Video Port Pin Interrupt Enable Register (PIEN)
  • Page 262 – Figure 5–10. Video Port Pin Interrupt Polarity Register (PIPOL)
  • Page 264 – Figure 5–11. Video Port Pin Interrupt Status Register (PISTAT)
  • Page 266 – Figure 5–12. Video Port Pin Interrupt Clear Register (PICLR)
  • Page 268 – Chapter 6
  • Page 269 – The VIC port supports following features:; Figure 6–1. TSI System Block Diagram
  • Page 270 – Interface; Table 6–1. VIC Port Interface Signals; VIC Port Signal; Operational Details
  • Page 271 – kf; Equation 6–2. Relationship of Frequency Multiplier to Precision; Table 6–2 gives some k and R values for different; Table 6–2. Example Values for Interpolation Rate
  • Page 272 – Enabling VIC Port; Perform the following steps to enable the VIC port.; VIC Port Registers; Table 6–3. VIC Port Registers
  • Page 273 – Table 6–4. VIC Control Register (VICCTL) Field Descriptions
  • Page 276 – Divider; Table 6–6. VIC Clock Divider Register (VICDIV) Field Descriptions
  • Page 277 – Example 1: Noncontinuous Frame Capture for 525/60 Format; Appendix A
  • Page 297 – Index
Loading the manual

TMS320C64x DSP

Video Port/VCXO Interpolated Control (VIC) Port

Reference Guide

Literature Number: SPRU629

April 2003

"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.

Summary

Page 2 - IMPORTANT NOTICE

IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections,modifications, enhancements, improvements, and other changes to its products and services atany time and to discontinue any product or service without notice. Customers should obtain thela...

Page 3 - Preface; Read This First; About This Manual; TMS320C6000 CPU and Instruction Set Reference Guide (literature

iii Contents SPRU629 Preface Read This First About This Manual This document describes the video port and VCXO interpolated control (VIC) portin the digital signal processors (DSPs) of the TMS320C6000  DSP family. Notational Conventions This document uses the following conventions. - Hexadecimal nu...

Page 4 - application programming interface (API), which allows you to; Trademarks

Trademarks iv SPRU629 Code Composer Studio Application Programming Interface Reference Guide (literature number SPRU321) describes the Code ComposerStudio  application programming interface (API), which allows you to program custom plug-ins for Code Composer. TMS320C6x Peripheral Support Library Pr...

Other Texas Instruments Models

All Texas Instruments Other