cancel
Showing results for 
Search instead for 
Did you mean: 

PDM Filter Hard fault

EHSAN EHSAN
Associate
Posted on January 14, 2018 at 16:15

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-fault
1 REPLY 1
Posted on January 15, 2018 at 15:11

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..