lpcware

LPC 1114 hard fault

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by exgreyfox on Mon Jul 01 14:45:59 MST 2013
Hello gents,

I am having an issue with a hard fault in my code. Basically I have some code written up that will talk to a DAC via SPI and spit out a voltage profile (0-2.5v) and what I am trying to do is read that voltage back into the ADC input channel 0 and have it be displayed by the debugger using printf. To do this i just re-used the code from the adc example. I'm getting a hard fault as soon as I start the debugger. I'm attaching my project below. Any help is greatly appreciated.

Outcomes