<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DSP using the MCF5213 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136067#M1762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Actually Freescale does have filter examples (and source) on the web site....we just like to make you look really hard for them :smileywink:&lt;/P&gt;&lt;P&gt;The IIR, FIR, and FFT examples work with the ColdFire MAC and eMAC modules.&lt;/P&gt;&lt;P&gt;Note that the code was tested on the MCF5282 specifically.&lt;/P&gt;&lt;P&gt;Documentation: &lt;A href="http://www.freescale.com/files/32bit/doc/ref_manual/CFLMOPM.pdf" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/32bit/doc/ref_manual/CFLMOPM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source code: &lt;A href="https://www.freescale.com/webapp/Download?colCode=CFLMOPMSW&amp;amp;prodCode=MCF5282&amp;amp;nodeId=0162468rH3YTLC00M95448&amp;amp;appType=license&amp;amp;location=psp" rel="nofollow" target="_blank"&gt;https://www.freescale.com/webapp/Download?colCode=CFLMOPMSW&amp;amp;prodCode=MCF5282&amp;amp;nodeId=0162468rH3YTLC00M95448&amp;amp;appType=license&amp;amp;location=psp&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, DavidS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2006 22:58:25 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2006-05-18T22:58:25Z</dc:date>
    <item>
      <title>DSP using the MCF5213</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136063#M1758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hey guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i was wondering if you could point me in the direction of figuring out how to implement a digital filter using the MCF5213. As a side project, I would like to be able to use the processing power of this controller, along with a SPI D/A to be able to implement some IIR filters, or maybe a simple FIR. I have seen somewhere a user manual here at freescale for a library package, but havn't seen the actual files anywhere. Also, the user manual, far as i can tell, does not tell the structure of the IIR filter, just says that you inptu a0,b0,a1,b1....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help or pointers would be great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Trevor&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 15:36:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136063#M1758</guid>
      <dc:creator>airswit</dc:creator>
      <dc:date>2006-05-15T15:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: DSP using the MCF5213</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136064#M1759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, Trevor:&lt;BR /&gt;&lt;BR /&gt;I'm not sure where to start, it's such a big topic . . .&lt;BR /&gt;&lt;BR /&gt;I have implemented IIR filters in the Motorola 24 bit DSPs, and I've done FIR filters in the DSPs, as well as in the HC05s and HC08s. The large memory space of the ColdFire should allow for a wide range of FIR filters.&lt;BR /&gt;&lt;BR /&gt;I have a FIR algorithm that uses only a subtract, add and replace for each iteration (NO multiplies or divides). However, it uses a simple box for windowing, so it's cutoff is not very sharp. I use it for motor control, not something as demanding as audio.&lt;BR /&gt;&lt;BR /&gt;IIR filters are much harder to design than FIR filters, but you can get pretty high performance with a low memory and moderate cpu footprint. designing them means computing the coefficients (a0, b0, a1, b1 . . . ) which requires some serious math. I know of three manual methods of computing the coefficients, but all require calculus. I have a MathCad document/program that calculates the order of the IIR filter and the coefficients for me, using one of those methods. I can send it, if you like.&lt;BR /&gt;&lt;BR /&gt;I can point you to some of the filter appnotes for the DSP56xxx, but I'm not sure if they would be much use, since they heavy with DSP code, but light in theory.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 00:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136064#M1759</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2006-05-16T00:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: DSP using the MCF5213</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136065#M1760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;hrm..i was hoping that they had some algorithms already made up. I just finished up a class teaching the basics of dsp, ie how to derive transfer functions, stability, and all that, but didn't have much on implementation, especially in software. I don't really have time to write my own software to do all of the algorithms, i was just hoping that there were some free programs that could run on the coldfire out there.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Trevor&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2006 06:32:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136065#M1760</guid>
      <dc:creator>airswit</dc:creator>
      <dc:date>2006-05-16T06:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: DSP using the MCF5213</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136066#M1761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Here's an archive with a FIR filter written for the Motorola DSP56824. The code also has the coefficients to implement a low-pass and a high-pass filter. The program ran on a board that had 8-bit audio input and output. You'd compile the code for, say the low-pass filter, and then pipe audio through the board, unfiltered. Hit a button and the filter would kick in, and you'd hear the audio change, with the high frequencies blocked. That made for a pretty cool real-time demo. It may not be the best code in the world, but perhaps it can serve as a starting point and it's field-tested. &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;BR /&gt;&lt;BR /&gt;The FIR filter is written all in C, so it should be easy to adapt to your particular DSP.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;P&gt;Message Edited by J2MEJediMaster on &lt;SPAN class="date_text"&gt;05-17-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:25 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/msg288_DSP_Filter.zip" rel="nofollow" target="_self"&gt;DSP Filter.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-09-02&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:16 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 03:24:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136066#M1761</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2006-05-18T03:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: DSP using the MCF5213</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136067#M1762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Actually Freescale does have filter examples (and source) on the web site....we just like to make you look really hard for them :smileywink:&lt;/P&gt;&lt;P&gt;The IIR, FIR, and FFT examples work with the ColdFire MAC and eMAC modules.&lt;/P&gt;&lt;P&gt;Note that the code was tested on the MCF5282 specifically.&lt;/P&gt;&lt;P&gt;Documentation: &lt;A href="http://www.freescale.com/files/32bit/doc/ref_manual/CFLMOPM.pdf" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/32bit/doc/ref_manual/CFLMOPM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source code: &lt;A href="https://www.freescale.com/webapp/Download?colCode=CFLMOPMSW&amp;amp;prodCode=MCF5282&amp;amp;nodeId=0162468rH3YTLC00M95448&amp;amp;appType=license&amp;amp;location=psp" rel="nofollow" target="_blank"&gt;https://www.freescale.com/webapp/Download?colCode=CFLMOPMSW&amp;amp;prodCode=MCF5282&amp;amp;nodeId=0162468rH3YTLC00M95448&amp;amp;appType=license&amp;amp;location=psp&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, DavidS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2006 22:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136067#M1762</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2006-05-18T22:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: DSP using the MCF5213</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136068#M1763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;please fix the broken link to the macro library code given in the previous post - thanks!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 13:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DSP-using-the-MCF5213/m-p/136068#M1763</guid>
      <dc:creator>rathben</dc:creator>
      <dc:date>2008-01-31T13:32:58Z</dc:date>
    </item>
  </channel>
</rss>

