2018-01-14 07:15 AM
Hi
I am working with 'stm32l433ccu6' ARM processor and I got a serious problem which cause Hard Fault Error inside my firmware. The problem arise when I run PDM_Filter_64_LSB() function from libPDMFilter_CM4F_keil.lib which is already included in my project.
My compiler is keil MDK-ARM version 5.14.0.0
1. I would appreciate for a kind of technical support.
2. Would you plz let me know if low power series are compliant with available PDM libraries in stm32_audio/Addons/ path or not?
3.Could you plz send me the source code of pdm filter,it might help me to debug current fault and solve the problem.
#pdm-filter-hard-fault2018-01-15 06:11 AM
Look at the processor registers and the assembler instructions which are faulting.
Most probable causes:
Accessing memory out of bounds.
Alignment issues. Check if pointers are 4-byte aligned.
Insufficient stack for local/auto arrays.