Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Arm Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Arm Development Studio forum
arm_cmplx_mag_f32() producing all-zero output
Jump...
Cancel
State
Not Answered
Locked
Locked
Replies
0 replies
Subscribers
121 subscribers
Views
11419 views
Users
0 members are here
fft
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
arm_cmplx_mag_f32() producing all-zero output
AlaaM
over 6 years ago
Hi,
I'm trying to use arm FFT from the DSP library. The provided example
(arm_fft_bin_example)
is working, but once I use my own sinus wave values, I see an unexpected behavior.
The values in
arm_fft_bin_example_f32.c
look quite small, and looks like they're normalized around 0 mean and 1 std (-0.05 mean and 1.35 std).
My data consists of a sinus wave of 12 bits ADC samples, so the numbers are quite large. The result is that after the call to
arm_cfft_f32()
the processed numbers become even larger, and then
arm_cmplx_mag_f32()
returns all-zero array for the output FFT data.
My question is whether I should pre-process my data (e.g. normalize it) before using the FFT functions, or if there might be anything else that I'm doing wrong that's leading to having all-zero FFT output array.
Thanks in advance