<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ok, I think I’ve found it.<div class=""><br class=""></div><div class="">If you download XC16 for Microchip’s MPLAB X and install it, you get an “xc16” folder inside the “microchip" folder</div><div class=""><br class=""></div><div class="">The path is then:</div><div class=""><br class=""></div><div class="">xc16/v1.34/src/libdsp.zip</div><div class=""><br class=""></div><div class="">Opening the zip file reveals four folders, “docs”, “lib”, “src”, and “support”. In the “Src” folder is *another* file called libdsp.zip. Opening that one finally reveals the goodies - amongst which is a folder called “asm” which seems to have assembly routines in it.</div><div class=""><br class=""></div><div class="">Indiana Jones would have had fun finding that!</div><div class=""><br class=""><div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">==================<br class=""> Electric Druid<br class="">Synth & Stompbox DIY<br class="">==================</div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 29 Apr 2018, at 11:17, Richie Burnett <<a href="mailto:rburnett@richieburnett.co.uk" class="">rburnett@richieburnett.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi all,<br class=""><br class="">Has as anyone managed to get an FFT to work on dsPIC?<br class=""><br class="">I'm programming in Assembly and have been looking for a pre-written FFT routine.<br class=""><br class="">Manufacturers of other DSPs I've worked on have always provided highly-optimised library functions to call for functions like FFTs, but I'm struggling to find likewise for the dsPIC.<br class=""><br class="">Microchip's "dsPIC Language Tools Libraries" document says...<br class=""><br class="">"2.1 INTRODUCTION. The DSP Library provides a set of digital signal processing operations to a program targeted for execution on a dsPIC30F digital signal controller (DSC). The library has been designed to provide you, the C software developer, with efficient implementation of the most common signal processing functions. In total, 49 functions are supported by the DSP Library. A primary goal of the library is to minimize the execution time of each function. To achieve this goal, the DSP Library is predominantly written in optimized assembly language. By using the DSP Library, you can realize significant gains in execution speed over equivalent code written in ANSI C. Additionally, since the DSP Library has been rigorously tested, using the DSP Library will allow you to shorten your application development time."<br class=""><br class="">Fantastic! That's what I want. And it then goes on to say...<br class=""><br class="">"2.1.1 Assembly Code Applications. A free version of this library and its associated header file is available from the Microchip web site. Source code is included."<br class=""><br class="">...but, I can't find it anywhere! :-( Maybe because Microchip have reorganised their website after the Atmel merger (>.<)<br class=""><br class="">Does anyone have the illusive "FFT.asm" or "FFT.s" file containing the "FFTComplexIP" function lurking on their hard drive?<br class=""><br class="">Any help / pointers very gratefully received!<br class=""><br class="">Many thanks,<br class=""><br class="">-Richie,<br class=""><br class="">_______________________________________________<br class="">Synth-diy mailing list<br class=""><a href="mailto:Synth-diy@synth-diy.org" class="">Synth-diy@synth-diy.org</a><br class="">http://synth-diy.org/mailman/listinfo/synth-diy<br class=""></div></div></blockquote></div><br class=""></div></body></html>