Digital Signal Processor 2010/1/4

Similar documents
2008/12/23. System Arch 2008 (Fire Tom Wada) 1

Classification of Semiconductor LSI

Chapter 7. Hardware Implementation Tools

TI TMS320C6000 DSP Online Seminar

TMS320C6000 : The Broadband Infrastructure and Imaging DSP World s Highest Performance DSP

REAL TIME DIGITAL SIGNAL PROCESSING

PRODUCT PREVIEW TNETV1050 IP PHONE PROCESSOR. description

DSP Solutions For High Quality Video Systems. Todd Hiers Texas Instruments

REAL TIME DIGITAL SIGNAL PROCESSING

Graduate Institute of Electronics Engineering, NTU 9/16/2004

D Demonstration of disturbance recording functions for PQ monitoring

Rapid Prototyping System for Teaching Real-Time Digital Signal Processing

Exercise 4-1. DSP Peripherals EXERCISE OBJECTIVES

MICROPROCESSOR SYSTEM FOR VISUAL BAKED PRODUCTS CONTROL

Platform-based Design

Developing and Integrating FPGA Co-processors with the Tic6x Family of DSP Processors

1 The Attractions of Soft Modems

Digital Signal Processors: fundamentals & system design. Lecture 1. Maria Elena Angoletta CERN

TI s PCI2040 PCI-to-DSP Bridge

An introduction to DSP s. Examples of DSP applications Why a DSP? Characteristics of a DSP Architectures

ELEG 5173L Digital Signal Processing Introduction to TMS320C6713 DSK

REAL TIME DIGITAL SIGNAL PROCESSING

Embedded Target for TI C6000 DSP 2.0 Release Notes

HotChips An innovative HD video and digital image processor for low-cost digital entertainment products. Deepu Talla.

Basic computer principles

Embedded Computation

Intelop. *As new IP blocks become available, please contact the factory for the latest updated info.

Offering compact implementation of sophisticated, high-performance telematics products and industrial equipment, and short development times

Application Report. 1 Hardware Description. John Fahrenbruch... MSP430 Applications

Course Introduction. Purpose: Objectives: Content: Learning Time:

Performance Analysis of Line Echo Cancellation Implementation Using TMS320C6201

University Program Advance Material

KeyStone C665x Multicore SoC

Real-Time DSP for Educators

DSP. Presented to the IEEE Central Texas Consultants Network by Sergio Liberman

ECE4703 Real-Time DSP Orientation Lab

The PCMCIA DSP Card: An All-in-One Communications System

Cyclone II FFT Co-Processor Reference Design

General Purpose Signal Processors

SMT943 APPLICATION NOTE 1 APPLICATION NOTE 1. Application Note - SMT372T and SMT943.doc SMT943 SUNDANCE MULTIPROCESSOR TECHNOLOGY LTD.

STM32 Journal. In this Issue:

Introducing Audio Signal Processing & Audio Coding. Dr Michael Mason Senior Manager, CE Technology Dolby Australia Pty Ltd

Lecture 1 Introduction to Microprocessors

Chapter II HARDWARE AND SOFTWARE DETAILS

Lab 1 Introduction to TI s TMS320C6713 DSK Digital Signal Processing Board

CONTACT: ,

FFT Co-Processor Reference Design

Multi-function DSP Experimental System Based on TMS320VC5509 Qiu-feng SHANG and Wei LIU

Taking Advantage of Using the dmax DMA Engine in Conjunction with the McASP Peripheral on the TMS320C67x DSP

Age nda. Intel PXA27x Processor Family: An Applications Processor for Phone and PDA applications

The World Leader in High-Performance Signal Processing Solutions. February, 2008

LOW-COST SIMD. Considerations For Selecting a DSP Processor Why Buy The ADSP-21161?

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

ECE 471 Embedded Systems Lecture 2

Implementing FFT in an FPGA Co-Processor

