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
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.
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
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).
http://www.eetimes.com/design/signal-processing-dsp/4017562/Using-the-ARM-Cortex-R4-for-DSP-part-2-Software-optimization?pageNumber=1
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?
Brian,
Yes, we are using that link to design a filter.
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.
Is it now available ? Please inform me. Thank you.
We are still targeting the end of this month. Is there something specific in the DSP lib that you are interested in?
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.
Hi again. Is there anything new ?
I am also waiting for this.
Any new status as this was going to be ready at the end of last month?
Can we please have an update?
Thx,
Any updates on the DSP library?
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.
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!
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.
Projects supporting CCS5, Keil and IAR code generation are included. An example object code library is included as well.