0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Audio.

Slides:



Advertisements
Similar presentations
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Dual.
Advertisements

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.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Vehicle.
Yaron Doweck Yael Einziger Supervisor: Mike Sumszyk Spring 2011 Semester Project.
Chapter 6 Multi-channel Buffered Serial Port (McBSP)
Guitar Effects Processor Using DSP
Using an FPGA to Control the Protection of National Security and Sailor Lives at Sea Brenda G. Martinez, Undergraduate Student K.L. Butler-Purry, Ph.D.,
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Class-D.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Detecting.
Top Level System Block Diagram BSS Block Diagram Abstract In today's expanding business environment, conference call technology has become an integral.
Software Defined Radio
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Video.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Echo.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Amplitude.
Lab #1 Introduction to Hardware & Software Tools of TMS320C6748 DSK
EE 345S Real-Time Digital Signal Processing Lab Fall 2008
EE 445S Real-Time Digital Signal Processing Lab Spring 2012 Lab #3.1 Digital Filters Some contents are from the book “Real-Time Digital Signal Processing.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Measuring.
A Company Selling Technology and not just a Product.
Anne Mascarin DSP Marketing The MathWorks
Getting Started With DSP A. What is DSP? B. Which TI DSP do I use? Highest performance C6000 Most power efficient C5000 Control optimized C2000 TMS320C6000™
Ehsan Shams Saeed Sharifi Tehrani. What is DSP ? Digital Signal Processing (DSP) is used in a wide variety of applications, and it is hard to find a good.
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.
S3.kth.se DSP Lecture 30/ Per Zetterberg. Agenda General. Starting CCS Comparing matlab and DSP results. Profiling when comparing matlab and DSP.
© 2002 The MathWorks, Inc. September 2002 Advanced Embedded Tool capabilities for Texas Instruments DSPs © 2002 The MathWorks, Inc. David Hilf Third Party.
Elad Hadar Omer Norkin Supervisor: Mike Sumszyk Winter 2010/11, Single semester project. Date:22/4/12 Technion – Israel Institute of Technology Faculty.
Upgrade to Real Time Linux Target: A MATLAB-Based Graphical Control Environment Thesis Defense by Hai Xu CLEMSON U N I V E R S I T Y Department of Electrical.
EE 445S Real-Time Digital Signal Processing Lab Fall 2013 Lab #2 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6748 DSP.
McBSP Copyright © 2012 Texas Instruments. All rights reserved. Technical Training Organization T TO C6657 Workshop.
Acoustic Noise Cancellation
EE 445S Real-Time Digital Signal Processing Lab Fall 2011 Lab #2 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6713 DSP.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Edge.
Audioprocessor for Automobiles Using the TMS320C50 DSP Ted Subonj Presentation on SPRA302 CSE671 / Dr. S. Ganesan.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Spectrum.
Integration of all gained knowledge in both analog & digital experiments. Giving the students in E.E. lab-1 a tool for deeper understanding of M.S.S.
ECE 477 DESIGN REVIEW FEST – FALL OUTLINE  Project overview  Project-specific success criteria  Block diagram  Component selection rationale.
Introduction to the C6713 Laurier Boulianne
– BlackAn – The Blackfin Analyzer by Jacob Zurasky and Paul Deffenbaugh.
Design of DSP testing environment Performed By: Safovich Yevgeny Instructors: Eli Shoshan Yevgeni Rifkin הטכניון - מכון טכנולוגי לישראל הפקולטה.
Serial Communication Analyzer Company Name: Digital laboratory Presenter Name: Igal Kogan Alexander Rekhelis Instructor: Hen Broodney Semester:Winter/Spring.
2002 Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling 3.
DSP/BIOS for C6000/C5000. What is DSP/BIOS Real-time Environment –Thread execution model Threads, Mailboxes, Semaphores –Device independent I/O Logging,
ECSE436 Tutorial HWI Laurier Boulianne. L. Boulianne Questions.
DSP C5000 Chapter 10 Understanding and Programming the Host Port Interface (EHPI) Copyright © 2003 Texas Instruments. All rights reserved.
System Software Design Engineer: Mac Gainor Western Washington University.
EE 345S Real-Time Digital Signal Processing Lab Fall 2007 Lab #2 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6713 DSP.
Introduction Contain two or more CPU share common memory and peripherals. Provide greater system throughput. Multiple processor executing simultaneous.
EE 345S Real-Time Digital Signal Processing Lab Fall 2008 Lab #3 Generating a Sine Wave Using the Hardware & Software Tools for the TI TMS320C6713 DSP.
Linux Sound Drivers Framework
 Operating system.  Functions and components of OS.  Types of OS.  Process and a program.  Real time operating system (RTOS).
ATLAS Pre-Production ROD Status SCT Version
Echo and Reverberation
Voice Manipulator Department of Electrical & Computer Engineering
PC Mouse operated Electrical Load Control Using VB Application
ARM Cortex-M4 Combines DSP and microcontroller features
Simulink Basics Reijo Vuohelainen
Implementing A Double-Buffered System
EE 445S Real-Time Digital Signal Processing Lab Spring 2017
Contents Simulink model Grouping into subsystems Naming the subsystems
ECE 3551 Microcomputer Systems 1
This chapter provides a series of applications.
Introduction to Digital Signal Processors (DSPs)
A Comparison of Field Programmable Gate
Lab 5 Part II Instructions
EE 445S Real-Time Digital Signal Processing Lab Fall 2013
Chapter 21b Reference Frameworks
Channel Sorting with the EDMA
Advanced Computer Architecture Lecture 11
EE 345S Real-Time Digital Signal Processing Lab Fall 2007
KeyStone Training Multicore Applications Literature Number: SPRPXXX
Presentation transcript:

