Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1407 Posts: 7538
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 78 Posts: 343
I want to measure vibration with my XDK
i just wondering how I use the FTT function from the Bosch Toolbox.
Have someone did this before?
Hello Stephan, the FFT is included in many algorithms of the Bosch Toolbox. In many cases it is not needed to compute the FFT directly and it is sufficient to access the sensors on high level APIs which are much easier to use. Would you be so kind and get more into detail about how you want to measure the vibration and what output values you are expecting. Kind regards, Franjo
in my case I need to get the frequency in Hz.
I didn´t find any information about this, so I´m wondering if it´s possible.
thanks for your fast reply.
Your Link don't work:(
I uploaded a picture from the Datasheet.
So there must be a function with the complete fft library or somthing like that, but i can't find them.
How can i use this ''toolbox''?
there is indeed a complete library (toolbox, in other words) with the FFT functionality. This library is located in the low level API of the EFM32GG micro controller of the XDK. You can navigate to the library arm_math.h by using the following folder path:
SDK > xdk110 > Libraries > EMLib > CMSIS > Include
The FFT functionality you are searching for starts at line 1960. You should find all necessary information there that you need to use the FFT in your own application.
Additionally thanks to Felipe by providing a source for a custom implementation of the FFT. This is also a possible solution, of course.
Please tell me if this is helpful and do not hesitate to ask if you have further questions.
Kind regards, Franjo
Thanks Very much,
That looks good!
I really appreciate your help!
I will try it out!
I am glad that I could help.
Please do not hesitate to ask if you have further questions.