在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3639|回复: 15

JOHN WILEY 的 DSP Applications Using C and the TMS320C6x DSK

[复制链接]
发表于 2008-7-23 14:37:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
DSP Applications Using C and the TMS320C6x DSK

By Rulph Chassaing

JOHN WILEY & SONS, 2002

Contents
Preface xi
List of Examples xv
Programs/Files on Accompanying Disk xix
1 DSP Development System 1
1.1 Introduction 1
1.2 DSK Support Tools 2
1.2.1 DSK Board 4
1.2.2 TMS320C6711 Digital Signal Processor 4
1.3 Code Composer Studio 5
1.3.1 CCS Installation and Support 5
1.3.2 Useful Types of Files 6
1.4 Programming Examples to Test the DSK Tools 7
1.4.1 Quick Test of DSK 7
1.4.2 Support Files 8
1.4.3 Examples 8
1.5 Support Programs/Files Considerations 24
1.5.1 Initialization/Communication File 24
1.5.2 Vector File 26
1.5.3 Linker File 26
1.6 Compiler/Assembler/Linker Shell 26
1.6.1 Compiler 28
1.6.2 Assembler 29
1.6.3 Linker 29
References 30
v
2 Input and Output with the DSK 33
2.1 Introduction 33
2.2 TLC320AD535 (AD535) Onboard Codec for Input and Output 34
2.3 PCM3003 Stereo Codec for Input and Output 35
2.4 Programming Examples Using C Code 37
References 60
3 Architecture and Instruction Set of the C6x Processor 61
3.1 Introduction 61
3.2 TMS320C6x Architecture 63
3.3 Functional Units 65
3.4 Fetch and Execute Packets 66
3.5 Pipelining 67
3.6 Registers 68
3.7 Linear and Circular Addressing Modes 69
3.7.1 Indirect Addressing 69
3.7.2 Circular Addressing 70
3.8 TMS320C6x Instruction Set 71
3.8.1 Assembly Code Format 71
3.8.2 Types of Instructions 72
3.9 Assembler Directives 74
3.10 Linear Assembly 74
3.11 ASM Statement within C 76
3.12 C-Callable Assembly Function 76
3.13 Timers 76
3.14 Interrupts 77
3.14.1 Interrupt Control Registers 77
3.14.2 Selection of XINT0 79
3.14.3 Interrupt Acknowledgment 80
3.15 Multichannel Buffered Serial Ports 80
3.16 Direct Memory Access 81
3.17 Memory Considerations 82
3.17.1 Data Allocation 82
3.17.2 Data Alignment 82
3.17.3 Pragma Directives 83
3.17.4 Memory Models 83
3.18 Fixed- and Floating-Point Format 83
3.18.1 Data Types 83
3.18.2 Floating-Point Format 84
3.18.3 Division 85
vi Contents
3.19 Code Improvement 85
3.19.1 Intrinsics 85
3.19.2 Trip Directive for Loop Count 86
3.19.3 Cross-Paths 86
3.19.4 Software Pipelining 86
3.20 Constraints 87
3.20.1 Memory Constraints 87
3.20.2 Cross-Paths Constraints 87
3.20.3 Load/Store Constraints 88
3.20.4 Pipelining Effects with More Than One EP
within an FP 88
3.21 TMS320C64x Processor 89
3.22 Programming Examples Using C, Assembly, and Linear
Assembly 90
References 100
4 Finite Impulse Response Filters 102
4.1 Introduction to the z-Transform 102
4.1.1 Mapping from s-Plane to z-Plane 105
4.1.2 Difference Equations 106
4.2 Discrete Signals 107
4.3 Finite Impulse Response Filters 108
4.4 FIR Implementation Using Fourier Series 110
4.5 Window Functions 114
4.5.1 Hamming Window 115
4.5.2 Hanning Window 115
4.5.3 Blackman Window 115
4.5.4 Kaiser Window 116
4.5.5 Computer-Aided Approximation 116
4.6 Programming Examples Using C and ASM Code 116
References 155
5 Infinite Impulse Response Filters 159
5.1 Introduction 159
5.2 IIR Filter Structures 160
5.2.1 Direct Form I Structure 160
5.2.2 Direct Form II Structure 161
5.2.3 Direct Form II Transpose 163
5.2.4 Cascade Structure 164
Contents vii
5.2.5 Parallel Form Structure 165
5.3 Bilinear Transformation 167
5.3.1 Bilinear Transformation Design Procedure 168
5.4 Programming Examples Using C Code 169
References 181
6 Fast Fourier Transform 182
6.1 Introduction 182
6.2 Development of the FFT Algorithm with Radix-2 183
6.3 Decimation-in-Frequency FFT Algorithm with Radix-2 184
6.4 Decimation-in-Time FFT Algorithm with Radix-2 191
6.5 Bit Reversal for Unscrambling 195
6.6 Development of the FFT Algorithm with Radix-4 195
6.7 Inverse Fast Fourier Transform 198
6.8 Programming Examples 199
6.8.1 Fast Convolution 206
References 214
7 Adaptive Filters 216
7.1 Introduction 216
7.2 Adaptive Structures 218
7.3 Programming Examples for Noise Cancellation and System
Identification 221
References 237
8 Code Optimization 239
8.1 Introduction 239
8.2 Optimization Steps 240
8.2.1 Compiler Options 240
8.2.2 Intrinsic C Functions 241
8.3 Procedure for Code Optimization 241
8.4 Programming Examples Using Code Optimization Techniques 241
8.5 Software Pipelining for Code Optimization 248
8.5.1 Procedure for Hand-Coded Software Pipelining 249
8.5.2 Dependency Graph 249
8.5.3 Scheduling Table 251
8.6 Execution Cycles for Different Optimization Schemes 258
References 259
viii Contents
9 DSP Applications and Student Projects 260
9.1 Voice Scrambler Using DMA and User Switches 260
9.2 Phase-Locked Loop 261
9.2.1 RTDX for Real-Time Data Transfer 263
9.3 SB-ADPCM Encoder/Decoder: Implementation of
G.722 Audio Coding 263
9.4 Adaptive Temporal Attenuator 264
9.5 Image Processing 265
9.6 Filter Design and Implementation Using a Modified
Prony’s Method 266
9.7 FSK Modem 266
9.8 m-Law for Speech Companding 267
9.9 Voice Detection and Reverse Playback 268
9.10 Miscellaneous Projects 268
9.10.1 Acoustic Direction Tracker 268
9.10.2 Multirate Filter 269
9.10.3 Neural Network for Signal Recognition 270
9.10.4 PID Controller 270
9.10.5 Four-Channel Multiplexer for Fast Data Acquisition 270
9.10.6 Video Line Rate Analysis 270
References 272
Appendix A TMS320C6x Instruction Set 276
A.1 Instructions for Fixed- and Floating-Point Operations 276
A.2 Instructions for Floating-Point Operations 276
References 276
Appendix B Registers for Circular Addressing and Interrupts 278
Reference 278
Appendix C Fixed-Point Considerations 281
C.1 Binary and Two’s-Complement Representation 281
C.2 Fractional Fixed-Point Representation 284
C.3 Multiplication 285
Reference 287
Appendix D Matlab Support Tools 288
D.1 MATLAB GUI Filter Designer SPTOOL for FIR Filter Design 288
D.2 MATLAB GUI Filter Designer SPTOOL for IIR Filter Design 290
Contents ix

DSP Applications Using C and the TMS320C6x DSK.rar

3.64 MB, 下载次数: 79 , 下载积分: 资产 -2 信元, 下载支出 2 信元

发表于 2008-7-24 07:36:06 | 显示全部楼层
thank you
发表于 2008-7-24 11:03:45 | 显示全部楼层
Thanks!
发表于 2008-8-6 10:15:03 | 显示全部楼层
thank you very much
发表于 2008-10-25 14:38:38 | 显示全部楼层
好书一定要顶。
发表于 2008-10-29 14:00:13 | 显示全部楼层
顶上去,免得好书被沉默了
发表于 2009-1-5 11:41:09 | 显示全部楼层
ding!
发表于 2009-1-9 21:46:17 | 显示全部楼层
顶一下
发表于 2009-4-7 20:58:21 | 显示全部楼层
好书来推荐一下
发表于 2009-5-1 15:38:02 | 显示全部楼层
谢谢分享!下载看看
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

小黑屋| 手机版| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-7-17 00:00 , Processed in 0.027509 second(s), 11 queries , Gzip On, MemCached On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表