element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
DSP Forum good FFT library for a non-ARM microcontroller
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 124 subscribers
  • Views 1130 views
  • Users 0 members are here
  • gcc
  • embedded
  • renesas
  • dsp
  • fft
Related

good FFT library for a non-ARM microcontroller

Jan Cumps
Jan Cumps over 2 years ago

I'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't support GNU/GCC.

Do you know good C or C++ microcontroller-scale libraries that would be portable to another platform? Preferably one you have good experience with.

I've done this before for the ARM CMSIS DSP FFT lib, together with martinvalencia . But that was for a TI Hercules, an ARM controller.
The RX platform that I'm targeting isn't ARM. 

If you 've used a good library that you think is portable, let me know....

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 2 years ago +4
    Hi Jan, I don't know of anything either, like you I've only used the ARM version. I too would be interested to know of a decent library. If you don't care about efficiency (e.g. for slower sample rate…
  • ggabe
    ggabe over 2 years ago +2
    KissFFT: You can choose fixed or float data type: https://github.com/mborgerding/kissfft
  • shabaz
    shabaz over 2 years ago

    Hi Jan,

    I don't know of anything either, like you I've only used the ARM version. I too would be interested to know of a decent library.

    If you don't care about efficiency (e.g. for slower sample rate applications) then I found this online for FFT computation:

    https://lloydrochester.com/post/c/example-fft/#c-implementation-of-the-fft

    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! It seems to work (I checked the Test 2 test vector and result using MATLAB and it was identical). 

    It also computes complex FFT but the imaginary portion could be set to zero. 

    The code at that web link does work but needed a couple of very minor tweaks in the include file and makefile. If you want to use it then I've placed the code that built for me (on Linux PC) in the FFT tar file here.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • ggabe
    ggabe over 2 years ago

     KissFFT: You can choose fixed or float data type: https://github.com/mborgerding/kissfft

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube