Texas Instruments TMS320 DSP manual Use of the DMA Resource

Page 4

4

Algorithm Performance Characterization

37

 

4.1

Data Memory

38

 

 

4.1.1

Heap Memory

38

 

 

4.1.2

Stack Memory

39

 

 

4.1.3 Static Local and Global Data Memory

39

 

4.2

Program Memory

40

 

4.3

Interrupt Latency

41

 

4.4

Execution Time

41

 

 

4.4.1 MIPS Is Not Enough

41

 

 

4.4.2

Execution Time Model

42

5

DSP-Specific Guidelines

45

 

5.1

CPU Register Types

46

 

5.2

Use of Floating Point

47

 

5.3

TMS320C6xxx Rules and Guidelines

47

 

 

5.3.1

Endian Byte Ordering

47

 

 

5.3.2

Data Models

47

 

 

5.3.3

Program Model

47

 

 

5.3.4

Register Conventions

48

 

 

5.3.5

Status Register

48

 

 

5.3.6

Interrupt Latency

49

 

5.4

TMS320C54xx Rules and Guidelines

49

 

 

5.4.1

Data Models

49

 

 

5.4.2

Program Models

49

 

 

5.4.3

Register Conventions

51

 

 

5.4.4

Status Registers

51

 

 

5.4.5

Interrupt Latency

52

 

5.5

TMS320C55x Rules and Guidelines

52

 

 

5.5.1

Stack Architecture

52

 

 

5.5.2

Data Models

52

 

 

5.5.3

Program Models

53

 

 

5.5.4

Relocatability

53

 

 

5.5.5

Register Conventions

54

 

 

5.5.6

Status Bits

55

 

5.6

TMS320C24xx Guidelines

57

 

 

5.6.1

General

57

 

 

5.6.2

Data Models

57

 

 

5.6.3

Program Models

57

 

 

5.6.4

Register Conventions

57

 

 

5.6.5

Status Registers

58

 

 

5.6.6

Interrupt Latency

58

 

5.7

TMS320C28x Rules and Guidelines

58

 

 

5.7.1

Data Models

58

 

 

5.7.2

Program Models

59

 

 

5.7.3

Register Conventions

59

 

 

5.7.4

Status Registers

59

 

 

5.7.5

Interrupt Latency

60

 

6

Use of the DMA Resource

.......................................................................................... 61

 

 

6.1

Overview

62

4

Contents

 

SPRU352G –June 2005 –Revised February 2007

Image 4
Contents Users Guide Rules and GuidelinesSubmit Documentation Feedback Contents Use of the DMA Resource Urls List of Figures Intended Audience Read This FirstDocument Overview Related Documentation Text ConventionsRule n Guideline nOverview Scope of the Standard Rules for TMS320C5x Rules for TMS320C6xRules and Guidelines Requirements of the StandardGoals of the Standard Intentional OmissionsSystem Architecture FrameworksAlgorithms Core Run-Time SupportGeneral Programming Guidelines Use of C Language Threads and ReentrancyThreads RulePreemptive vs. Non-Preemptive Multitasking ReentrancyExample Data Memory Data MemoryMemory Spaces Scratch versus PersistentScratch vs Persistent Memory Allocation Algorithm versus Application GuidelineROM-ability Program MemorySection Name Purpose Use of Peripherals Use of PeripheralsAlgorithm Component Model Interfaces and Modules Algorithms PackagingInterfaces and Modules Implementation Fir.hExternal Identifiers Module Initialization and Finalization Naming ConventionsModule Instance Objects Design-Time Object Creation Run-Time Object Creation and DeletionModule Configuration Example ModuleMultiple Interface Support Interface Inheritance SummaryElement Description RequiredAlgorithms AlgorithmsPackaging Object CodeHeader Files Debug Verses ReleaseModuleversvendorvariant.1arch Algorithm Performance Characterization Data Memory Program Memory Interrupt Latency Execution TimeExternal Heap MemorySize Stack Memory Static Local and Global Data MemoryData Bss Object files Size Interrupt Latency Execution TimeMips Is Not Enough OperationExecution Time Model Execution Timeline for Two Periodic Tasks198000 Process59000 198000 Submit Documentation Feedback DSP-Specific Guidelines CPU Register Types Register TypesUse of Floating Point TMS320C6xxx Rules and GuidelinesEndian Byte Ordering Data ModelsRegister Conventions Status RegisterRegister Use Type CSR Field Use TypeTMS320C54xx Rules and Guidelines Interrupt LatencyProgram Models TMS320C54xx Rules and Guidelines ST0 Field Name Use Type Status RegistersST1 Field Name Use Type Stack Architecture TMS320C55x Rules and GuidelinesPmst Field Name Use Type Relocatability ExampleSSP ST2 Field Name Use Type Status BitsST3 Field Name Use Type Homy TMS320C24xx Guidelines GeneralTMS320C28x Rules and Guidelines TMS320C28x Rules and GuidelinesXAR0 M0M1MAP Use of the DMA Resource Submitting DMA Transfer RequestsOverview Algorithm and FrameworkRequirements for the Use of the DMA Resource Logical ChannelData Transfer Properties Data Transfer SynchronizationDMA Guideline Abstract InterfaceDMA Rule Data Transfers bytes Frequency Resource CharacterizationAverage Maximum Runtime APIs Strong Ordering of DMA Transfer RequestsSubmitting DMA Transfer Requests Device Independent DMA Optimization GuidelineCache Coherency Issues for Algorithm Producers 13 C6xxx Specific DMA Rules and GuidelinesSupporting Packed/Burst Mode DMA Transfers 14 C55x Specific DMA Rules and GuidelinesMinimizing Logical Channel Reconfiguration Overhead Addressing Automatic Endianism Conversion IssuesInter-Algorithm Synchronization Non-Preemptive SystemPreemptive System Algorithm B Algorithm a Inter-Algorithm Synchronization Appendix a General Rules Performance Characterization Rules DMA RulesGeneral Guidelines DMA Guidelines Submit Documentation Feedback DSP/BIOS Run-time Support Library Core Run-Time APIsDSP/BIOS Run-time Support Library TI C-Language Run-Time Support LibraryBibliography BooksSubmit Documentation Feedback Glossary Glossary of TermsGlossary of Terms Glossary of Terms Important Notice