• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » Re: DSP libraries available for the Cortex R4?
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Re: DSP libraries available for the Cortex R4?

This question is answered
steveg
Posted by steveg
on Jul 25 2011 08:52 AM
Intellectual270 points

Anthony,

Do you know if there are DSP libraries available for the Cortex R4? In assembly using the SIMD instructions? Hate to have to reinvent the wheel, I just need standard FIR filters, FFT's etc.

steve

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Brian Fortman
    Posted by Brian Fortman
    on Jul 25 2011 10:25 AM
    Expert5255 points

    Hi Steve,

    There is a plan to bring the ARM CMSIS 2.0 DSPLib to the Cortex-R4.  This library supports the FPU (and some SIMD, I understand) for the Cortex-M4.  The objective will be to bring this scope to take better advantage of the R4 ISA and to provide some C optimizations taking the 8-stage pipeline into account. 

    You can download the M4 version as the conceptual basis for what will used on R4. http://www.onarm.com/cmsis/download/10/version-2-0-of-the-cortex-microcontroller-software-interface-standard-cmsis/

    The libraries are optimized C – not hand-coded assembly optimizations.

    When we have some more accurate timing on the release, we will post on the wiki or Forum.  

    Is your need immediate?  

    Also, I see that you are using the 4.9 compiler.  I believe there may be some differences in the intrinsics used in CMSIS (ARM's) vs. the TI compiler.  Our goal will be to support both but ARM's will likely be supported first.

     


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrew Levi
    Posted by Andrew Levi
    on Aug 12 2011 14:43 PM
    Prodigy145 points

    Just want to throw my vote behind getting CMSIS support for the Cortex-R4F (TMS570).

    This would be very useful for the project I am working on.

    Mostly I require Low Pass FIR filtering for 16-bit and 32-bit integer data.

    Andy

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • steveg
    Posted by steveg
    on Aug 15 2011 09:12 AM
    Suggested Answer
    Intellectual270 points

    Andy,

    I ended up writing my own in assembly, an 800%+ improvement in speed occurred for my FIR filter, I used the below article as a guide (C code was 670usec vs 80usec in assembly).

    steve

     

    http://www.eetimes.com/design/signal-processing-dsp/4017562/Using-the-ARM-Cortex-R4-for-DSP-part-2-Software-optimization?pageNumber=1

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brian Fortman
    Posted by Brian Fortman
    on Nov 18 2011 11:20 AM
    Expert5255 points

     

    Andy,

    We are still working to enable the CMSIS DSP Library for the Hercules family.  Please stay tuned.  In the meantime, did Steve's suggestion solve your immediate concern?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrew Levi
    Posted by Andrew Levi
    on Nov 18 2011 11:54 AM
    Verified Answer
    Verified by Brian Fortman
    Prodigy145 points

    Brian,

    Yes, we are using that link to design a filter.

    Andy

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brian Fortman
    Posted by Brian Fortman
    on Feb 02 2012 11:07 AM
    Expert5255 points

    An update ... we have received the R4 dsplib from ARM and are in the process of evaluating it and to make it easy to use and understand the benefits.  This effort will require a few more weeks of work.  Look for a public posting of this library in the March 2012 timeframe.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tan Dat Tran
    Posted by Tan Dat Tran
    on Mar 16 2012 17:51 PM
    Intellectual600 points

    Is it now available ? Please inform me. Thank you.

    CMSIS
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brian Fortman
    Posted by Brian Fortman
    on Mar 19 2012 10:38 AM
    Expert5255 points

    We are still targeting the end of this month.  Is there something specific in the DSP lib that you are interested in?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tan Dat Tran
    Posted by Tan Dat Tran
    on Mar 19 2012 17:05 PM
    Intellectual600 points

    I can tell you that the we are expecting a reasonable  pre-optimized DSP lib so we can use it without too much care. Also the best one fits the capabilities of the R4F core.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tan Dat Tran
    Posted by Tan Dat Tran
    on Apr 02 2012 18:02 PM
    Intellectual600 points

    Hi again. Is there anything new ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrew Levi
    Posted by Andrew Levi
    on Apr 09 2012 11:04 AM
    Prodigy145 points

    I am also waiting for this.

    Any new status as this was going to be ready at the end of last month?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrew Levi
    Posted by Andrew Levi
    on Apr 16 2012 10:07 AM
    Prodigy145 points

    Can we please have an update?

    Thx,

    Andy

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Manuel Fuchs
    Posted by Manuel Fuchs
    on Jul 17 2012 05:50 AM
    Prodigy170 points

    Any updates on the DSP library?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Holly Zhou
    Posted by Holly Zhou
    on Jul 20 2012 15:57 PM
    Prodigy55 points

    Is the DSP libarary available now for the Cortex-R4F? This would be very usefule for the project I'm working on, mostly I require a fast FPU math libaray similiar as what TI provided from its ControlSuite.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brian Fortman
    Posted by Brian Fortman
    on Sep 13 2012 09:57 AM
    Expert5255 points

    Steve, Tan, Andy, Manuel, Holly,

    Thank you all for your patience.  At long last we have the Cortex-R4 DSP Library available for download on the TI product web site.  Please note that it does expect TI Code Generation Tools 5.0 or greater.  This is one of the key reasons we needed to delay.  We also wanted to deliver a complete library of functions and that required some additional time to sort through some of the differences in intrinsics between Keil and TI compilers.  I hope this can still be of use to your projects.  Have fun!

    Description

    TI's Cortex-R4 DSP library conforms to ARM’s Cortex Microcontroller Software Interface Standard (CMSIS), a standardized hardware abstraction layer for the Cortex processor series. The CMSIS-DSP library includes 60+ functions covering vector operations, matrix computing, complex arithmetic, filter functions, control functions, PID controller, Fourier transforms and many other frequently used DSP algorithms. Most algorithms are available in floating-point and various fixed-point formats and are optimized for the Cortex-R series processors. The Cortex-R4 processor implementation uses the ARM DSP SIMD (Single Instruction Multiple Data) instruction set and floating-point hardware to enable fully the capabilities of the Cortex-R4 processor for signal processing algorithms. The CMSIS-DSP library, written entirely in C and delivered with source code, enables software programmers to adapt algorithms for specific application requirements and can deliver higher performance for digital signal processing and control applications than can be achieved typically by compilers and run time support libraries.

    Features
    • Basic math functions
    • Fast math and trig functions
    • Interpolation functions
    • Complex math functions
    • Statistics functions: Mean, RMS, std
    • Filtering functions: FIR, IIR, LMS
    • Transform functions: FFT, DCT
    • Basic matrix functions
    • Controller functions: PID, Clarke, Park, FOC
    • Support functions: Copy and conversion
    What's Included

    Projects supporting CCS5, Keil and IAR code generation are included. An example object code library is included as well.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use