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

Cortex M4 and ARM FIR Q15 Hardfault

Hi

I have tried to test CMSIS DSP FIR library in my STM32G474. Unfortunately after writing a simple test code, where i have prepared input signal and fir coefficients (by Matlab, verified) processor after executing arm_fir_q15 instruction goes to the HardFault. Im using newest DSP library from the Github. arm_mat.h 1.7.0, amr_fir_init_q15.c 1.6.0 and arm_fir_q15.c 1.6.0. 

Its hard to catch where exacly processor goes to the debug (lots of clicking in debug step by step instruction execution) but what is strange for me that processor executes a code an function arm_fir_q15_1_8_mve from arm_fir_q15.c whith is not defined! (my IDE shoudnt compiled this). However when i removed this function and forced software to use standard arm_fir_q15 function , HardFault appears also. I have also tried older 1.5.1 version of amr_fir_q15.c but result is the same.

0