0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Audio Conference Bridge

Slide 2 © 2007 Texas Instruments Inc, Outline Introduction The Hardware Platform The AIC24 Driver Creating a Simulink ® block for the AIC24 The Audio Conference Application

Slide 3 © 2007 Texas Instruments Inc, The Audio Conference Bridge Phone call with n participants (n > 2)

Slide 4 © 2007 Texas Instruments Inc, Limitations of the DSK6713 Hardware The DSK6713 supports 2 analog audio interfaces Only audio 2 I/O

Slide 5 © 2007 Texas Instruments Inc, The Hardware Platform TLV320AIC24EVM DSK6713 TLV320AIC24 TMS320C6713 McBSP 1 Headsets CODEC #2 CODEC #3 CODEC #1 CODEC #0

Slide 6 © 2007 Texas Instruments Inc, The TLV320AIC24

Slide 7 © 2007 Texas Instruments Inc, The DSP Interface to the CODEC DSK6713 TLV320AIC24KEVM

Slide 8 © 2007 Texas Instruments Inc, The AIC24 Driver Layer Interface is based on a user supplied callback function Double-Buffering –EDMA based –Configurable buffer sizes –Channel Sorting

Slide 9 © 2007 Texas Instruments Inc, TMS320C6713 TLV320AIC24 Receiving Samples EDMA McBSP1 Ch. 0Ch. 1Ch. 2Ch. 3 Ch. 0Ch. 1Ch. 2Ch. 3Ch. 0Ch. 1Ch. 2Ch. 3 DSP Memory N samples from each channel { { { { CODEC 0 CODEC 1 TLV320AIC24 CODEC 2CODEC 3 Audio Ch. 0 Audio Ch. 1 Audio Ch. 2 Audio Ch. 3

Slide 10 © 2007 Texas Instruments Inc, TMS320C6713 TLV320AIC24 Transmitting Samples EDMA McBSP1 Ch. 0Ch. 1Ch. 2Ch. 3 Ch. 0Ch. 1Ch. 2Ch. 3Ch. 0Ch. 1Ch. 2Ch. 3 DSP Memory N samples from each channel { { { { CODEC 0 CODEC 1 TLV320AIC24 CODEC 2CODEC 3 Audio Ch. 0 Audio Ch. 1 Audio Ch. 2 Audio Ch. 3

Slide 11 © 2007 Texas Instruments Inc, Double Buffering (frame #n+1) Reading & Writing Samples DRR1 EDMA DXR1 EDMA Processing Samples CPU RcvBuf2 SndBuf2 RcvBuf1SndBuf1

Slide 12 © 2007 Texas Instruments Inc, Processing Samples Reading & Writing Samples Double Buffering (frame #n) DRR1 EDMA DXR1 EDMA CPU RcvBuf2SndBuf2 RcvBuf1 SndBuf1

Slide 13 © 2007 Texas Instruments Inc, McBSP1 EDMA DSP Memory The Driver Structure CPU SndBuf1SndBuf2RcvBuf1RcvBuf2 RcvDMA SndDMA DRR1 DXR1 AIC24 Interrupt upon receiving/transmitting a frame Processing McBSP1XmtEventMcBSP1RcvEvent

Slide 14 © 2007 Texas Instruments Inc, McBSP1 EDMA DSP Memory The Driver Structure CPU SndBuf1SndBuf2RcvBuf1RcvBuf2 RcvDMA SndDMA DRR1 DXR1 AIC24 Interrupt upon receiving/transmitting a frame Processing McBSP1XmtEve nt McBSP1RcvEve nt

Slide 15 © 2007 Texas Instruments Inc, The Driver Interface The user callback function header: Process(Int16 *InBuf, Int16 *OutBuf) InBuf a buffer containing the last buffer of samples read from the CODECs OutBuf a buffer containing the samples that will be written to CODECs For example: copy channel0 to channel2 memcpy(InBuf, OutBuf+2*BufSize, BufSize)

Slide 16 © 2007 Texas Instruments Inc, Sample Code

Slide 17 © 2007 Texas Instruments Inc, Migration to Simulink A new Simulink model, containing the driver is created This block can be integrated with an “Algorithm” block. For example: Switching channels

Slide 18 © 2007 Texas Instruments Inc, The Simulink Interface Simulink creates a task for the processing The task waits for a signal when the new buffer of the data is ready The callback processing function signals (using a semaphore) to the Simulink task when the data is ready

Slide 19 © 2007 Texas Instruments Inc, Running the Application TLV320AIC24EVM Headsets J10 J5 Mic Phone J4 J20 Mic Phone J1 J16 Mic Phone #1 #2 #3

Slide 20 © 2007 Texas Instruments Inc, The Algorithm Conference INP0 INP1 INP2 OUT0 OUT1 OUT2 Selection Block Inputs (from CODECs) Outputs (to CODECs) Power Level 0 Level 1 Level 2

Slide 21 © 2007 Texas Instruments Inc, Output Signal Selection 1.Find Maximum Input Level 2.Increment Counter correspondent to the “loudest” channel 3.If the Counter value =10 THEN: Broadcast correspondent input channel to all outputs Reset Counter For Each 64 samples frame the following algorithm is implemented:

Slide 22 © 2007 Texas Instruments Inc, Simulink Model

Slide 23 © 2007 Texas Instruments Inc, Signal Routing

Slide 24 © 2007 Texas Instruments Inc, Algorithm Model Level Meas. Channel Selection Conference

Slide 25 © 2007 Texas Instruments Inc, Finding Maximum Input Level

Slide 26 © 2007 Texas Instruments Inc, Index Selection