Home
Texas Instruments
Computer Hardware
C28 Series
Texas Instruments C28 Series Student Guide
5
of 1
of 1 rating
342 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
Traditional and Structure Approach to C Codi
ng
The CCS Watch Window using Structures
The CCS Watch Window using Structures
The CCS Watch Window using #define
The CCS Watch Window using #define
3 - 4
C28
x - Peripheral Registers Heade
r Files
51
53
Table of Contents
Section 1
6
Important Notice
2
Revision History
2
Architecture Overview
4
Table of Contents
6
Module Topics
6
What Is the Tms320C28X
7
C28X CPU
8
Multiplier, ALU, and Shifters
9
Tms320C28X Internal Bussing
10
Special Instructions
11
Pipeline Advantage
12
Memory
13
Memory Map
13
Code Security Module (CSM)
14
Peripherals
14
Fast Interrupt Response
15
C28 Mode
16
Reset
17
Summary
18
Section 2
20
Module Topics
20
Code Composer Studio
21
Software Development and COFF Concepts
21
Programming Development Environment
21
Projects
23
Build Options
24
Creating a Linker Command File
27
Sections
27
Linker Command Files (.CMD)
30
Memory-Map Description
30
Section Placement
32
Exercise 2A
33
Summary: Linker Command File
34
Lab 2A: Linker Command File
35
DSP/BIOS Configuration Tool
39
Lab 2B: DSP/BIOS Configuration Tool
44
Solutions
48
Section 3
50
Module Topics
50
Traditional and Structure Approach to C Coding
51
Naming Conventions
54
Example of Peripheral Structure .H File
55
Mapping Structures to Memory
56
Linker Command File
56
F281X C-Code Header Files
57
Definition Files
58
Global Variable Definition File
59
Peripheral Specific Routines
60
Example Usage Flow
61
Summary
63
Section 4
66
Module Topics
66
Core Interrupt Lines
67
Reset
67
Reset - Bootloader
69
Interrupt Sources
71
Interrupt Processing
71
Peripheral Interrupt Expansion (PIE)
73
PIE Interrupt Vector Table
74
Interrupt Response and Latency
77
System Initialization
79
Section 5
80
Module Topics
80
Oscillator/Pll Clock Module
81
Watchdog Timer
83
Low Power Modes
87
General-Purpose Digital I/O
89
EALLOW Protected Registers
92
Lab 5: System Initialization
93
Section 6
98
Module Topics
98
Analog-To-Digital Converter
99
Analog-To-Digital Converter
100
Analog-To-Digital Converter Registers
101
Example - Sequencer "Start/Stop" Operation
106
ADC Conversion Result Buffer Register
107
Numerical Format
108
Lab 6: Analog-To-Digital Converter
109
Section 7
116
Event Manager
117
PWM Review
118
GP Timer Modes of Operation
124
GP Timer Registers
126
Asymmetric and Symmetric PWM Via General Purpose Timer Compares
130
GP Timer Compare PWM Exercise
131
Compare Unit Registers
133
Hardware Dead-Band (Compare Units Only)
136
Power Drive Protection
139
Capture Units
141
Quadrature Encoder Pulse (QEP)
146
QEP Initialization with GP Timer 2 (EVA)
148
Lab 7: Event Manager
150
GP Timer Compare PWM Exercise Solution
156
Section 8
158
Numbering System Basics
159
Two's Complement Numbers
159
Sign Extension Mode
161
Binary Multiplication
162
Binary Fractions
164
Multiplying Binary Fractions
165
Fraction Coding
167
Fractional Vs. Integer Representation
168
Iqmath
169
Floating-Point Representation
170
IQ Fractional Representation
171
Traditional "Q" Math Approach
173
Iqmath Approach
177
Iqmath Library
180
AC Induction Motor Example
182
Iqmath Appications and Summary
189
Converting ADC Results into IQ Format
191
Lab 8: Iqmath FIR Filter
192
Section 9
198
Introduction to DSP/BIOS
199
Scheduling DSP/BIOS Threads
201
Periodic Functions
208
Real-Time Analysis Tools
209
DSP/BIOS API Module and Summary
210
Section 10
220
External Interface (XINTF)
225
Flash Configuration and Memory Performance
228
Flash Programming
231
Code Security Module (CSM)
233
Lab 10: Programming the Flash
237
Section 11
246
Communications
247
Communications Techniques
247
Serial Peripheral Interface (SPI)
248
Spi Block Diagram
249
SPI Registers
251
Serial Communications Interface (SCI)
255
Multiprocessor Wake-Up Modes
258
Multi-Channel Buffered Serial Port (Mcbsp)
261
Enhanced Controller Area Network (Ecan)
264
CAN Bus and Node
265
Principles of Operation
266
Message Format and Block Diagram
267
Development Support
269
Section 12
274
Appendix Ezdsp F2812
275
P2 - Expansion Interface
276
P4 / P8 / P7 - I/O Interface
277
P5 / P9 - Analog Interface
279
Ezdsp™ F2812 Jumper Diagram
280
JP1 - Xmp/Mcn Select
280
JP2 - Flash Programming Voltage Select
280
DS1 / DS2 - Leds
281
JP7 / JP8 / JP11 / JP12 - Boot Mode Select
281
JP9 - PLL Disable
281
TP1 / TP2 - Test Points
282
Addressing Modes
286
Instruction Formats
287
Register Addressing
288
Immediate Addressing
289
Direct Addressing
290
Indirect Addressing
292
Section 13
302
Program Control
303
Branches
303
Program Control Instructions
304
ALU and Accumulator Operations
306
Simple Math & Shift
307
Multiplier
309
Basic Multiplier
310
Repeat Instruction
311
MAC Instruction
312
Data Move
313
Logical Operations
315
Byte Operations and Addressing
315
Test and Change Memory Instructions
316
Read Modify Write Operations
318
Lab C: Assembly Programming
320
OPTIONAL Lab C-C: Sum-Of-Products in C
322
Linking Boot Code from Rts2800.Lib
325
Set up the Stack
326
Accessing Interrupts / Status Register
328
Using Embedded Assembly
329
Using Pragma
330
Optimization Levels
331
Volatile Usage
333
Compiler Advanced Options
334
Optimization Tips Summary
335
Lab D: C Optimization
336
Other manuals for Texas Instruments C28 Series
User Guide
76 pages
5
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Texas Instruments C28 Series and is the answer not in the manual?
Ask a question
Texas Instruments C28 Series Specifications
General
Brand
Texas Instruments
Model
C28 Series
Category
Computer Hardware
Language
English
Related product manuals
Texas Instruments TMS320
288 pages
Texas Instruments TMS320C67X
465 pages
Texas Instruments TMS34010
128 pages
TMS320*2801 Series
94 pages
Texas Instruments AM335 Series
6 pages
Texas Instruments TRIS TMS37122
73 pages
Texas Instruments MSPM0
14 pages
Texas Instruments bq27220
20 pages
Texas Instruments BQ28Z610-R2
133 pages
Texas Instruments AM64 Series
62 pages