AnsweredAssumed Answered

Inconsistent Hard Faults on KL82Z

Question asked by Victor Ciuntu on Mar 15, 2018
Latest reply on Mar 22, 2018 by Fang Li

Hi everyone,

I'm trying to run some code on a KL82Z MCU, however i keep running into Hard Faults constantly. The MCU is LQFP 80 and it's soldered on a socket with male pins to help me test the code without an actual PCB. My problem is that at random times the MCU would enter hard faults, usually during the initialization lines of code(every time it's at a different line). This can happen dozens of times in a row, while other times everything works perfectly. Currently all the wires are connected on a breadboard and i have 2 decoupling capacitors between the positive and negative pins on the breadboard. So far I've checked all the connected wires and they have a good connection. Does anyone have any suggestions on what can i check next?