Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Request: update CMSIS-DSP (arm_math.h)

  1. #1

    Request: update CMSIS-DSP (arm_math.h)

    I was starting to write with the CMSIS-DSP stuff and noticed the library (ie. arm_math.h) is version 1.1.0 from Feb 2012.

    This version is getting pretty old, I think the latest is 1.5.1 from Jan 2017.

    I'm particularly interested because it appears new, faster versions of the floating point FFTs are now available with the old ones being deprecated.

    "The main functions are arm_rfft_fast_f32() and arm_rfft_fast_init_f32(). The older functions arm_rfft_f32() and arm_rfft_init_f32() have been deprecated but are still documented."


    http://www.keil.com/pack/doc/CMSIS/D...__RealFFT.html

    These 'fast' functions do not appear to be available in the older 1.1.0.

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Posts
    1,214
    Quote Originally Posted by Blackaddr View Post
    I was starting to write with the CMSIS-DSP stuff and noticed the library (ie. arm_math.h) is version 1.1.0 from Feb 2012.

    This version is getting pretty old, I think the latest is 1.5.1 from Jan 2017.

    I'm particularly interested because it appears new, faster versions of the floating point FFTs are now available with the old ones being deprecated.

    "The main functions are arm_rfft_fast_f32() and arm_rfft_fast_init_f32(). The older functions arm_rfft_f32() and arm_rfft_init_f32() have been deprecated but are still documented."


    http://www.keil.com/pack/doc/CMSIS/D...__RealFFT.html

    These 'fast' functions do not appear to be available in the older 1.1.0.
    AFAIK,
    the teensy arm_math.h and related arm files in cores/teensy3 are customized by Paul and consistent CMSIS_DSP stuff used in audio.
    CMSIS developed code further, as you rightly noted, but modified the file structure/content making painless upgrade somewhat difficult.

    My work around:
    I use DSP code from CMSIS V5, created own local DSP library to overload cores/teensy3 files and I removed the CMSIS library provided by teensyduino
    (note: CMSIS uses special compiler flag for fastest execution)
    Alternatively,
    there is another thread on this forum where instructions are given on how to modify cores/teensy3 to use updated DSP library.

  3. #3
    Thanks WMXZ, I'll look into your suggestions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •