<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20967830</id><updated>2012-01-23T08:15:48.336-08:00</updated><title type='text'>TI DSP Tutorial</title><subtitle type='html'>Texas Instruments DSP - Code Composer Studio (CCS) - MATLAB - Simulink - DSK 6711 - Digital Signal Processor - Setup - RTDX - LED - Tutorial</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dsptute.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dsptute.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>kriti</name><uri>http://www.blogger.com/profile/04026769248220520791</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20967830.post-114005038224304964</id><published>2006-02-15T16:38:00.000-08:00</published><updated>2006-02-25T01:23:41.436-08:00</updated><title type='text'>Table Of Contents</title><content type='html'>&lt;ul id="recently"&gt; &lt;li&gt;&lt;a href="http://dsptute.blogspot.com/2006/02/table-of-contents.html"&gt;Table Of Contents&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dsptute.blogspot.com/2006/02/introduction.html"&gt;Introduction&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dsptute.blogspot.com/2006/01/1-setup-lighting-leds-illumination.html"&gt;1 - Setup &amp;amp; Lighting the LED's (Illumination)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dsptute.blogspot.com/2006/01/2-rtdx-real-time-data-exchange-yahoo.html"&gt;2 - RTDX – Real Time Data eXchange (Yahoo Chat)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dsptute.blogspot.com/2006/01/3-finding-unknown-frequency-number.html"&gt;3 - Finding an Unknown Frequency (The Number Game)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://dsptute.blogspot.com/2006/01/acknowledgements.html"&gt;Acknowledgements&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20967830-114005038224304964?l=dsptute.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsptute.blogspot.com/feeds/114005038224304964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20967830&amp;postID=114005038224304964' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/114005038224304964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/114005038224304964'/><link rel='alternate' type='text/html' href='http://dsptute.blogspot.com/2006/02/table-of-contents.html' title='Table Of Contents'/><author><name>kriti</name><uri>http://www.blogger.com/profile/04026769248220520791</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20967830.post-113927480079187696</id><published>2006-02-04T17:11:00.000-08:00</published><updated>2006-02-06T17:17:29.530-08:00</updated><title type='text'>Introduction</title><content type='html'>Hi&lt;br /&gt;&lt;br /&gt;After taking the opinion of several experts in this field (Professors and working Professionals), we have come to the conclusion that there is serious need to disseminate the expertise gained by&lt;br /&gt;us (me and my batch mates at IIT) on Texas Instrument’s “Digital Signal Processor”.&lt;br /&gt;&lt;br /&gt;The importance arises from the fact that there are no experts on this most productive instrument at IIT. In fact we were the first batch to work on this. The steep learning curve one needs to go through, before any significant use of this instrument can be made, makes it desirable for me and my batch mates (Bipul Das, Amlan Ganguly, Koushik Banerjee and others) to share the knowledge we acquired in this area, in course of our BTech thesis preparation last year.&lt;br /&gt;&lt;br /&gt;With this aim in mind, I have designed a comprehensive tutorial on the usage of Texas Instruments DSP (Digital Signal Processor). Further, it has been made available online for convenient access at &lt;a onclick="return top.js.OpenExtLink(window,event,this)" href="http://dsptute.blogspot.com/" target="_blank"&gt;http://dsptute.blogspot.com&lt;/a&gt;. This tutorial aims to disseminate the knowledge we, unfortunately, could not directly pass on to our juniors.&lt;br /&gt;&lt;br /&gt;We are sure you are with us in our endeavor. Please visit the website and circulate the link to all potential users of Digital Signal Processors. Your feedback is our only source, to understand our drawbacks and make desired improvements. You may send in your comments and suggestions via email or use the “comments section” in the website.&lt;br /&gt;&lt;br /&gt;We are looking forward to your kind co-operation. Our mission is to set a trend, which in future will benefit a large section of the student body.&lt;br /&gt;&lt;br /&gt;Thanking You&lt;br /&gt;Regards&lt;br /&gt;Kriti Sen Sharma&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20967830-113927480079187696?l=dsptute.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsptute.blogspot.com/feeds/113927480079187696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20967830&amp;postID=113927480079187696' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/113927480079187696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/113927480079187696'/><link rel='alternate' type='text/html' href='http://dsptute.blogspot.com/2006/02/introduction.html' title='Introduction'/><author><name>kriti</name><uri>http://www.blogger.com/profile/04026769248220520791</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20967830.post-113722989510029663</id><published>2006-01-14T01:11:00.000-08:00</published><updated>2006-01-15T00:17:52.293-08:00</updated><title type='text'>1 - Setup &amp; Lighting the LED's (Illumination)</title><content type='html'>&lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Aim&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;To light the LED's on the Digital Signal Processor (DSP)&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Apparatus / Setup&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;1. Connect the Texas Instruments DSP to the PC via Parallel/ USB port. Power the DSP.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;2. There are a few tools for checking whether PC to DSP connection has been successfully established. These may be found from the Start Menu.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span style=""&gt;            &lt;/span&gt;Start -&gt; Programs -&gt; TI Cxxx (folder where TI DSP executables are stored) -&gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;3. Once the DSP is connected, start MATLAB. From MATLAB, start Simulink. We shall use Simulink to design our circuits.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;4. Configure Simulink / MATLAB to recognize the target DSP. Your lab-instructor may be able to help you in this.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;After opening a new file in Simulink, go to the &lt;b&gt;&lt;i&gt;Simulation&lt;/i&gt;&lt;/b&gt;&lt;i&gt; &lt;/i&gt;menu &lt;b&gt;-&gt; &lt;i&gt;Simulation Parameters&lt;/i&gt; -&gt;&lt;/b&gt; choose &lt;b&gt;&lt;i&gt;Real Time Workshop&lt;/i&gt; tab -&gt;&lt;/b&gt; in &lt;b&gt;&lt;i&gt;Target Selection&lt;/i&gt;&lt;/b&gt; area, press &lt;b&gt;&lt;i&gt;Browse&lt;/i&gt; -&gt;&lt;/b&gt; list of available tabs comes up, select &lt;b&gt;&lt;i&gt;Target for Texas Instruments TMS320C6000 Processor&lt;/i&gt;&lt;/b&gt;. The &lt;b&gt;&lt;i&gt;Build&lt;/i&gt;&lt;/b&gt; button should now show &lt;i&gt;&lt;b&gt;Build and Run&lt;/b&gt;&lt;/i&gt;. See Figure 1.&lt;i&gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/i&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;i&gt;&lt;span style=";font-family:Arial;" &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://img.photobucket.com/albums/v292/kritisen/DSPTute/DSPTut_edited.jpg"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/DSPTut_edited.jpg" border="0" height="412" width="575" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1027" type="#_x0000_t75" style="'width:431.25pt;" ole=""&gt;  &lt;v:imagedata src="file:///C:/DOCUME~1/KRITIS~1/LOCALS~1/Temp/msoclip1/01/clip_image001.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt; &lt;!--[if gte mso 9]&gt;&lt;xml&gt;   &lt;o:oleobject type="Embed" progid="PBrush" shapeid="_x0000_i1027" drawaspect="Content" objectid="_1198755995"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt; &lt;span style=";font-size:100%;" &gt;    &lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-size:100%;" &gt;Figure 1. Screenshot of Simulink Configuration Window&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Procedure&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;   &lt;ul&gt;   &lt;li&gt;&lt;span style=";font-family:Symbol;font-size:100%;"  &gt;&lt;span style=";font-family:&amp;quot;;" &gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;Each of the 3 LED-s can be individually switched ON and OFF. Thus we can use a binary coding of 0 to 7 to light the LED-s. For example, an input of 6 (= 4 + 2 + 0) to the DSP should correspond to 2 LED-s ON and 1 LED (corresponding to LSB) OFF.&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;To do the same on the DSP, we make the following circuit on Simulink. &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/DSP_LED.jpg" shapes="_x0000_i1025" height="107" width="321" /&gt; &lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;   &lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.5in;"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="'width:240.75pt;height:80.25pt'" ole=""&gt;  &lt;v:imagedata src="file:///C:/DOCUME~1/KRITIS~1/LOCALS~1/Temp/msoclip1/01/clip_image003.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt; &lt;!--[if gte mso 9]&gt;&lt;xml&gt;   &lt;o:oleobject type="Embed" progid="PBrush" shapeid="_x0000_i1025" drawaspect="Content" objectid="_1198755997"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;br /&gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;   &lt;ul&gt;   &lt;li&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;The circuit is very simple. To get the required blocks, you may have to browse the Simulink Blockset Library. The library is quite large. There is an option of searching blocks by name but that is not very powerful. So I suggest you have a run-through of all the available modules to get a good feel of the power of Simulink.&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;Once you have made the circuit and Simulink is properly configured to recognize the target DSP, all you have to do is to again go to the &lt;i&gt;Simulation Parameters&lt;/i&gt; menu and press "&lt;i&gt;Build and Run&lt;/i&gt;". After that, sit back, relax.... and watch what happens. If all has gone well, you should see a set of glowing LED-s in the end. And MATLAB/Simulink should give the message that the DSP is successfully running.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;     &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;  &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Discussion&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;When we were just about learning the ropes of programming, we used to draw flowcharts first. Then we would write the C / BASIC / LOGO code to implement the flowchart. Then we would ask the compiler to convert our ‘High Level Language’ to ‘Low Level Language’. Finally, when the code for our flowchart got executed on the PC, it was all in terms of ‘0’-s and ‘1’-s.&lt;o:p&gt;  &lt;/o:p&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;This process from Flowchart to 0/1 takes place so fast that we hardly realise the things going on behind. But while working on the DSP, one can see the step-by-step process taking place. (Although here, the C-code generation is automated!!)&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;ol style="margin-top: 0in;" start="1" type="1"&gt; &lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;MATLAB     / Simulink checks whether the circuit is correct and then converts it to     C-code&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;In the background, Code Composer Studio (CCS) starts up and a new project is opened which includes the above mentioned C-code.&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;CCS converts the C-code to machine understandable 0/1 format. (There will be differences between the 0/1 executable for different target DSP-s).&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;This      0/1 executable then travels via the Parallel / USB port to the DSP, and once      over there, starts ‘Running’.&lt;o:p&gt;      &lt;/o:p&gt;      &lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;Phew! So much effort for lighting a few LED-s… Seems useless now, doesn’t it? But when complicated DSP algorithms can be implemented and executed on DSP by this same process, the trouble seems worth taking.&lt;o:p&gt;  &lt;/o:p&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Post-Script&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;While working on C6711, I observed that the LED circuit (using ‘6’ or any number from 0-7) did not work. So I repeated the whole Flowchart to 0/1 process for different numbers and found that a positive bias was required. (I have not been able to figure out the reason yet.) The circuit that worked was &lt;o:p&gt;  &lt;/o:p&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" style="'width:234.75pt;height:147.75pt'" ole=""&gt;  &lt;v:imagedata src="file:///C:/DOCUME~1/KRITIS~1/LOCALS~1/Temp/msoclip1/01/clip_image005.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt; &lt;span style="font-size:100%;"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/DSP_LED_Bias.jpg" shapes="_x0000_i1026" height="197" width="313" /&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;   &lt;o:oleobject type="Embed" progid="PBrush" shapeid="_x0000_i1026" drawaspect="Content" objectid="_1198755999"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt; &lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;o:p&gt;  &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;You should try yourself to find out the ‘magic’ bias number.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20967830-113722989510029663?l=dsptute.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsptute.blogspot.com/feeds/113722989510029663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20967830&amp;postID=113722989510029663' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/113722989510029663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/113722989510029663'/><link rel='alternate' type='text/html' href='http://dsptute.blogspot.com/2006/01/1-setup-lighting-leds-illumination.html' title='1 - Setup &amp; Lighting the LED&apos;s (Illumination)'/><author><name>kriti</name><uri>http://www.blogger.com/profile/04026769248220520791</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20967830.post-113914208034258310</id><published>2006-01-06T04:17:00.000-08:00</published><updated>2006-02-05T04:32:08.160-08:00</updated><title type='text'>2 - RTDX – Real Time Data eXchange (Yahoo Chat)</title><content type='html'>&lt;p style=""&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;&lt;span style="font-family:Arial;"&gt;Aim&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;To  configure and use RTDX – &lt;b&gt;R&lt;/b&gt;eal &lt;b&gt;T&lt;/b&gt;ime &lt;b&gt;D&lt;/b&gt;ata e&lt;b&gt;X&lt;/b&gt;change  (Yahoo Chat).&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;&lt;span style="font-family:Arial;"&gt;Theory&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;Compared to PC’s, Digital Signal Processors (DSP’s) are super-efficient when it comes to executing Signal Processing algorithms. Thus they are of immense use in the industry. But when it comes to the simple but essential task of display, the good old PC is miles ahead. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;For example, you may run a complex algorithm and get a numerical result, ten times faster on the DSP than the PC. However, you cannot see the calculated value, as the DSP does not provide us any sort of Visual Display Unit (monitor, in simpler terms). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;But wait! There is still hope. Texas Instruments DSP provides a mechanism called RTDX which can throw some light (literally!) on this problem. By this method, data is exchanged between the PC and DSP. A two way communication channel is set up. Using that, the result of any complex algorithm&lt;span style=""&gt;  &lt;/span&gt;as calculated by the ‘super-fast’ but ‘visually disabled’ DSP can be sent to the ‘slow’ but ‘visually able’ PC. This experiment shows just how to do that.&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;"&gt;Apparatus / Setup&lt;/span&gt;&lt;o:p&gt;  &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;Texas Instruments DSP – MATLAB &amp; Simulink – Custom application for RTDX (e.g. – “General Purpose Display” provided by T.I.).&lt;o:p&gt;  &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Procedure&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;  &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;b&gt;1. Circuit&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;We make a simple circuit as shown below. The expected output is the constant 302, but we intend to generate it on the DSP and receive it on the PC screen. Set parameter ‘&lt;i&gt;ochan1&lt;/i&gt;’ within the ‘To RTDX’ box.&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" preferrelative="t" spt="75" coordsize="21600,21600"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;v:path connecttype="rect" gradientshapeok="t" extrusionok="f"&gt;&lt;o:lock aspectratio="t" ext="edit"&gt;&lt;/o:lock&gt;&lt;v:shape id="_x0000_i1025" style="width: 158.25pt; height: 57.75pt;" ole="" type="#_x0000_t75"&gt;&lt;v:imagedata title="" src="file:///C:/DOCUME%7E1/KRITIS%7E1/LOCALS%7E1/Temp/msoclip1/01/clip_image001.png"&gt;&lt;/v:imagedata&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/RTDXckt1.jpg" border="0" height="77" width="211" /&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/v:shape&gt;&lt;/v:path&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;/v:stroke&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;b&gt;2. Setup from  MATLAB&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;Build the above circuit from MATLAB Simulink. (Note that you should choose the option ‘Build’ and NOT ‘Build &amp; Run’ from the Simulation Parameters box. This can be accessed by the following steps.&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt;  &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;After opening a new file in  Simulink, go to the &lt;b&gt;&lt;i&gt;Simulation&lt;/i&gt;&lt;/b&gt;&lt;i&gt; &lt;/i&gt;menu &lt;b&gt;-&gt; &lt;i&gt;Simulation  Parameters&lt;/i&gt; -&gt;&lt;/b&gt; choose &lt;b&gt;&lt;i&gt;Real Time Workshop&lt;/i&gt; tab -&gt;&lt;/b&gt; in  &lt;b&gt;&lt;i&gt;Target Selection&lt;/i&gt;&lt;/b&gt; area, press &lt;b&gt;&lt;i&gt;Browse&lt;/i&gt; -&gt;&lt;/b&gt; list of  available tabs comes up, select &lt;b&gt;&lt;i&gt;Target for Texas Instruments TMS320C6000  Processor&lt;/i&gt;&lt;/b&gt;. The &lt;b&gt;&lt;i&gt;Build&lt;/i&gt;&lt;/b&gt; button should now show &lt;b&gt;&lt;i&gt;Build  and Run&lt;/i&gt;&lt;/b&gt;. (Same procedure as Experiment 1).&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt;  &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;Then, within the  &lt;b&gt;&lt;i&gt;Category&lt;/i&gt;&lt;/b&gt; drop-down menu, choose “&lt;b&gt;&lt;i&gt;TI C6000  Runtime&lt;/i&gt;&lt;/b&gt;”&lt;b&gt;&lt;i&gt;-&gt; &lt;/i&gt;&lt;/b&gt;then choose the &lt;b&gt;&lt;i&gt;Build Action : Build.  &lt;/i&gt;&lt;/b&gt;The &lt;b&gt;&lt;i&gt;Build&lt;/i&gt;&lt;/b&gt; &lt;b&gt;&lt;i&gt;and Run&lt;/i&gt;&lt;/b&gt; button should again show  &lt;b&gt;&lt;i&gt;Build&lt;/i&gt;&lt;/b&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;b&gt;3. Setup from  CCS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;During the Build process, Code Composer Studio (CCS) opens up. A new project is created and the executable for the above circuit is made. However it is still not loaded and remains on the PC awaiting further instructions. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;RTDX has to be enabled next.  This has to be done from CCS. Follow following steps to do so.&lt;o:p&gt;  &lt;o:p&gt;  &lt;/o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-weight: normal; font-style: normal; font-variant: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;From CCS, go to  &lt;b&gt;&lt;i&gt;Tools&lt;/i&gt;&lt;/b&gt; Menu -&gt; &lt;b&gt;&lt;i&gt;RTDX&lt;/i&gt;&lt;/b&gt; -&gt; &lt;b&gt;&lt;i&gt;Configuration  control&lt;/i&gt;&lt;/b&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-weight: normal; font-style: normal; font-variant: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style=""&gt;Current  Settings&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span style=""&gt;  window opens  up &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-weight: normal; font-style: normal; font-variant: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Uncheck the &lt;b&gt;&lt;i&gt;Enable  RTDX&lt;/i&gt;&lt;/b&gt; checkbox &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-weight: normal; font-style: normal; font-variant: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Press the  &lt;b&gt;&lt;i&gt;Configure&lt;/i&gt;&lt;/b&gt; button &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-weight: normal; font-style: normal; font-variant: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;RTDX Configuration  Control Window pops up &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-weight: normal; font-style: normal; font-variant: normal;"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Choose RTDX mode :  &lt;b&gt;&lt;i&gt;continuous mode&lt;/i&gt;&lt;/b&gt;&lt;i&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-weight: normal; font-style: normal; font-variant: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Press &lt;b&gt;&lt;i&gt;OK&lt;/i&gt;&lt;/b&gt;  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;   &lt;li&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;span style="font-weight: normal; font-style: normal; font-variant: normal;"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;Check the &lt;b&gt;&lt;i&gt;Enable  RTDX&lt;/i&gt;&lt;/b&gt; checkbox&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;         &lt;p style="margin-left: 0.25in;"&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt;  &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;This slideshow illustrates the above process. Zoom in and locate the mouse within these screenshots to view the changes. &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;table border="1" width="100%"&gt;    &lt;tbody&gt;&lt;tr&gt;     &lt;td width="50%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/2.jpg"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/2.jpg" border="0" height="255" width="336" /&gt;&lt;/a&gt;&lt;/span&gt;       &lt;p&gt;&lt;span style="font-family:Arial;"&gt;Step 1&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td width="50%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/3.jpg"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/3.jpg" border="0" height="255" width="336" /&gt;&lt;/a&gt;&lt;/span&gt;       &lt;p&gt;&lt;span style="font-family:Arial;"&gt;Step 2&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;     &lt;td width="50%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/4.jpg"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/4.jpg" border="0" height="255" width="336" /&gt;&lt;/a&gt;&lt;/span&gt;       &lt;p&gt;&lt;span style="font-family:Arial;"&gt;Step 3&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;     &lt;td width="50%"&gt;&lt;span style="font-family:Arial;"&gt;&lt;a href="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/5.jpg"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/5.jpg" border="0" height="255" width="336" /&gt;&lt;/a&gt;&lt;/span&gt;       &lt;p&gt;&lt;span style="font-family:Arial;"&gt;Step 4&lt;/span&gt;&lt;/p&gt;     &lt;/td&gt;   &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;  &lt;/span&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;After  enabling RTDX, load the executable onto the DSP from CCS. From &lt;b&gt;&lt;i&gt;File&lt;/i&gt;&lt;/b&gt;  menu &lt;b&gt;&lt;i&gt;-&gt;&lt;/i&gt;&lt;/b&gt; choose &lt;b&gt;&lt;i&gt;Load Program&lt;/i&gt;&lt;/b&gt;. Do not execute it  yet. &lt;/span&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;b&gt;4. External Application Required&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;At this point, if you run the program on DSP, the value 302 will be generated on DSP and sent to the PC via parallel/ USB port. However we need an application to read the buffer where these sent values are stored. &lt;span style=""&gt;TI provides one such tool – General Purpose Display (GPD). (Search for this app within the folder where CCS is installed on your comp). Within GPD, Select &lt;b&gt;&lt;i&gt;Add Channel&lt;/i&gt;&lt;/b&gt; and provide the same  channel name (ochan1).&lt;o:p&gt; See Figures below.&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/GPD1.jpg" border="0" height="180" width="506" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-style: italic;"&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;Fig. General Purpose Display  Program&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/GPD2.jpg" border="0" height="262" width="501" /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-style: italic;font-family:Arial;" &gt;Fig. Options for Adding Channel&lt;/span&gt;&lt;b&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style=""&gt;&lt;span style="font-family:Arial;"&gt;Then run the executable on  DSP. Just after that, press the &lt;b&gt;&lt;i&gt;Start&lt;/i&gt;&lt;/b&gt; button on GPD. You should  see some familiar values popping up on screen.&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Discussion&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;  &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt; &lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;Provided everything ran successfully before, you can try other  variations of the previous program.&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;For example, you may log the values of the DSP's digital clock using  RTDX like in Fig. below.&lt;/span&gt;&lt;/p&gt;  &lt;p style=""&gt;&lt;span style="font-family:Arial;"&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/RTDX_config/RTDXckt2.jpg" border="0" height="82" width="190" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20967830-113914208034258310?l=dsptute.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsptute.blogspot.com/feeds/113914208034258310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20967830&amp;postID=113914208034258310' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/113914208034258310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/113914208034258310'/><link rel='alternate' type='text/html' href='http://dsptute.blogspot.com/2006/01/2-rtdx-real-time-data-exchange-yahoo.html' title='2 - RTDX – Real Time Data eXchange (Yahoo Chat)'/><author><name>kriti</name><uri>http://www.blogger.com/profile/04026769248220520791</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>19</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20967830.post-113849868345384454</id><published>2006-01-05T17:35:00.000-08:00</published><updated>2006-01-29T21:27:11.840-08:00</updated><title type='text'>3 - Finding an Unknown Frequency (The Number Game)</title><content type='html'>&lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);font-size:13;" &gt;Aim&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;To find  the frequency of a signal.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);font-size:13;" &gt;Apparatus /  Setup&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;There are  2 parts to this experiment. &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt; &lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Part      1 : Setting up the circuit and executing the&lt;span style=""&gt;       &lt;/span&gt;algorithm on DSP. Setup same as Experiment 1.&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Part      2 : Exchanging values between DSP and PC. Setup same as Experiment 2.&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);font-size:13;" &gt;Theory&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Remember the game in which you asked your friend to think of of any number between 1 and 100? Then you would ask him a few questions relating to the number. After a few such questions, you would tell him his secret number. And he would say, “Yes, that was the number I had thought of. But how did you know?”&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Well now we can are going to do a similar thing using our DSP board. Ask your friend to tune the Signal generator to generate a sine wave of any frequency between 500 and 1000 Hz. Then, feed this signal of unknown frequency into the DSP through its' Audio In port. Execute your algorithm on the DSP board. Then ask your friend to check whether a number popping up on your PC’s monitor is the same as his secret frequency. He will be quite amazed when the numbers match his secret frequency!!&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;There are quite a few ways to find the time-period / frequency of an unknown signal. We shall show the DSP implementation of one such technique.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Suppose we have kept our guessing range within 500 to 1000 Hz. This would correspond to a range in time-period (1/fs) of (1/1000 = ) 1 msec to ( 1/500 = ) 2 msec. Since DSK 6711 supports a sampling frequency of 8000 Hz, the range in time-period would correspond to: -&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top: 0in;" type="disc"&gt; &lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;1      msec &lt;i&gt;corresponds to&lt;/i&gt; ( 8000/1000 * 1 ) = 8 samples&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;2      msec &lt;i&gt;corresponds to&lt;/i&gt; ( 8000/1000 * 2) = 16 samples&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Now,  Auto-correlation function (ACF) gives values of the correlation at different  values of lag (&lt;span style=""&gt;τ&lt;/span&gt;). So if we have a signal of unknown frequency, and we find that its’ ACF plot looks like Figure below, we can make a safe venture on the value of the unknown frequency. &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" style="'width:431.25pt;"&gt;  &lt;v:imagedata src="file:///C:/DOCUME~1/KRITIS~1/LOCALS~1/Temp/msoclip1/01/clip_image001.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt; &lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/AutoCorrelationFunction_edited.jpg" border="0" height="432" width="693" /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:78%;"&gt;Figure 1 : Plot of Auto-Correlation Function&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;In the above diagram, the maxima within our range of interest lies at 10 samples. If you do some mental maths, you can quickly say what the value of the unknown frequency was. &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);font-size:13;" &gt;Procedure&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);font-size:13;" &gt;Part 1 -  Circuit&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;This process of guessing the unknown time-period / frequency by using the signal’s ACF is exactly what we would like to do using the DSP. I will draw below the basic block diagram of a Simulink circuit for achieving the same.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;img src="http://img.photobucket.com/albums/v292/kritisen/DSPTute/rateExtrnCkt_B.jpg" border="0" height="221" width="742" /&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="'width:428.25pt;height:155.25pt'" ole=""&gt;  &lt;v:imagedata src="file:///C:/DOCUME~1/KRITIS~1/LOCALS~1/Temp/msoclip1/01/clip_image003.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt; &lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="PBrush" shapeid="_x0000_i1025" drawaspect="Content" objectid="_1200020978"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt; &lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Note that the Sub-Matrix block is required to override the presence of a maxima at lag = 0. The maxima within the range of 8 to 16 samples is what interests us the most.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);font-size:13;" &gt;Part 2 -  RTDX&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;By the above process, the value of the unknown frequency is calculated. The value remains calculated and sits pretty within the DSP. However, as the DSP does not have a monitor/output screen, we have no way of accessing the calculated value! &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;Unless of course we use RTDX (Real Time Data Exchange). RTDX, as shown in Experiment 2, allows the PC and the DSP to exchange values/data. And as our good-old PC is equipped with a monitor, we can easily see the values calculated on the DSP popping up on the PC screen via RTDX. Follow the procedure enumerated in Experiment 2 to do the same.&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;b&gt;&lt;span style="color: rgb(153, 0, 0);font-size:13;" &gt;Discussion&lt;/span&gt;&lt;/b&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;  &lt;ol style="margin-top: 0in;" start="1" type="1"&gt; &lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;You can try out different dynamic ranges (other than 500 – 1000 Hz) to check the performance of the DSP and your algorithm.&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;There      are other methods apart from ACF to find an unknown frequency. Does FFT ring      a bell here?&lt;o:p&gt;     &lt;/o:p&gt;     &lt;/span&gt;&lt;/li&gt; &lt;/ol&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt; &lt;/o:p&gt; &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20967830-113849868345384454?l=dsptute.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsptute.blogspot.com/feeds/113849868345384454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20967830&amp;postID=113849868345384454' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/113849868345384454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/113849868345384454'/><link rel='alternate' type='text/html' href='http://dsptute.blogspot.com/2006/01/3-finding-unknown-frequency-number.html' title='3 - Finding an Unknown Frequency (The Number Game)'/><author><name>kriti</name><uri>http://www.blogger.com/profile/04026769248220520791</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20967830.post-114085901079120674</id><published>2006-01-04T01:14:00.000-08:00</published><updated>2006-02-26T00:45:11.500-08:00</updated><title type='text'>Acknowledgements</title><content type='html'>&lt;ul&gt;   &lt;li&gt;Dr. Gautam Saha (IIT Kgp)&lt;/li&gt;   &lt;li&gt;Snigdhamadhab Ghosh (DSP Lab, IIT Kgp)&lt;/li&gt;   &lt;li&gt;Samit Ari (Research Scholar, IIT Kgp)&lt;/li&gt;   &lt;li&gt;Jithun Nair, Deepraj Sahni and Arka Majumdar (Dept of E&amp;amp;ECE, IIT Kgp)&lt;/li&gt;&lt;li&gt;Atul Narain (MS Student, University of Berkeley)&lt;br /&gt;  &lt;/li&gt;  &lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20967830-114085901079120674?l=dsptute.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dsptute.blogspot.com/feeds/114085901079120674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20967830&amp;postID=114085901079120674' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/114085901079120674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20967830/posts/default/114085901079120674'/><link rel='alternate' type='text/html' href='http://dsptute.blogspot.com/2006/01/acknowledgements.html' title='Acknowledgements'/><author><name>kriti</name><uri>http://www.blogger.com/profile/04026769248220520791</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry></feed>
