Chapter 20 This chapter provides a series of applications. There is no daughter cards with the DSK6713 and DSK6416 Part 1: Applications using the PCM3003.

Slides:



Advertisements
Similar presentations
Chapter 19 Fast Fourier Transform (FFT) (Theory and Implementation)
Advertisements

Chapter 14 Finite Impulse Response (FIR) Filters
Chapter 19 Fast Fourier Transform
Chapter 9 Data Acquisition Comparator_A
S o f t w a r e D e f i n e d R a d i o
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2003 Chapter 3 Data Transmission.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
FIGURE 3.1 System for illustrating Boolean applications to control.
Chapter 5 Input/Output 5.1 Principles of I/O hardware
TMS320C6xx Architecture C6xx
Chapter 9 Bootloader.
Filters and Enveloping - A Practical Discussion -
AD-340 Universal Audio Delay Processor Compatible with Analog and a wide range of Digital Audio formats SPDIF (digital audio) input and output and Stereo.
By Sunil G. Kulkarni, SO/F, Pelletron-Linac Facility, BARC-TIFR. 21/01/2011 ASET.
Nios Multi Processor Ethernet Embedded Platform Final Presentation
Our Digital World Second Edition
ECE 495: Integrated System Design I
1 Peripheral Component Interconnect (PCI). 2 PCI based System.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 35 – Buses.
HARDWARE Rashedul Hasan..
Figure 12–1 Basic computer block diagram.
Mehdi Naghavi Spring 1386 Operating Systems Mehdi Naghavi Spring 1386.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5 5 Device Management.
1 Operating Systems Input/Output Management. 2 What is the I/O System A collection of devices that different sub- systems of a computer use to communicate.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5 5 Device Management.
1 Quality of Service Issues Network design and security Lecture 12.
1 Audio Video Production Cables and Connectors Copyright © Texas Education Agency, All rights reserved. Images and other multimedia content used.
1 Chapter Overview Network Cables Network Interface Adapters Network Hubs.
The scale of IC design Small-scale integrated, SSI: gate number usually less than 10 in a IC. Medium-scale integrated, MSI: gate number ~10-100, can operate.
Chapter 21b Reference Frameworks. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 2 Learning Objectives Introduce.
Chapter 15 Integrated Services Digital Network ISDN Services History Subscriber Access Layers BISDN WCB/McGraw-Hill The McGraw-Hill Companies, Inc., 1998.
DAQmx下多點(Multi-channels)訊號量測
Operating Systems Operating Systems - Winter 2010 Chapter 3 – Input/Output Vrije Universiteit Amsterdam.
Analog Representations of Sound Magnified phonograph grooves, viewed from above: When viewed from the side, channel 1 goes up and down, and channel 2 goes.
Name Convolutional codes Tomashevich Victor. Name- 2 - Introduction Convolutional codes map information to code bits sequentially by convolving a sequence.
© 2012 National Heart Foundation of Australia. Slide 2.
INPUT-OUTPUT ORGANIZATION
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 1 Introduction to Networking.
Designing Embedded Hardware 01. Introduction of Computer Architecture Yonam Institute of Digital Technology.
25 seconds left…...
Chapter 18 Discrete Cosine Transform. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 18, Slide 2 Learning Objectives  Introduction.
Chapter 20 This chapter provides a series of applications. There is no daughter cards with the DSK6713 and DSK6416 Part 1: Applications using the PCM3003.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Interfacing to the Analog World
PSSA Preparation.
Thomas L. Floyd Digital Fundamentals, 9e
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Chapter 16 Integrated Services Digital Network (ISDN)
24-bit Audio CODEC 數位電路實驗 TA: 吳柏辰 Author: Trumen.
Guitar Effects Processor Using DSP
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Chapter 9 Bootloader. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2002 Chapter 9, Slide 2 Learning Objectives  Need for a bootloader.
Presented by: Reshef Schreiber Itay Leibovich Instructed by: Eran Segev.
1 PC Audio 2 Sound Card  An expansion board that enables a computer to receive, manipulate and output sounds.
Kabuki 2800 “a real-time digital audio effects system for performance” team “Big Country” presents ECEN4610 Preliminary Design Review 14 September 2006.
Digital Communication Techniques
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
0 - 1 © 2010 Texas Instruments Inc Practical Audio Experiments using the TMS320C5505 USB Stick “FIR Filters” Texas Instruments University Programme Teaching.
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
Team 2 Yimin Xiao Jintao Zhang Bo Yuan Yang.  The project we propose is a digital oscilloscope with playback function that provides almost any function.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Audioprocessor for Automobiles Using the TMS320C50 DSP Ted Subonj Presentation on SPRA302 CSE671 / Dr. S. Ganesan.
Sound Card A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the.
Sound Card A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the.
This chapter provides a series of applications.
Presentation transcript:

