cancel
Showing results for 
Search instead for 
Did you mean: 

First Industry STM32 DSP Library announcement

16-32micros
Associate III
Posted on November 04, 2008 at 13:42

First Industry STM32 DSP Library announcement

7 REPLIES 7
16-32micros
Associate III
Posted on May 17, 2011 at 12:49

Dear all,

I'm Pleased to announce you the availability of a DSP library of our STM32 microcontrollers, allowing developers to take full advantage of the STM32 to host signal processing and control functions on the same core. ST is the first supplier of ARM Cortex-M3 based MCUs to provide an extensive DSP library, allowing developers to optimize application performance and reduce time to market.

The STM32 DSP library is license-free, royalty-free, and provides a large number of valuable functions coded in C or assembly language. These include a PID controller, Fourier transform functions, and a selection of digital filters such as 16-bit FIR, IIR direct-form, and IIR canonical-form filters. The functions are ready to use, easy to integrate, and are comprehensively documented to promote software maintainability and accelerate end-product development.

Taking advantage of the signal-processing capabilities of the ARM Cortex-M3 instruction set, the library functions achieve high execution speeds. Operations such as multiply-accumulate or hardware divide can be executed within only two cycles. Demonstrations running on the STM32F103 Performance Line MCU have performed a complex 256-point 16-bit radix-4 Fast Fourier Transform (FFT) in only 362µs.

Compared to alternative hybrid architectures such as digital signal controllers (DSC) with separate control- and signal-processing cores, the STM32 streamlines software development, enhances performance, and allows developers to use standard tools. The new DSP libraries can be used with the IAR, Keil and Raisonance tool-chains for the STM32. Developers will take advantage of these benefits to reduce cost and time-to-market for applications such as digital power conversion including solar-energy projects, closed-loop control of switched-mode power supplies, audio and speech processing, and digital image processing.

The STM32 DSP software library includes the following digital signal processing functions:

+ PID controller

+ FFT transform

The discrete Fourier transform uses complex radix-4 FFT and can transform 64, 256 and 1024 points.

+ FIR filter (number of taps and number of output samples must be a multiple of 4)

+ IIR filter

o Direct-form I IIR filter of order 4

o Canonical-form IIR filter of order 8, in 4 second order biquads

The STM32 DSP software library function-execution speed takes advantage of the STM32 microcontroller’s Cortex-M3 core instruction set including hardware divide executed in 2 cycles minimum and multiply and accumulate instruction being executed in 2 cycles.

http://www.st.com/mcu/inchtml-pages-stm32_dsp.html

Cheers,

STOne-32.

[ This message was edited by: STOne-32 on 28-10-2008 20:12 ]

jj
Associate II
Posted on May 17, 2011 at 12:49

Wow! Great news - thank you.

As stated in the past - understand that you cannot ''pre-announce'' as this likely alerts competitors. (while placing stress on development team)

A contrasting viewpoint is that your device ''may'' be chosen based almost solely upon some ''early-warning'' of desired, new capability.

Wonder if other forum participants share my desire for ''some'' form of advance guidance?...

brunoalltest
Associate II
Posted on May 17, 2011 at 12:49

I was thinking it wasn´t be announced here.

The download is avaiable for more than 10 days.

It´s indeed great news 🙂

...but I really don´t like the installer. :(

16-32micros
Associate III
Posted on May 17, 2011 at 12:49

Hi ,

The Press Release was done today in a wide public way on our web site

http://www.st.com

and also in this direct Link :

http://www.st.com/stonline/stappl/cms/press/news/year2008/p2336.htm

Tomorrow and the upcoming days, all Media World Wide, will have it in their local news/channels.

Cheers,

STOne-32.

[ This message was edited by: STOne-32 on 28-10-2008 20:43 ]

st3
Associate II
Posted on May 17, 2011 at 12:49

Quote:

...but I really don´t like the installer. :(

Will they never learn?! :|

Remember all the fuss about the FWLib...

And the licence terms look pretty questionable again! :|

Worse, the installer doesn't seem to leave a copy of the licence terms anywhere readable after it's finished!! :|

virtualfight
Associate II
Posted on May 17, 2011 at 12:49

Will be there an example Project/Code for the STM3210E Evalboard?

anders2
Associate
Posted on May 17, 2011 at 12:49

It seems the release was a little hasty. Eg. in the documentation the prototype for iirarma_stm32 is

Code:

void iirarma_stm32(short *y, short *x, short *h2, short *h1, int ny);

but in the header file it's

Code:

void iirarma_stm32(void *y, void *x, u16 *h2, u16 *h1, u32 ny);

So are the samples and coefficients supposed to be unsigned or not? There are similar discrepancies in other functions as well.

Also, as a general comment on both DSPLib and FWLib, why are none of the function parameters ever const? Depending on your toolchain setup, this is an extremely easy way to place arrays etc. in ROM or RAM depending on space or performance considerations.