This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52832 in Hard Fault State.

Hi,

We have made a custom PCB using the NRF52832 chip. While it was working fine for a couple of days, it suddenly stopped working and went to a hard fault. We are not able to figure out the reason for this issue.

We have debugged the PCB and measured the voltages at different points in the circuit.

DEC1 - 750mV

VDD - 3.25V

DEC4 - 1.25V

DEC3 - 3.25V

DEC2 - 1.25V

RESET PIN - 3.25V

Is the voltage at DEC1 effecting the Nordic chip since it should be 0.9V?

Also please let us know when does hard fault usually come. We even ran a simple LED toggle program but even then we got a hard fault error.

Does hard fault mean that the memory of the chip is corrupted? Should we get the chip replaced ?

Parents
  • See my answer to your other (rather similar) question. If you have a reproducible hardfault you are very lucky because all you need to do is stop the board with a debugger, go look at the registers and stack and work your way backwards.

    I don't know where you got this bizarre 'memory corruption' and 'chip replaced' idea from. That's the absolute least likely reason for hardfault.

  • Thanks RK for the answer. As I mentioned in my question as well, I am just initialising one GPIO pin which has a LED connected and toggling it in a while loop in the main function. The Nordic chip goes to a hard fault state even before initialising a GPIO pin. This obviously means that there is something wrong either in the chip or the crystal circuitry? Is this the correct assumption? I am even trying to read the FICR registers but as it enters main, nordic chip goes to a hard fault state.

Reply
  • Thanks RK for the answer. As I mentioned in my question as well, I am just initialising one GPIO pin which has a LED connected and toggling it in a while loop in the main function. The Nordic chip goes to a hard fault state even before initialising a GPIO pin. This obviously means that there is something wrong either in the chip or the crystal circuitry? Is this the correct assumption? I am even trying to read the FICR registers but as it enters main, nordic chip goes to a hard fault state.

Children
No Data
Related