Chapter 20 This chapter provides a series of applications. There is no daughter cards with the DSK6713 and DSK6416 Part 1: Applications using the PCM3003 AUDIO Part 1: Applications using the PCM3003 AUDIO DAUGHTER CARD TMDX326040A) by Richard Sikora Part 2: USB Daughter Board. by ATE Communications Part 3: PCI C6711 DSP Educational Board. by ATE Communications

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 2Introduction Some audio applications for the TMS320C6711 DSK with Audio Daughter Card have been provided. Some audio applications for the TMS320C6711 DSK with Audio Daughter Card have been provided. These include: These include: Alien Voices: Changing voices using ring modulation. Widely used in science- fiction films for alien voices. Alien Voices: Changing voices using ring modulation. Widely used in science- fiction films for alien voices. Delays and Echo: Using buffers to delay a signal up to 4 seconds to simulate echo from a valley / cavern. Delays and Echo: Using buffers to delay a signal up to 4 seconds to simulate echo from a valley / cavern. Electronic Crossover: Dividing audio signal into bass and treble using Finite Impulse Response (FIR) filters. Electronic Crossover: Dividing audio signal into bass and treble using Finite Impulse Response (FIR) filters.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 3Introduction These include: These include: Guitar Effects: Changing sound of an electric guitar by adding reverberation, treble boost and distortion. Guitar Effects: Changing sound of an electric guitar by adding reverberation, treble boost and distortion. Guitar Tuner: Tuning the strings of an electric guitar using an adaptive filter. Display of accuracy of tuning on LEDs. Guitar Tuner: Tuning the strings of an electric guitar using an adaptive filter. Display of accuracy of tuning on LEDs. Playback and Record: Using buffers to record and playback sounds. Half speed and double speed playback. Introduces concepts of decimation and interpolation. Playback and Record: Using buffers to record and playback sounds. Half speed and double speed playback. Introduces concepts of decimation and interpolation. Reverberation: Simulation of reflections from walls to make a small room sound like an auditorium. Reverberation: Simulation of reflections from walls to make a small room sound like an auditorium.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 4Introduction These include: These include: Signal Generator: Generating test waveforms – sine and triangle, continuous, burst and sweep between 60 Hz and 12 kHz. Signal Generator: Generating test waveforms – sine and triangle, continuous, burst and sweep between 60 Hz and 12 kHz.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 5 Code Location The CCS projects are in the following location: The CCS projects are in the following location: \Code\Chapter 20 – Other Applications\Audio \Code\Chapter 20 – Other Applications\Audio Daugter card… Daugter card… See the following for more information: See the following for more information: \Links\Using the Applications.pdf \Links\Using the Applications.pdf \Links\Using the Applications.pdf \Links\Using the Applications.pdf

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 6 Chapter 20, Part 2 USB Daughter Board USB Daughter Board by ATE Communications (

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 7Overview Combined signal acquisition/generation and USB interface card: Combined signal acquisition/generation and USB interface card: Data acquisition/generation via 1 audio CODEC, 2 ADCs and 2 DACs. (See Chapter 8 for applications). Data acquisition/generation via 1 audio CODEC, 2 ADCs and 2 DACs. (See Chapter 8 for applications). PC interface to DSK via USB chipset. PC interface to DSK via USB chipset. USB chipset to DSP on DSK via EMIF. USB chipset to DSP on DSK via EMIF.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 8 Audio CODEC: CS4218 (see Chapter 8) High quality stereo audio input and output. High quality stereo audio input and output. Sampling rate of 48 kHz. Sampling rate of 48 kHz. 16 bit output (same resolution as audio CD). 16 bit output (same resolution as audio CD). Interface to DSP via serial ports. Interface to DSP via serial ports.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 9 ADCs and DACs: AD9220 and AD768 Two ADCs for digital to analogue conversion of high frequency signals. Two ADCs for digital to analogue conversion of high frequency signals. Two DACs for arbitrary waveform generation of high frequency signals. Two DACs for arbitrary waveform generation of high frequency signals. Interface between DSP and converters via DSP's EMIF. Interface between DSP and converters via DSP's EMIF.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 10 USB Interface Chipset USB revision 1.1 full speed device. USB revision 1.1 full speed device. 16 bit interface to DSP via EMIF. 16 bit interface to DSP via EMIF. Data transfer rates between DSP and PC of up to 7M bits per second. Data transfer rates between DSP and PC of up to 7M bits per second. Internal FIFOs with programmable empty and full flags connected to DSP's timer input pins. Internal FIFOs with programmable empty and full flags connected to DSP's timer input pins.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 11 Using the Audio CODEC (1) Set up transmit and receive serial ports' pins. Serial ports should be set up to use external frame synch and clock signals. Set up transmit and receive serial ports' pins. Serial ports should be set up to use external frame synch and clock signals. Rising edges are used to clock transmit/receive data and frame synchs are active high. Rising edges are used to clock transmit/receive data and frame synchs are active high.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 12 Using the Audio CODEC (2) Set up the serial ports to use 32 bit words, the data are delayed by one clock edge, no companding is used. Set up the serial ports to use 32 bit words, the data are delayed by one clock edge, no companding is used. The sample data are in the upper 16 bit words of each 32 bit word. The lower 16 bits are used for control information. The sample data are in the upper 16 bit words of each 32 bit word. The lower 16 bits are used for control information.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 13 Using the DACs and ADCs (1) The DACs and ADCs are connected to the DSP's EMIF. The DACs and ADCs are connected to the DSP's EMIF. DACs and ADCs can be accessed by reading from and writing to the DSP's CE3 memory space. DACs and ADCs can be accessed by reading from and writing to the DSP's CE3 memory space.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 14 Using the DACs and ADCs (2) A 32 bit read from the CE3 memory space reads packed data, two 16 bit words per 32 bit word. The ADCs have 12 bit resolution and should be converted to 2's complement signed values. A 32 bit read from the CE3 memory space reads packed data, two 16 bit words per 32 bit word. The ADCs have 12 bit resolution and should be converted to 2's complement signed values. A 32 bit write to the CE3 memory space writes data to both DACs. The data are packed, two 16 bit words per 32 bit word. The DACs have 16 bit resolution. A 32 bit write to the CE3 memory space writes data to both DACs. The data are packed, two 16 bit words per 32 bit word. The DACs have 16 bit resolution.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 15 Using the USB interface (1) Using the USB interface from the PC requires software to communicate with the device driver. Using the USB interface from the PC requires software to communicate with the device driver. The USB chipset is connected to the DSP via the EMIF. The USB chipset is connected to the DSP via the EMIF. The USB chip is mapped to the DSP's CE2 memory space. The USB chip is mapped to the DSP's CE2 memory space. The CE2 memory space should be set up using the following value for the CE2 control register: 0x7136C424. The CE2 memory space should be set up using the following value for the CE2 control register: 0x7136C424.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 16 Using the USB interface (2) Reading and writing to USB accomplished by accessing CE2 memory space. Reading and writing to USB accomplished by accessing CE2 memory space. FIFO flags connected to DSPs timer inputs provide information on USB chips FIFO status. FIFO flags connected to DSPs timer inputs provide information on USB chips FIFO status. DSP should monitor FIFO flags to avoid under or overruns. DSP should monitor FIFO flags to avoid under or overruns.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 17 PC - USB daughter board communication Communicating with the board from the PC requires code to interface to the USB device driver. Communicating with the board from the PC requires code to interface to the USB device driver. Lower level details of communicating with the device are handled by the device driver. Lower level details of communicating with the device are handled by the device driver. Code running on a built-in micro controller on the USB chip is used to move the data between the USB buffers and external port FIFOs. Code running on a built-in micro controller on the USB chip is used to move the data between the USB buffers and external port FIFOs.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 18 PC - USB daughter board communication Application: FFT processed on the DSK, results sent to the PC via the USB interface results sent to the PC via the USB interface and the spectrum is display on the PC. Files location: \Chapters\Usb

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 19 Chapter 20, Part 3 PCI C6711 DSP Educational Board, PCIC67AT PCIC67AT by ATE Communications ( Datasheet Block Diagram Block Diagram

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 20 Overview (1) C6711 based PCI card with a variety of signal acquisition and generation peripherals. C6711 based PCI card with a variety of signal acquisition and generation peripherals. Video encoder for acquisition of video data. Video encoder for acquisition of video data. Video decoder for generation of video signals. Video decoder for generation of video signals. Stereo audio CODECs for acquisition and generating audio signals. Stereo audio CODECs for acquisition and generating audio signals. High frequency ADCs and DACS for high frequency signal acquisition and generation. High frequency ADCs and DACS for high frequency signal acquisition and generation.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 21 Overview (2) Additional features: PC has access to DSP via PCI interface. PC has access to DSP via PCI interface. JTAG controller for tight integration with CCS. JTAG controller for tight integration with CCS. Bus matching FIFOs for managing high bandwidth of video data on video encoder and decoder. Bus matching FIFOs for managing high bandwidth of video data on video encoder and decoder. Large amount of SDRAM for program and data storage. Large amount of SDRAM for program and data storage.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 22 Video encoder DSP has access to video encoder output data via memory mapped FIFO. DSP has access to video encoder output data via memory mapped FIFO. FIFO flag connected to DSP's external interrupt to facilitate using EDMA to move data from FIFO to other memory locations. FIFO flag connected to DSP's external interrupt to facilitate using EDMA to move data from FIFO to other memory locations. Video encoder set up using I2C bus. Video encoder set up using I2C bus. Video encoder should write framing codes to FIFO to facilitate synchronising to data stream. Video encoder should write framing codes to FIFO to facilitate synchronising to data stream.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 23 Video decoder DSP has access to video decoder input port via memory mapped FIFO. DSP has access to video decoder input port via memory mapped FIFO. Video decoder data input format compatible with output format of encoder. Video decoder data input format compatible with output format of encoder. Video encoder internal registers set up via I2C bus. Video encoder internal registers set up via I2C bus.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 24 Audio CODECs: CS4218 Connected to DSP's serial ports. Connected to DSP's serial ports. Two stereo audio CODECs available providing four input and four output channels. Two stereo audio CODECs available providing four input and four output channels. Audio CODECs use 16 bit data at 48 kHz sampling rate. Audio CODECs use 16 bit data at 48 kHz sampling rate.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 25 ADCs and DACs: AD9220, AD768 High frequency ADCs for capturing of high frequency signals High frequency ADCs for capturing of high frequency signals ADCs memory mapped in DSP for high bandwidth parallel interface ADCs memory mapped in DSP for high bandwidth parallel interface DACs useful for outputting processed waveforms or arbitrary waveform generation DACs useful for outputting processed waveforms or arbitrary waveform generation DACs memory mapped in DSP for high bandwidth parallel interface DACs memory mapped in DSP for high bandwidth parallel interface

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 26 Programming the DSP Use of JTAG emulator connected to JTAG header on board. Use of JTAG emulator connected to JTAG header on board. Directly in CCS via on board JTAG controller. Directly in CCS via on board JTAG controller. Single step debugging of DSP possible when using CCS. Single step debugging of DSP possible when using CCS. Access to all internal memory locations of DSP via HPI connected to PCI interface. Access to all internal memory locations of DSP via HPI connected to PCI interface.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 27 Accessing data on DSP from PC Using PCI device driver. Using PCI device driver. PCI devices are plug and play, set up of devices in PC straightforward. PCI devices are plug and play, set up of devices in PC straightforward. PCI device connected to DSP's HPI. PCI device connected to DSP's HPI. Via DSP's EMIF programmer has access to all peripherals connected to EMIF. Via DSP's EMIF programmer has access to all peripherals connected to EMIF.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 28 Stand alone operation External power connector for stand alone operation. External power connector for stand alone operation. Programming DSP via JTAG header using JTAG interface board such as XDS510. Programming DSP via JTAG header using JTAG interface board such as XDS510. Less complex than PCI set up, no operating system trouble or need for device drivers. Less complex than PCI set up, no operating system trouble or need for device drivers.

Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 20, Slide 29 Chapter 20 - End -