cancel
Showing results for 
Search instead for 
Did you mean: 

FFT not displayed in NanoEdgeAI Studio

MERSI
Associate II

Hi everyone,

I'm currently working with NanoEdgeAI Studio and I'm trying to analyze a signal from mutliple CSV files with each containing more than 450,000 rows of data. However, when I try to compute the FFT, the software displays the following message:

"Signal has not enough values per axis to compute FFT."

This confuses me because 450k+ values should definitely be enough for an FFT computation?

Right now, my CSV contains only a single column with the signal values (no timestamps, no headers, just raw values). Here's what I'm wondering:

  • Does NanoEdgeAI Studio require a timestamp column or a specific format for the signal to be considered valid for FFT?

  • Are there any hidden minimum data requirements per axis, or is it related to how the file is structured?

  • Could the issue be that the tool expects multiple channels or axis-labeled data (like X, Y, Z) instead of just a single stream?

Any help or tips would be appreciated — I just want to get the FFT visualization working.

Thanks in advance!

 

image.png

1 ACCEPTED SOLUTION

Accepted Solutions
Julian E.
ST Employee

Hello @MERSI,

 

NanoEdge expect dataset containing buffers of data, not single values:

Please read this: https://wiki.st.com/stm32mcu/wiki/AI:NanoEdge_AI_Studio#Data_format

And for the format specifically: https://wiki.st.com/stm32mcu/wiki/AI:NanoEdge_AI_Studio#Basic_format

 

Right now NanoEdge see your dataset as buffers of size 1 and cannot compute a FFT for that.

You need to cut your dataset into buffers, reshape your csv and import it again.

 

Be careful of the buffer size and frequency you use. If you want to classify a motor behavior with a buffer representing a microsecond of its behavior (small buffer size and high datarate), it will most likely not work.

You can look for a good place to start, with your current file, using the sampling finder tool inside NanoEdge.

https://wiki.st.com/stm32mcu/wiki/AI:NanoEdge_AI_Studio#Sampling_finder

 

Have a good day,

Julian

 

 

​
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Julian E.
ST Employee

Hello @MERSI,

 

NanoEdge expect dataset containing buffers of data, not single values:

Please read this: https://wiki.st.com/stm32mcu/wiki/AI:NanoEdge_AI_Studio#Data_format

And for the format specifically: https://wiki.st.com/stm32mcu/wiki/AI:NanoEdge_AI_Studio#Basic_format

 

Right now NanoEdge see your dataset as buffers of size 1 and cannot compute a FFT for that.

You need to cut your dataset into buffers, reshape your csv and import it again.

 

Be careful of the buffer size and frequency you use. If you want to classify a motor behavior with a buffer representing a microsecond of its behavior (small buffer size and high datarate), it will most likely not work.

You can look for a good place to start, with your current file, using the sampling finder tool inside NanoEdge.

https://wiki.st.com/stm32mcu/wiki/AI:NanoEdge_AI_Studio#Sampling_finder

 

Have a good day,

Julian

 

 

​
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.