Home
Texas Instruments
Computer Hardware
TMS320
Texas Instruments TMS320 User Manual
5
of 1
of 1 rating
288 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
Overvi
ew of Thread Sc
heduling
4-10
Figure 4-2.
Pre
emption Scenario
In Figu
re 4-2, the
low p
riority sof
tware inte
rrupt i
s asynch
ronousl
y preem
pted
by the hardware
interrupts. The first ISR posts a hig
her-priority
software
interrupt,
which is
executed af
ter both ha
rdware inte
rrupt rout
ines fini
sh
executing.
113
115
Table of Contents
Default Chapter
7
Table of Contents
7
About DSP/BIOS
17
Chapter 1
18
DSP/BIOS Features and Benefits
18
DSP/BIOS Components
20
DSP/BIOS Modules
21
Configuration Tool Module Tree
23
Naming Conventions
25
DSP/BIOS Standard Data Types
27
Memory Segment Names
28
Standard Memory Segments
29
For more Information
30
Program Generation
31
Chapter 2
32
Creating and Building a Ccsv4 Project for DSP/BIOS Applications
32
Converting Ccsv3.3 Projects to Ccsv4 Projects
40
Configuring DSP/BIOS Applications Statically
41
Methods of Referencing C6000 Global Objects
43
Creating DSP/BIOS Objects Dynamically
46
Files in a DSP/BIOS Application
48
Files Used to Create DSP/BIOS Programs
48
Files Not Included in Rtsbios
52
Using Makefiles to Build Applications
50
Using DSP/BIOS with the Run-Time Support Library
52
Stack Modes on the C5500 Platform
57
DSP/BIOS Startup Sequence
54
Using C++ with DSP/BIOS
58
User Functions Called by DSP/BIOS
61
Calling DSP/BIOS Apis from Main
62
Instrumentation
63
Chapter 3
64
An Overview of Real-Time Analysis
64
Real-Time Analysis Tools in Ccstudio V4.X
65
Runtime Object Viewer (ROV)
72
Instrumentation Performance
77
Examples of Code-Size Increases Due to an Instrumented Kernel
78
Instrumentation Apis
80
LOG Buffer Sequence
82
Target/Host Variable Accumulation
84
Current Value Deltas from Base Value
87
TRC Constants
89
Implicit DSP/BIOS Instrumentation
91
Monitoring Stack Pointers (C5000 Platform)
94
Monitoring Stack Pointers (C6000 Platform)
94
Calculating Used Stack Depth
96
Variables that Can be Monitored with HWI
97
STS Operations and Their Results
98
Instrumentation for Field Testing
100
Real-Time Data Exchange
100
RTDX Data Flow between Host and Target
101
Thread Scheduling
105
Overview of Thread Scheduling
106
Comparison of Thread Characteristics
109
Thread Priorities
111
Thread Preemption
113
Preemption Scenario
114
Hardware Interrupts
115
The Interrupt Sequence in Debug Halt State
119
The Interrupt Sequence in the Run-Time State
121
Software Interrupts
129
Software Interrupt Manager
131
SWI Properties Dialog Box
132
SWI Object Function Differences
135
Using Swi_Inc to Post an SWI
136
Using Swi_Andn to Post an SWI
137
Using Swi_Or to Post an SWI
138
Using Swi_Dec to Post an SWI
139
CPU Registers Saved During Software Interrupt
140
Tasks
143
Execution Mode Variations
146
The Idle Loop
153
Power Management
155
Power Event Notification
161
Semaphores
163
Mailboxes
169
Timers, Interrupts, and the System Clock
175
Interactions between Two Timing Methods
175
Periodic Function Manager (PRD) and the System Clock
180
Memory and Low-Level Functions
183
This Chapter Describes the Low-Level Functions Found in the DSP/BIOS Real- Time Multitasking Kernel. These Functions Are Embodied in the Following Software Modules
183
Allocating Memory Segments of Different Sizes
190
Memory Allocation Trace
193
System Services
194
Queues
197
Input/Output Stream
204
Chapter 6
204
I/O Overview
204
Input/Output Methods
205
Comparing Pipes and Streams
205
Comparing Driver Models
207
Data Pipe Manager (PIP Module)
210
The Two Ends of a Pipe
210
Message Queues
217
Writers and Reader of a Message Queue
217
Components of the MSGQ Architecture
218
MSGQ Function Calling Sequence
219
Transports in a Multi-Processor Example
223
Remote Transport
224
Events on Sending Message to Remote Processor
226
Host Channel Manager (HST Module)
229
I/O Performance Issues
230
Streaming I/O and Device Drivers
231
This Chapter Describes Issues Relating to Writing and Using Device Drivers that Use the Dev_Fxns
231
Chapter 7
232
Overview of Streaming I/O and Device Drivers
232
Device-Independent I/O in DSP/BIOS
232
Generic I/O to Internal Driver Operations
233
Device, Driver, and Stream Relationship
234
Creating and Deleting Streams
235
Stream I/O-Reading and Writing Streams
237
Stackable Devices
246
The Flow of Empty and Full Frames
247
Stackable Devices
247
Controlling Streams
252
Selecting Among Multiple Streams
253
Streaming Data to Multiple Clients
255
Streaming Data between Target and Host
257
Device Driver Template
258
Streaming DEV Structures
260
Device Driver Initialization
263
Opening Devices
264
Flow of DEV_STANDARD Streaming Model
268
Real-Time I/O
268
Placing a Data Buffer to a Stream
269
Retrieving Buffers from a Stream
269
Closing Devices
271
Device Control
273
Device Ready
273
Types of Devices
276
Stacking and Terminating Devices
276
Buffer Flow in a Terminating Device
277
In-Place Stacking Driver
277
Copying Stacking Driver Flow
278
Other manuals for Texas Instruments TMS320
User Manual
70 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 TMS320 and is the answer not in the manual?
Ask a question
Texas Instruments TMS320 Specifications
General
Brand
Texas Instruments
Model
TMS320
Category
Computer Hardware
Language
English
Related product manuals
Texas Instruments TMS320C67X
465 pages
TMS320*2801 Series
94 pages
Texas Instruments TMS34010
128 pages
Texas Instruments TRIS TMS37122
73 pages
TMS320 2833 Series
868 pages
Texas Instruments C28 Series
76 pages
Texas Instruments AM335 Series
6 pages
Texas Instruments MSPM0
14 pages
Texas Instruments bq27220
20 pages
Texas Instruments BQ28Z610-R2
133 pages
Texas Instruments AM64 Series
62 pages
TMS320x2833 series
152 pages