nRF52833 ends up in HardFault_Hanlder after enabling SPIM

Greetings,

I'm bringing up a new 52833 board that may or may not have hardware wiring and/or power delivery issues.

I'm able to attach Segger debugger via SWD and execute simple code, but the moment I try to get off the chip the debugger always shows up in HardFault_Handler.

I read through the various online guides on what all causes hard faults on ARM M4, and I'm still not able to get at the root cause.

Reverting to a very simple example, let's say I try to send out a SPI command, the hard fault occurs when I step over the NRFX_IRQ_ENABLE at nrfx_spim.c line 334.

A breakpoint inside the actual IRQ handler never gets reached.

Any suggestions?

Thanks!

Dan

Parents Reply Children
No Data
Related