Texas Instruments
TMS320 DSP
manual
Users Guide, Rules and Guidelines
Module Configuration
Page 1
TMS320 DSP Algorithm Standard
Rules and Guidelines
User's Guide
Literature Number: SPRU352G
June 2005
–Revised
February 2007
Page 1
Page 2
Image 1
Page 1
Page 2
Contents
Rules and Guidelines
Users Guide
Submit Documentation Feedback
Contents
Use of the DMA Resource
Urls
List of Figures
Intended Audience
Read This First
Document Overview
Text Conventions
Related Documentation
Rule n
Guideline n
Overview
Rules for TMS320C5x Rules for TMS320C6x
Scope of the Standard
Requirements of the Standard
Rules and Guidelines
Intentional Omissions
Goals of the Standard
Frameworks
System Architecture
Core Run-Time Support
Algorithms
General Programming Guidelines
Threads and Reentrancy
Use of C Language
Threads
Rule
Reentrancy
Preemptive vs. Non-Preemptive Multitasking
Example
Data Memory
Data Memory
Scratch versus Persistent
Memory Spaces
Scratch vs Persistent Memory Allocation
Guideline
Algorithm versus Application
ROM-ability
Program Memory
Section Name Purpose
Use of Peripherals
Use of Peripherals
Interfaces and Modules Algorithms Packaging
Algorithm Component Model
Implementation Fir.h
Interfaces and Modules
External Identifiers
Module Initialization and Finalization
Naming Conventions
Module Instance Objects
Run-Time Object Creation and Deletion
Design-Time Object Creation
Example Module
Module Configuration
Multiple Interface Support
Summary
Interface Inheritance
Element
Description Required
Algorithms
Algorithms
Object Code
Packaging
Debug Verses Release
Header Files
Moduleversvendorvariant.1arch
Data Memory Program Memory Interrupt Latency Execution Time
Algorithm Performance Characterization
External
Heap Memory
Size
Static Local and Global Data Memory
Stack Memory
Data Bss Object files Size
Execution Time
Interrupt Latency
Mips Is Not Enough
Operation
Execution Timeline for Two Periodic Tasks
Execution Time Model
198000
Process
59000 198000
Submit Documentation Feedback
DSP-Specific Guidelines
Register Types
CPU Register Types
TMS320C6xxx Rules and Guidelines
Use of Floating Point
Endian Byte Ordering
Data Models
Status Register
Register Conventions
Register Use Type
CSR Field Use Type
TMS320C54xx Rules and Guidelines
Interrupt Latency
Program Models
TMS320C54xx Rules and Guidelines
ST0 Field Name Use Type
Status Registers
ST1 Field Name Use Type
Stack Architecture
TMS320C55x Rules and Guidelines
Pmst Field Name Use Type
Example
Relocatability
SSP
ST2 Field Name Use Type
Status Bits
ST3 Field Name Use Type
Homy
General
TMS320C24xx Guidelines
TMS320C28x Rules and Guidelines
TMS320C28x Rules and Guidelines
XAR0
M0M1MAP
Submitting DMA Transfer Requests
Use of the DMA Resource
Algorithm and Framework
Overview
Logical Channel
Requirements for the Use of the DMA Resource
Data Transfer Synchronization
Data Transfer Properties
DMA Guideline
Abstract Interface
DMA Rule
Data Transfers bytes Frequency
Resource Characterization
Average Maximum
Strong Ordering of DMA Transfer Requests
Runtime APIs
Device Independent DMA Optimization Guideline
Submitting DMA Transfer Requests
13 C6xxx Specific DMA Rules and Guidelines
Cache Coherency Issues for Algorithm Producers
14 C55x Specific DMA Rules and Guidelines
Supporting Packed/Burst Mode DMA Transfers
Addressing Automatic Endianism Conversion Issues
Minimizing Logical Channel Reconfiguration Overhead
Inter-Algorithm Synchronization
Non-Preemptive System
Preemptive System
Algorithm B Algorithm a
Inter-Algorithm Synchronization
Appendix a
General Rules
DMA Rules
Performance Characterization Rules
General Guidelines
DMA Guidelines
Submit Documentation Feedback
Core Run-Time APIs
DSP/BIOS Run-time Support Library
TI C-Language Run-Time Support Library
DSP/BIOS Run-time Support Library
Books
Bibliography
Submit Documentation Feedback
Glossary of Terms
Glossary
Glossary of Terms
Glossary of Terms
Important Notice
Related pages
Electronic Circuit Diagram for Panasonic CU-2S18NBU-1
Exception Parts List for Harman Stove Company TL200
Top
Page
Image
Contents