S32K116 executed a undefined command,what's the status of MCU 116

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K116 executed a undefined command,what's the status of MCU 116

跳至解决方案
1,229 次查看
asd046012
Contributor III

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?

标签 (1)
0 项奖励
回复
1 解答
1,222 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,223 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复