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
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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).
steve
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?
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.
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.
I am also waiting for this.
Any new status as this was going to be ready at the end of last month?
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.
Hi Brian,
I note that TI Code generation tools 5.0 or later are required. My CCS installation does not appear to include this version (the latest is 4.9.6). Where can I get 5.0.1 tools from?
Thanks,
Richard
I worked out how to do this myself in the end:
My understanding is that by default, when you click Help, Check for Updates, only compiler updates in the same series are installed. In other words, with my installation, only compiler updates in the 4.9.x family are installed.
To install compilers in the 5.0.x series, this site needs to be added to the update list by using Help, Install New Software... 5.0.1 lives under Code Generation Tools updates as I recall.
thanks! but how can we use it? so much errors when trying to compile a project...
can we use a .lib directly? is there somewhere a pdf explaining it?
thanks and regards,
pierre
Hi Pierre,
There is some documentation in the Docs folder. Because this thread is answered you are better to open a new thread.
Regards,
Richard
Thanks Richard,
My problems come from the compiler : CCS include 4.9.1 and not 5.1. I can not update CCS directly because of my company's proxy rules :-
Where can I download this compiler?
I tried with C6000 and C2000 but CCS can not recognize them.
Hi Pierre,
If you look a few posts up you will see how I managed to updated to V5.1 tools without updating CCS. Normally you would be able to download the CCS V5.3 update from http://processors.wiki.ti.com/index.php/Download_CCS (this includes the 5.1 compiler).
Regards,
Richard