Associate III
November 2, 2023
Question
printf hard fault
- November 2, 2023
- 4 replies
- 18126 views
Whenever the compiler executes
printf("frequency %f: %f \n", ((float32_t)(i * SAMPLING_RATE) / FFT_BUFFER_SIZE), output_fft_mag);it goes to HardFault.
I attach main.c and syscall.c
All the code that we need to analyze is inside the function void get_sineval_FFT2()

Here's the problem:

EDIT: The problem is only there when I try to printf floats ... whereas with normal strings or ints everything goes