Introducing Audio Signal Processing & Audio Coding. Dr Michael Mason Snr Staff Eng., Team Lead (Applied Research) Dolby Australia Pty Ltd

systems such as Linux (real time application interface Linux included). The unified 32-

Choosing a Micro for an Embedded System Application

TMS320C64x DSP Peripheral Component Interconnect (PCI) Performance

A DSP/BIOS AIC23 Codec Device Driver for the TMS320C5510 DSK

Modern Computer Architecture. Lecture 12 embedded Applications, classical DSP, automotive (Tricore)

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

TMS320C62x, TMS320C67x DSP Cache Performance on Vocoder Benchmarks

CORRIGENDUM ISSUED FOR NATIONAL COMPETITIVE BIDDING UNDER TEQIP PHASE-II

Typical DSP application

Tutorial Introduction

High Performance Compute Platform Based on multi-core DSP for Seismic Modeling and Imaging

Chapter 1 Introduction

A DSP/BIOS AIC23 Codec Device Driver for the TMS320C6416 DSK

Proven 8051 Microcontroller Technology, Brilliantly Updated

KeyStone C66x Multicore SoC Overview. Dec, 2011

TMS320C55x DSP Peripherals Overview Reference Guide. Preliminary Draft

ECE 471 Embedded Systems Lecture 2

The S6000 Family of Processors

Field Programmable Microcomputers and Their Applications

Digital Systems Design. System on a Programmable Chip

Learning Module 9. Managing the Sensor: Embedded Computing. Paul Flikkema. Department of Electrical Engineering Northern Arizona University

Embedded Processing Portfolio for Ultrasound

A11L: 78K0R Low Power MCU

Embedded Systems Dr. Santanu Chaudhury Department of Electrical Engineering Indian Institute of Technology, Delhi. Lecture - 10 System on Chip (SOC)

STM32F3. Cuauhtémoc Carbajal ITESM CEM 12/08/2013

How to validate your FPGA design using realworld

STM8L and STM32 L1 series. Ultra-low-power platform

Basic Components of Digital Computer

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015

Higher data throughput for DSP analog-to-digital converters

Audio Controller i. Audio Controller

Conclusions. Introduction. Objectives. Module Topics

