<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DSP Forum - Recent Threads</title><link>https://community.element14.com/technologies/embedded/f/dsp-forum</link><description>For discussing Digital Signal Processing</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Mon, 24 Jul 2023 13:29:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/technologies/embedded/f/dsp-forum" /><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211992?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2023 13:29:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:161ad206-779d-4205-9649-f25d391cab57</guid><dc:creator>scottiebabe</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/211992?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Your bandwidth isn&amp;#39;t too far off audio&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/10/pastedimage1690205152621v1.png"  /&gt;&lt;/p&gt;
&lt;p&gt;I wonder what some of the spare no expense sound level meters do, presumably all of the analysis is done in the digital domain, with perhaps a programable LNA up front...&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/10/pastedimage1690205245403v2.png"  /&gt;&lt;/p&gt;
&lt;p&gt;Wish the teardown photos were higher resolution, lol&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/10/pastedimage1690205308878v3.png"  /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://fccid.io/2ASFB-2245-1/Internal-Photos/Internal-Photos-4337264"&gt;https://fccid.io/2ASFB-2245-1/Internal-Photos/Internal-Photos-4337264&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Oh and also a neat chip!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Algo for rms computation?</title><link>https://community.element14.com/thread/53320?ContentTypeID=0</link><pubDate>Wed, 19 Jul 2023 05:38:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a49891cb-7e3c-45c6-9ec1-0c6ba932a88f</guid><dc:creator>ggabe</dc:creator><slash:comments>12</slash:comments><comments>https://community.element14.com/thread/53320?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I&amp;rsquo;m entertaining a true rms computation on MSPM0G3507 for the 10Hz&amp;hellip;100KHz range.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The MCU is limited to 32K RAM, so I&amp;rsquo;d change the sampling frequency if I can determine the signal is periodic and in the lower frequency range.&lt;/p&gt;
&lt;p&gt;Is there any algorithm that aims capture N periods of a periodic signal?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Should I be better of by going into frequency domain with a proper window function, and possibly trying multiple sampling rates&amp;nbsp;to choose the proper range?&lt;/p&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211976?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2023 10:34:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c1afa010-a279-4eaf-baa2-a751d11c0c7a</guid><dc:creator>ggabe</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/211976?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;True! And it has one extra ENOB on the ADC specs, as TI boldly points out.&lt;/p&gt;
&lt;p&gt;What I also like about the TI EVB is the SMPS is implemented with software loop control. Allows exact power consumption measurement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211975?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2023 10:31:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7cc21554-e601-4340-9e69-09779629a8cf</guid><dc:creator>michaelkellett</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/211975?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;What I liked about the TI part is that it&amp;#39;s so cheap !&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp; a project for a client in mind where it&amp;#39;s a prefect fit (and the cheapness matters).&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve ordered a couple of the eval boards.&lt;/p&gt;
&lt;p&gt;MK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211966?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2023 10:00:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b9dc3a33-5b96-45d9-b645-95f955a1bd63</guid><dc:creator>ggabe</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/211966?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;If the TI part piqued your interest then there is STM32G431. It has single precision float, CORDIC and FMATH accelerators, imo better than IT&amp;#39;s offering.&amp;nbsp;&lt;/p&gt;
&lt;div class="page" title="Page 20"&gt;
&lt;div class="layoutArea"&gt;
&lt;div class="column"&gt;
&lt;p&gt;&lt;span&gt;Cordic features&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;24-bit CORDIC rotation engine&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Circular and Hyperbolic modes&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Rotation and Vectoring modes&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Functions: Sine, Cosine, Sinh, Cosh, Atan, Atan2, Atanh, Modulus, Square root, Natural logarithm&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Programmable precision up to 20-bit&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Fast convergence: 4 bits per clock cycle&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Supports 16-bit and 32-bit fixed point input and output formats&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Low latency AHB slave interface&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Results can be read as soon as ready without polling or interrupt&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;DMA read and write channels&lt;/span&gt;&lt;/p&gt;
&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="page" title="Page 21"&gt;
&lt;div class="layoutArea"&gt;
&lt;div class="column"&gt;
&lt;p&gt;&lt;span&gt;FMAC features&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;16 x 16-bit multiplier&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;24+2-bit accumulator with addition and subtraction&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;16-bit input and output data&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;256 x 16-bit local memory&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class="column"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="layoutArea"&gt;
&lt;div class="column"&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Up to three areas can be defined in memory for data buffers (two input, one output), defined by programmable base address pointers and associated size registers&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Input and output sample buffers can be circular&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Buffer &amp;ldquo;watermark&amp;rdquo; feature reduces overhead in interrupt mode&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Filter functions: FIR, IIR (direct form 1)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;AHB slave interface&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;DMA read and write data channels&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211801?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2023 07:51:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2a9ca8a4-1b68-4cf7-9af6-2b59321a29c4</guid><dc:creator>michaelkellett</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/211801?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ll be very interested to see how you get on with this. My own (limited) experiments in this direction have suggested that the ex. dec. has the advantage of stability and predictability but that more tuned methods which make assumptions or self modifications based on the signal may give very good results with some signals but can be caught out by others. My work was done on ST32H7 series processors which have the advantage of 16bit ADCs (not the best 16 bits I&amp;#39;ve ever seen) and the 400MHz 64 bit FP possibly makes up for the lack of the accelerator.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still working on the indirectly heated thermistor concept (which is an almost perfect physical analogue of the process I described above) but in reality it trades one kind of complexity (ADC, memory and maths) for a probably more expensive complexity in terms of insulation , heaters and thermal control &lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/263a.svg" title="Relaxed"&gt;&amp;#x263a;&lt;/span&gt;. But I have other reasons for being interested in the thermal control aspects so it remains a useful project to me.&lt;/p&gt;
&lt;p&gt;MK&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211779?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 18:27:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1c382eee-a67b-407f-b47c-e9b1837bf7b2</guid><dc:creator>ggabe</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/211779?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I think the algorithm with Ki used to be referred&amp;nbsp;as exponential decay averaging. The alternative, the moving averaging has a sensitivity when the weight of the partial periods start to influence the average. It happens on the lowest end of the spectrum. &lt;br /&gt;&lt;br /&gt;My gut feeling is the exponential decay has the same problem, probably tunable by&amp;nbsp;Ki for the expense of return to zero time, when the signal is removed.&lt;/p&gt;
&lt;p&gt;To address the low frequency accuracy concerns, I would experiment with reducing the sampling rate, if the signal is periodic and not much spectral power over let&amp;#39;s say fsample/200. This is where autocorrelation and/or FFT comes in. Luckily, it&amp;#39;s not much&amp;nbsp;trouble to simulate in a Jupyter notebook.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211778?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 17:51:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0294c541-e11b-4b9e-a498-6ed432dbdc5a</guid><dc:creator>ggabe</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/211778?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Yes, it is interesting. TI is selling the EVB for $16 direct. The part is very much a new item, TI is not sampling it yet. The accelerator is cool, but not as advanced as the MSP430&amp;#39;s LEA.&amp;nbsp;&lt;br /&gt;The benefit for me is no need for noisy SPI bus between ADC and CPU, and I can treat the MCU, once programmed, as a single part RMS converter.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211775?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 16:36:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fdedc3e9-36cc-433b-83e5-1b4e5d7ae959</guid><dc:creator>scottiebabe</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/211775?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Interesting chip!&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/10/pastedimage1689784523395v1.png"  /&gt;&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t see the cycle counts for the math co-processor but it looks interesting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211773?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 15:59:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:58e51de9-efbf-4474-a0ac-813f5b1cc6b5</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/211773?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;It sounds like you&amp;#39;re trying to measure frequency, although I wasn&amp;#39;t sure why. All the decent methods I can think of for measuring frequency would take time to compute : ( For instance by first getting the highest amplitude frequency bucket, and then sweeping inside that bucket using an algorithm.&lt;/p&gt;
&lt;p&gt;Unrelated, I was thinking that it could be possible to make a simple true RMS meter (nowhere near your desired spec) by using a cheap DSP module. There&amp;#39;s a basic example here (Example 7):&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://community.element14.com/products/raspberry-pi/b/blog/posts/wave-miner-10-experiments-with-a-pi-digital-signal-processor-dsp"&gt;Wave Miner: 10 Experiments with a Pi Digital Signal Processor (DSP)&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It could be completely standalone with that chip incidentally, if the web interface were replaced with a panel meter or moving-coil meter (i.e. all the code residing in the DSP chip).&amp;nbsp;Admittedly very&amp;nbsp;crude, but maybe interesting for those who don&amp;#39;t have such a feature in their multimeter.&lt;/p&gt;
&lt;p&gt;Also, the measurement bandwidth could be selected by buttons instead of the web interface too (not sure of the use-case, I only did that feature because it was easy in the DSP).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211754?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 09:17:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3293fa06-8c62-4bc4-bbee-dc0ea181c1ea</guid><dc:creator>michaelkellett</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/211754?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;What&amp;#39;s wrong with:&lt;/p&gt;
&lt;p&gt;sample (at 500kHz)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s&lt;/p&gt;
&lt;p&gt;square (at 500kHz)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sq = s * s&lt;/p&gt;
&lt;p&gt;mean (at 500kHz)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m = m + ( (sq - m) /&amp;nbsp; Ki)&lt;/p&gt;
&lt;p&gt;square root (at read out rate)&amp;nbsp; rms = m ^ 0.5&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Division by a constant can be done by multiplication by a constant and a shift operation.&lt;/p&gt;
&lt;p&gt;So you need 3 multiplies, 1 add, 1 subtract and 1 shift at sample speed, and the square root at read out speed.&lt;/p&gt;
&lt;p&gt;MK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211753?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 08:35:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:81793253-7600-40cd-aab2-0e86c8ddc3f6</guid><dc:creator>ggabe</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/211753?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;It turns out autocorrelation can be easily calculated by FFT/IFFT, per &amp;nbsp;Wiener-Khinchin. I&amp;rsquo;m onto something!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Algo for rms computation?</title><link>https://community.element14.com/thread/211750?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 07:31:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:208e88a3-108c-4f90-b461-00625a8dbe1a</guid><dc:creator>ggabe</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/211750?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53320/algo-for-rms-computation/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;After a little digging, I&amp;#39;m to do autocorrelation and finding the peaks. Would autocorrelation be as good use of the CPU resources as FFT?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: good FFT library for a non-ARM microcontroller</title><link>https://community.element14.com/thread/211685?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 06:22:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b48c5e09-01a6-4045-aaba-4ee70dcaec0a</guid><dc:creator>ggabe</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/211685?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53303/good-fft-library-for-a-non-arm-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;KissFFT: You can choose fixed or float data type:&amp;nbsp;&lt;a id="" href="https://github.com/mborgerding/kissfft"&gt;https://github.com/mborgerding/kissfft&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>good FFT library for a non-ARM microcontroller</title><link>https://community.element14.com/thread/53303?ContentTypeID=0</link><pubDate>Sun, 16 Jul 2023 19:03:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:031739a3-d553-41c0-8bd2-c4a7616263b4</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/53303?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53303/good-fft-library-for-a-non-arm-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m planning to make an FFT project for a Renesas RX microcontroller. Renesas provides a binary lib that works with their proprietary toolchain. It doesn&amp;#39;t support GNU/GCC.&lt;/p&gt;
&lt;p&gt;Do you know good C or C++ microcontroller-scale libraries that would be portable to another platform? Preferably one you have good experience with.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve done this before for the ARM CMSIS DSP FFT lib, together with [mention:a38610f314514468a980d9a30797642d:e9ed411860ed4f2ba0265705b8793d05]&amp;nbsp;. But that was for a TI Hercules, an ARM controller. &lt;br /&gt;The&amp;nbsp;RX platform that I&amp;#39;m targeting isn&amp;#39;t&amp;nbsp;ARM.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you &amp;#39;ve used a good library that you think is portable, let me know....&lt;/p&gt;</description></item><item><title>RE: good FFT library for a non-ARM microcontroller</title><link>https://community.element14.com/thread/211652?ContentTypeID=1</link><pubDate>Sun, 16 Jul 2023 22:18:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e7387294-6adb-4b1a-93f2-15a7f766d131</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/211652?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/53303/good-fft-library-for-a-non-arm-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi Jan,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know of anything either, like you I&amp;#39;ve only used the ARM version. I too would be interested to know of a decent library.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t care about efficiency (e.g. for slower sample rate applications) then I found this online for FFT computation:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://lloydrochester.com/post/c/example-fft/#c-implementation-of-the-fft"&gt;https://lloydrochester.com/post/c/example-fft/#c-implementation-of-the-fft&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It uses floats, so completely inefficient, but maybe not bad for an experiment, and likely portable. Not everything needs to be speedy, maybe accuracy is needed instead!&amp;nbsp;It seems to work (I checked the Test 2 test vector and result using MATLAB and it was identical).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It also&amp;nbsp;computes complex&amp;nbsp;FFT but the imaginary portion could be set to zero.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The code&amp;nbsp;at that web link&amp;nbsp;does work but needed a couple of very minor tweaks in the include file and makefile. If you want to use it then I&amp;#39;ve placed the code that built for me (on Linux PC) in the&amp;nbsp;&lt;a href="https://1drv.ms/u/s!AlgR3ZgXGd0MtkhS73PwgKeAMf5T?e=PnOWcy"&gt;FFT tar file here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>What is the difference between the two  https://www.element14.com/community/docs/DOC-87009  and.   https://www.element14.com/community/docs/DOC-40513</title><link>https://community.element14.com/thread/31945?ContentTypeID=0</link><pubDate>Fri, 03 Nov 2017 06:30:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1e1dadd5-e08a-4d22-b51e-e76740f3b835</guid><dc:creator>arjun619</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/31945?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/31945/what-is-the-difference-between-the-two-https-www-element14-com-community-docs-doc-87009-and-https-www-element14-com-community-docs-doc-40513/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;&lt;span&gt;What is the difference between the two&amp;nbsp; &lt;/span&gt;&lt;a class="jive-link-wiki-small" href="https://www.element14.com/community/docs/DOC-87009/l/delfino-experimenter-kit-f28379d"&gt;https://www.element14.com/community/docs/DOC-87009&lt;/a&gt;&lt;span&gt;&amp;nbsp; and.&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;a class="jive-link-wiki-small" href="https://www.element14.com/community/docs/DOC-40513/l/tms320f28335-ezdsp-starter-kit"&gt;https://www.element14.com/community/docs/DOC-40513&lt;/a&gt;&lt;/p&gt;</description></item><item><title>RE: 450MHz Shark DSP Dev-kits</title><link>https://community.element14.com/thread/104386?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 16:20:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ec7b6bfb-0587-4938-999b-d1a977d364ea</guid><dc:creator>edsonbrusque</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/104386?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/23095/450mhz-shark-dsp-dev-kits/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hello Linas Karpavicius!&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I&amp;#39;m starting a project with SHARC and would like to buy this board.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Please, email me at edsonbrusque (at) gmail (dot) com.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 450MHz Shark DSP Dev-kits</title><link>https://community.element14.com/thread/83749?ContentTypeID=1</link><pubDate>Sun, 06 Mar 2016 21:08:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:510485b5-f5eb-4b40-87e1-d954a6c53f64</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/83749?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/23095/450mhz-shark-dsp-dev-kits/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hi &lt;/p&gt;&lt;p style="margin:0;"&gt;do you have a datasheet, manual or something like that?&lt;/p&gt;&lt;p style="margin:0;"&gt;Is it available jet, and what would be the price?&lt;/p&gt;&lt;p style="margin:0;"&gt;Ivica&lt;/p&gt;&lt;p style="margin:0;"&gt;ivica _at _tsbest _dot _net&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Arduino + Audio DSP = Aida DSP</title><link>https://community.element14.com/thread/1187?ContentTypeID=0</link><pubDate>Wed, 16 Dec 2015 15:51:08 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2bbefe09-3094-44d5-9beb-051d93587ae0</guid><dc:creator>max.payne86</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/1187?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/1187/arduino-audio-dsp-aida-dsp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Hi,&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Aida DSP is a solution&lt;/p&gt;&lt;p style="margin:0;"&gt;for starting doing audio dsp projects faster.&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10pt;line-height:1.5em;"&gt;&lt;a class="jive-link-external-small" href="https://github.com/AidaDSP/AidaDSP/wiki" rel="nofollow ugc noopener" target="_blank" title="https://github.com/AidaDSP/AidaDSP/wiki"&gt;https://github.com/AidaDSP/AidaDSP/wiki&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10pt;line-height:1.5em;"&gt;during project developement I focused on available applications&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;so you&amp;#39;ll find a lot of open source examples&lt;/p&gt;&lt;p style="margin:0;"&gt;ready to run on the Aida DSP board.&lt;/p&gt;&lt;p style="margin:0;"&gt;A library for controlling DSP in real time with Arduino&lt;/p&gt;&lt;p style="margin:0;"&gt;is available, on github repo.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span&gt;[View:/resized-image/__size/620x325/__key/communityserver-discussions-components-files/10/3264.contentimage_5F00_64763.jpg:620:325]&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;If you are interested, contact us&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a class="jive-link-email-small" href="mailto:max@aidadsp.com"&gt;max@aidadsp.com&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Thank you&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;M&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="font-size:10pt;line-height:1.5em;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Filter IC sample rate vs. cutoff frequency</title><link>https://community.element14.com/thread/1082?ContentTypeID=0</link><pubDate>Wed, 02 Dec 2015 10:01:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2c18cf90-d7f2-4e8d-a87d-02b6ea07cfab</guid><dc:creator>ocwo92</dc:creator><slash:comments>11</slash:comments><comments>https://community.element14.com/thread/1082?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/1082/filter-ic-sample-rate-vs-cutoff-frequency/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I&amp;#39;m looking at the LTC1064 and its family members of low pass filters and the datasheets confuse me.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;On most of these ICs, you set the cutoff frequency by selecting a clock frequency. According to the datasheets, most of the ICs now sample the signal at a sample rate of twice the cutoff frequency, i.e., at the Nyquist limit, to avoid aliasing.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;To me this seems to defeat the very purpose of the low-pass filter. The purpose of low-pass filtering a signal prior to sampling it is to enable us to safely use a sample rate at the Nyquist rate without risking aliasing(*). However, by sampling first and filtering afterwards, aliasing will almost &lt;span style="font-size:13.3333px;"&gt;certainly &lt;/span&gt;occur.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;What am I missing?&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;(*) Nit-picking: yes, I am aware at the Nyquist rate you will incur some aliasing unless the signal is perfectly band-limited to half the Nyquist frequency so in practice either a lower cut-off frequency or a higher sampling rate should be selected.&lt;/p&gt;</description></item><item><title>RE: Filter IC sample rate vs. cutoff frequency</title><link>https://community.element14.com/thread/79967?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 15:41:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d987f504-5972-4e1d-951e-d8d1ffa7e087</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/79967?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/1082/filter-ic-sample-rate-vs-cutoff-frequency/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;I see. Yes, it will be a small fraction, I&amp;#39;ve not checked the datasheet in detail so it could be ambiguous. Anyway we got there in the end, glad it&amp;#39;s all sorted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Filter IC sample rate vs. cutoff frequency</title><link>https://community.element14.com/thread/79966?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 15:37:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6534eed4-b03a-483e-9255-3a02f6da15f5</guid><dc:creator>ocwo92</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/79966?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/1082/filter-ic-sample-rate-vs-cutoff-frequency/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Shabaz,&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p style="margin:0;"&gt;&lt;span style="font-size:10pt;line-height:1.5em;"&gt;With respect you yourself said:&lt;/span&gt;&lt;/p&gt;
&lt;blockquote class="jive-quote"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;But... since the filter IC&amp;#39;s cut-off frequency is always half of the IC&amp;#39;s sampling frequency&lt;/span&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;That was of course referring to what the data sheet seemed to say about the cut-off frequency and its sampling frequency on this particular IC (hence the reference to the filter IC&amp;#39;s behavior). I think I made it quite clear that this would render the IC rather ineffective.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;line-height:1.5em;"&gt;Right, exactly that -&amp;nbsp; in the very first response it was stated that the cut-off frequency would be a tiny fraction of the clock frequency.&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Yes, but that wasn&amp;#39;t really my question. If the cut-off frequency is a small fraction of the sample rate, then everything is indeed fine. I was merely asking what the datasheet could possibly mean because it seemed to say otherwise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Filter IC sample rate vs. cutoff frequency</title><link>https://community.element14.com/thread/79965?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 15:14:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b96189d0-0055-4574-9d24-c1daeceb9e1d</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/79965?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/1082/filter-ic-sample-rate-vs-cutoff-frequency/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;With respect you yourself said:&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;But... since the filter IC&amp;#39;s cut-off frequency is always half of the IC&amp;#39;s sampling frequency&lt;/span&gt;&lt;/blockquote&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;And I specified:&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;Cut-off frequency != sample rate (nor half of it)&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;This has nothing to do with the IC - it is a standard way all switched capacitor filters behave. This is not specific to the IC.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;In conclusion, I think I&amp;#39;ll just believe the ICs are in fact sampling at a much higher rate than the cut-off frequency&lt;/span&gt;&lt;/blockquote&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;Right, exactly that -&amp;nbsp; in the very first response it was stated that the cut-off frequency would be a tiny fraction of the clock frequency. &lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;The clock frequency is the switching frequency of the integrated circuit, and is the &amp;#39;f&amp;#39; in the formula on the Wikipedia page, and the LT.. datasheet will&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;provide the exact divisor for you to determine the cut-off frequency.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;span style="color:#333333;font-family:Verdana;font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Filter IC sample rate vs. cutoff frequency</title><link>https://community.element14.com/thread/79964?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 15:04:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:41c95131-8e13-4784-b20b-697c1723c671</guid><dc:creator>ocwo92</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/79964?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/dsp-forum/1082/filter-ic-sample-rate-vs-cutoff-frequency/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p style="margin:0;"&gt;Shabaz,&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p style="margin:0;"&gt;Cut-off frequency != sample rate (nor half of it)&lt;/p&gt;
&lt;p style="margin:0;"&gt;and&lt;/p&gt;
&lt;p style="margin:0;"&gt;&lt;span style="font-size:13.3333px;"&gt;Cut-off frequency != &lt;/span&gt;clock frequency (nor half of it)&lt;/p&gt;
&lt;/blockquote&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;I know that perfectly, and I don&amp;#39;t see why you think I&amp;#39;ve said otherwise. I&amp;#39;ve actually designed and built analog and digital filters before; it&amp;#39;s just the LTC chips that I haven&amp;#39;t played with before.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;Reading the datasheets for some of the other ICs in the family actually makes me somewhat confident that I must have misunderstood the first datasheet that I read (unfortunately I don&amp;#39;t recall which one that was) because they don&amp;#39;t discuss any sample rate being twice the cut-off frequency at all.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;However, the datasheet I first read did seem to suggest that if I selected the clock speed for a particular cut-off frequency (so that the clock speed is indeed many times higher than the cut-off frequency), somehow the IC would be sampling at a frequency of just twice the cut-off frequency. It was just te latter that didn&amp;#39;t make sense to me.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;In conclusion, I think I&amp;#39;ll just believe the ICs are in fact sampling at a much higher rate than the cut-off frequency, as this is the only thing that makes sense to me.&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>