Hello
I wante to ask a question:when MCU s32k116 executed a undefined command(0xFFFFFFFF),then what action will take by MCU 116?
MCU 116 will enter to NMI interrrupt or hardfault interrupt? which one interrupt will enter?
If I didn't use NMI interrupt and hardfault interrupt in application, these two interrupt will use default handle code "DefaultISR"? That is an endless loop,MCU will wait to reset, is it?
Solved! Go to Solution.
Hello,
The core will detect a hard fault exception.
In the S32DS IDE startup configuration, all the unimplemented interrupts are handled by the DefaultISR which is just a infinite loop.
So yes, if for any reason the HardFault handler is not implemented, it will end up in the default handler waiting for a reset.
BR, Daniel
Hello,
The core will detect a hard fault exception.
In the S32DS IDE startup configuration, all the unimplemented interrupts are handled by the DefaultISR which is just a infinite loop.
So yes, if for any reason the HardFault handler is not implemented, it will end up in the default handler waiting for a reset.
BR, Daniel