I'm trying to initialize a pin on the FRDM-MXCA153 as GPIO Output, but the GPIO_PinWrite throws a HardFault.
Here is code execution, paused at the write to the PSOR register for GPIO3.
GPIO_PinWrite().png
The Hard Fault occurs immediately upon execution of the base->PSOR write.
HardFault_Handler().png
You can also see in the call stack <signal handler called>() at 0xffffffb8.
There is no custom code here, just a call to the library code from fsl_gpio. I am using SDK_2.16.000 for the MXCA153.
Minimum example project is also attached.