<< Chapter < Page
  From matlab and simulink to real     Page 2 / 3
Chapter >> Page >
Startup Screen for Code Composer Studio (CCS)

Opening an existing model

Start MATLAB 7.3.0 R2006b

In the top left hand corner of the MATLAB screen, select File ->Open.

Opening an Existing Model(CCS)

The following screen will appear.

Selecting an Existing Model

Highlight “C6713_Audio_Template” then click on “Open”.

Viewing the “c6713 audio template”

The “C6713_Audio_Template” is now displayed.

The C6713 DSK Audio Template>

Overview of the complete echo subsystem

You are now going to implement the Echo Subsystem shown below.

The Complete Echo Subsytem

Implementing the echo subsystem

Double click on the “Effect 1” subsystem block. An empty model will appear.

The Blank “Effect 1” Subsystem

You will now drag-and-drop some library components onto the model.

Select View ->Library Browser. Expand the “Simulink” section.

A list of available blocks will appear. We are initially interested in the “Commonly Used Blocks”.

Commonly Used Blocks

From “Commonly Used Blocks”, drag-and-drop a ”Gain” block, a “Sum” block and two “Data Type Conversion” blocks onto the model.

From the Simulink Library Browser, select “Discrete”. Highlight “Integer Delay” and drag-and-drop this block onto the model.


Setting the integer delay time

The delay time will be 0.5 seconds. Using a sampling rate of 8000 Hz, this requires 8000 x 0.5 = 4000 samples. In the equation given in the lecture, this would make N = 4000.

Double click on the “Integer Delay” block. Change the “Number of delays” field to 4000, then click on “OK”.

Setting the Integer Delay Time

Setting the output data conversion to single

We want to set the gain to 0.9. If you multiply an integer value by 0.9, then the value 0.9 will be rounded-down to zero. Instead, you need to convert the integer value to a floating-point value such as “single”, and then convert it back later. Click on “OK”.

Setting the Data Conversion to Single

Setting the delay gain

We required that 0.9 of the delayed input is added to the normal input. Therefore, set the “Gain” to 0.9 then click on “OK”.

Setting the Echo Delay Gain

Setting the output data conversion to int16

Double click on the second “Data Type Conversion” block. Set the “Output data type mode” to int16. This is compatible with the DAC on the C6713 DSK.

Data Type Conversion to 16-bit Integer

The completed echo subsystem

Join the blocks as shown and add a title.

Joining the Blocks

Returning to the parent system

From the Toolbar, select the “Up Arrow” icon. This returns you to the next higher level.

Returning to the Parent System

The reverberation subsystem

The next subsystem to be implemented will be Reverberation.

Overview of the completed reverberation subsystem

We are now going to implement the Reverberation System shown below.

Overview of the Reverberation Subsystem

Note that the reverberation subsystem is very similar to that of echo. We will cut-and-paste from the Echo Subsystem

Opening the effects 2 subsystem

From the “C6713 Audio Template” top level, double-click on the “Effect 2” subsystem.

Questions & Answers

how to know photocatalytic properties of tio2 nanoparticles...what to do now
Akash Reply
it is a goid question and i want to know the answer as well
Do somebody tell me a best nano engineering book for beginners?
s. Reply
what is fullerene does it is used to make bukky balls
Devang Reply
are you nano engineer ?
what is the Synthesis, properties,and applications of carbon nano chemistry
Abhijith Reply
Mostly, they use nano carbon for electronics and for materials to be strengthened.
is Bucky paper clear?
so some one know about replacing silicon atom with phosphorous in semiconductors device?
s. Reply
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Do you know which machine is used to that process?
how to fabricate graphene ink ?
for screen printed electrodes ?
What is lattice structure?
s. Reply
of graphene you mean?
or in general
in general
Graphene has a hexagonal structure
On having this app for quite a bit time, Haven't realised there's a chat room in it.
what is biological synthesis of nanoparticles
Sanket Reply
what's the easiest and fastest way to the synthesize AgNP?
Damian Reply
types of nano material
abeetha Reply
I start with an easy one. carbon nanotubes woven into a long filament like a string
many many of nanotubes
what is the k.e before it land
what is the function of carbon nanotubes?
I'm interested in nanotube
what is nanomaterials​ and their applications of sensors.
Ramkumar Reply
what is nano technology
Sravani Reply
what is system testing?
preparation of nanomaterial
Victor Reply
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
Himanshu Reply
good afternoon madam
what is system testing
what is the application of nanotechnology?
In this morden time nanotechnology used in many field . 1-Electronics-manufacturad IC ,RAM,MRAM,solar panel etc 2-Helth and Medical-Nanomedicine,Drug Dilivery for cancer treatment etc 3- Atomobile -MEMS, Coating on car etc. and may other field for details you can check at Google
anybody can imagine what will be happen after 100 years from now in nano tech world
after 100 year this will be not nanotechnology maybe this technology name will be change . maybe aftet 100 year . we work on electron lable practically about its properties and behaviour by the different instruments
name doesn't matter , whatever it will be change... I'm taking about effect on circumstances of the microscopic world
how hard could it be to apply nanotechnology against viral infections such HIV or Ebola?
silver nanoparticles could handle the job?
not now but maybe in future only AgNP maybe any other nanomaterials
I'm interested in Nanotube
this technology will not going on for the long time , so I'm thinking about femtotechnology 10^-15
can nanotechnology change the direction of the face of the world
Prasenjit Reply
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Berger describes sociologists as concerned with
Mueller Reply
Got questions? Join the online conversation and get instant answers!
QuizOver.com Reply

Get the best Algebra and trigonometry course in your pocket!

Source:  OpenStax, From matlab and simulink to real-time with ti dsp's. OpenStax CNX. Jun 08, 2009 Download for free at http://cnx.org/content/col10713/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'From matlab and simulink to real-time with ti dsp's' conversation and receive update notifications?