Processor Applications. The Processor Design Space. World s Cellular Subscribers. Nov. 12, 1997 Bob Brodersen (

Introduction to ARM LPC2148 Microcontroller

DSP. Mike Hames. Senior Vice President Application-Specific Products

TMS320C620x/C670x DSP Boot Modes and Configuration Reference Guide

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

MN101E50 Series. 8-bit Single-chip Microcontroller

EEM478-DSPHW-WEEK7 PART A External Memory Interface (EMIF)

The WINLAB Cognitive Radio Platform

Distributed Vision Processing in Smart Camera Networks

Digital Signal Processing Laboratory 7: IIR Notch Filters Using the TMS320C6711

Cirrus is a leader in audio, video, and precision mixed-signal ICs for consumer entertainment, automotive, and industrial applications

IP Video Phone on DM64x

Transcription:

Digital Signal Processor 1

Analog to Digital Shift 2

Digital Signal Processing Applications FAX Phone Personal Computer Medical Instruments DVD player Air conditioner (controller) Digital Camera MP3 audio Car Navigation Automobile Control And MANY 3

What is Analog?, What is Digital? Continuous Signal Similar to Analog watch Processed by Analog Circuit such as OP-amp, RLC circuit Discontinuous Signal The signal is numeric value such as integer or floating point value Processed by Digital Circuit or Digital Signal Processor (Software Programmable) Is Information lost, if we use Digital Signal? 4

Analog to Digital Conversion [Analog to Digital Conversion ADC] Read the value of the wave every sampling period Ts. Value is represented in digital bits. Continuous time t Analog to Digital Converter [Shannon Sampling Therorem] If, Sampling frequency Fs > 2*Ft (Ft: maximum signal frequency) Then, Original Analog wave can be re-covered from the sampled signal No information loss Ts = 1/Fs Discrete time n 5

Why Digital Signal Processing is getting major? If we use digital values, Any mathematical computation can be realized by Digital Circuit and/or Digital Signal Processor (computer). In another word, Any innovative mathematical algorithm can be applied to real life by Digital Technology. This is the reason why I love digital. Analog implementation has many limitations. Such Heavy digital computation can be processed by Semiconductor Devices such as LSI, FPGA, DSPs. Remember OFDM processing (FFT), Such complicated algorithm can only be implemented by Digital Technology. u Nf 1 2 π j N j2 nf N 1 π 0 Nf0 = d n e = d n e n = 0 n n = 0 N 1 2 j N = d n π e 012 N 1 ( =,,, L, ) n = 0 0 n N 6

Digital Signal Processing Applications 1. Most famous: Data compression and de-compression DVD has 133 minutes video data in One-layer. Compression method is MPEG2 If there is no compression technology, only 35 second video can be stored in DVD one-layer. 2. Digital Filter Remove some components of signal (noise, other frequency) from source signal 3. Noise or Echo cancel 4. Error Correction 5. Modulation and Demodulation for wireless communication 7

But, Human interface is Analog Example: Voice Processing amp ADC DSP DAC amp Data Transmission 8

System components 1. Amplifier : Analog Signal control Gain, Noise reduction, Power 2. ADC: Analog to Digital Converter 3. DAC: Digital to Analog Converter 4. DSP: Digital Signal Processor 5. Data Transmission: Data can be Stored in Memory, HDD. SYSTEM NEEDS BOTH ANALOG and DIGITAL device! 9

TI 6713 DSK CODEC ADC, DAC Voice, Speaer Interface SDRAM 6713 DSP FLASH USB PC-interface DIP Switch LED 10

DSK6416 Bloc Diagram 11

TI C6000 family Architecture Outside Memory XB, PCI, Host Port GPIO EMIF McBSP EDMA Timers VCP TCP PLL Register Set A Internal Memory.D1.D2.M1.M2.L1.L2.S1.S2 Register Set B Controller/Decoder DSP CHIP 12

TI C6000 family Architecture 1. EMIF External Memory Interface Connect to outside memory such as SDRAM, Flash 2. McBSP Serial Interface Connect to Microphone, Speaer thru DAC, ADC 3. GPIO General Purpose Interface 4. EDMA Enhanced Direct Memory Access Perform data transfer instead of CPU Let CPU wor only for computation 5. Timers count time and mae interrupt 6. PLL Phase Loced Loop, CLK generation 13

Comparison between MPU and DSP MPU Main Memory Data control ALU Program Data Program DSP Multiply ALU Control Memory Memory Outside Memory DSP is strong for Multiply, Higher Memory Bandwidth Parallel Processing Unit for Parallel computation 14

15 What are the typical DSP algorithms? The Sum of Products (SOP) is the ey element in most DSP algorithms. Multiply and Accumulation (MAC) Algorithm Equation Finite Impulse Response Filter = = M n x a n y 0 ) ( ) ( Infinite Impulse Response Filter = = + = N M n y b n x a n y 1 0 ) ( ) ( ) ( Convolution = = N n h x n y 0 ) ( ) ( ) ( Discrete Fourier Transform = = 1 0 ] ) / (2 ) exp[ ( ) ( N n n N j n x X π Discrete Cosine Transform ( ) ( ) = + = 1 0 1 2 2 ).cos ( ). ( N x x u N x f u c u F π

Some DSP Parameter Parameter Arithmetic format Extended floating point Extended Arithmetic Performance (pea) Number of hardware multipliers Number of registers Internal L1 program memory cache Internal L1 data memory cache Internal L2 cache TMS320C6211 (@150MHz) 32-bit N/A 40-bit 1200MIPS 2 (16 x 16-bit) with 32-bit result 32 32K 32K 512K TMS320C6711 (@150MHz) 32-bit 64-bit 40-bit 1200MFLOPS 2 (32 x 32-bit) with 32 or 64-bit result 32 32K 32K 512K 16

Some DSP Parameter (2) Parameter I/O bandwidth: Serial Ports (number/speed) DMA channels Multiprocessor support Supply voltage Power management On-chip timers (number/width) Cost Pacage External memory interface controller JTAG TMS320C6211 (@150MHz) 2 x 75Mbps 16 Not inherent 3.3V I/O, 1.8V Core Yes 2 x 32-bit US$ 21.54 256 Pin BGA Yes Yes TMS320C6711 (@150MHz) 2 x 75Mbps 16 Not inherent 3.3V I/O, 1.8V Core Yes 2 x 32-bit US$ 21.54 256 Pin BGA Yes Yes 17

Interrupts Interrupts are used to interrupt normal program flow so that the CPU can respond to events. The events can occur at anytime. Program Interrupt occurs here } Inst 1 Inst 2 : : Inst n Save the contents of the registers and the context of the current process This contains the Interrupt Service Routine (ISR) Service the interrupt tas Restore the contents of the registers and the context of the current process Resume the original process Inst n+1 Inst n+2 : : 18

Normal Computer Operation Instruction indicated by Program Counter is executed. One Memory PC Current Sequence (Instruction Register) Instruction Read Program Program Control Datapath Read Read ALU Write Register File Data Data 19

Interrupted Operation By Interrupt signal, PC suddenly indicates Interrupt Service Program PC Current Sequence (Instruction Register) Instruction Read Control Datapath Read Register File One Memory Program Interrupt Service Program ALU Read Write Data Data 20

The Need for a DMA There are two methods for transferring data from one part of the memory to another, these are using: (1)CPU. (2)DMA. If a DMA is used then the CPU only needs to configure the DMA. Whilst the transfer is taing place the CPU is then free to perform other operations. 21

Introduction to the EDMA The C6211/C6711 on-chip EDMA controller allows data transfers between the level two (L2) cache memory controller and the device peripherals. These transfers include: Cache servicing. Non-cacheable memory accesses. User programmed data transfers. Host accesses. 22

EDMA Interface The EDMA allows data transfer to/from any addressable memory spaces. 23

EDMA Functionality The data transfer is performed with zero overhead. It is transparent to the CPU which means that the EDMA and CPU operations can be independent. However, if the EDMA and CPU both try to access the same memory location arbitration will be performed by the program memory controller. 24

Audio Thru Example Event triger Memory H/W Interrupt ADC Rcv Reg RcvMem Copy Filter EDMA CPU DAC Xmt Reg XmtMem McBSP S/W Interrupt 25

Audio Case CD sampling frequency Fs= 44.1KHz Ts = 22.6us 22.6us Processing Time Wait Time Time EDMA CPU 26

Some TI DSPs TMS320C64x: The C64x fixed-point DSPs offer the industry's highest level of performance to address the demands of the digital age. At cloc rates of up to 1 GHz, C64x DSPs can process information at rates up to 8000 MIPS with costs as low as $19.95. In addition to a high cloc rate, C64x DSPs can do more wor each cycle with built-in extensions. These extensions include new instructions to accelerate performance in ey application areas such as digital communications infrastructure and video and image processing. TMS320C62x: These first-generation fixed-point DSPs represent breathrough technology that enables new equipments and energizes existing implementations for multi-channel, multi-function applications, such as wireless base stations, remote access servers (RAS), digital subscriber loop (xdsl) systems, personalized home security systems, advanced imaging/biometrics, industrial scanners, precision instrumentation and multi-channel telephony systems. TMS320C67x: For designers of high-precision applications, C67x floating-point DSPs offer the speed, precision, power savings and dynamic range to meet a wide variety of design needs. These dynamic DSPs are the ideal solution for demanding applications lie audio, medical imaging, instrumentation and automotive. 27