Issues with DSP and Classifier Inference on STM32G Series MCU Using Edge Impulse Library

Hello,

I am currently working on a project (ID: 417524) where we are using an STM32G series MCU and the IMP34DT05TR microphone to acquire data. We are programming with STM32 Cube IDE and have successfully imported the C++ library from Edge Impulse. However, we are facing an issue during the inference stage. Specifically, we are receiving the following errors:

ERR: Failed to run DSP process (-1002)
ERROR: Failed to run classifier (-5)
Predictions (DSP: 0 ms, NN: 0 ms)
: 0.00000
: 0.00000

Project ID: 417524

These errors occur when we attempt to run the inference on the collected data. We would appreciate any guidance or solution steps that could help us resolve this issue.

Thank you in advance for your support!

Hi @AiROT

Did you change configuration of the impulse recently? it looks like a something is failing after the DSP feature extraction. What is the EI_CLASSIFIER_DSP_INPUT_FRAME_SIZE? That should match what you see in the DSP block config.

Try exporting the lib again, and using the current feature example. If it still continues please share more debug info from the error.

@ei_francesco

Best

Eoin