Question
Hard Fault with Floating point and DSP
I am using STM32F302R8
I have a long code that triggers the Hard Fault interrupt after a few seconds because of these instructions (of the sine in particular):

The theta_fi angle is TIM6->CNT and I need to convert it from q15 to floating point.
I tried with both arm_q15_to_float function of DSP ... and arm_q15_to_float_new found online.
I can't figure out what the problem is.
