Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

oneday
Level 2
Level 2
First like received 10 sign-ins First solution authored

Dear experts:

SMU test :Configure the software alarm0 to trigger NMI and  set a breakpoint in "void IfxCpu_Trap_nonMaskableInterrupt(uint32 tin)".When trigger software alarm0, MODULE_SMU.AEX.B.NMISTS=1,but can not enter into the "IfxCpu_Trap_nonMaskableInterrupt(uint32 tin)" .Why?

Please see the following pictures to know more detail:

1.Configure the software alarm0 to trigger NMI .

oneday_1-1669709579336.png

2.trigger software alarm0 to request NMI.

oneday_2-1669709624944.png

3.can not enter the "void IfxCpu_Trap_nonMaskableInterrupt(uint32 tin)" and stop at this breakpoint

oneday_3-1669709772470.png

 

So how can enter the "IfxCpu_Trap_nonMaskableInterrupt(uint32 tin)" when a NMI request is generated?

Looking forward to your reply.

0 Likes
1 Solution
oneday
Level 2
Level 2
First like received 10 sign-ins First solution authored

The  TRAPDIS0.CPU0SMUT is disabled by default.When I enabled the TRAPDIS0.CPU0SMUT, triggering software alarm0 can enter the NMI handler.

Thanks a lot.

View solution in original post

0 Likes
2 Replies
Yuva
Moderator
Moderator
Moderator
100 solutions authored 25 likes received 100 sign-ins

Hello,

Can you check if TRAPDISx.CPUxSMUT is enabled for SMU to generate trap?

Thanks.

oneday
Level 2
Level 2
First like received 10 sign-ins First solution authored

The  TRAPDIS0.CPU0SMUT is disabled by default.When I enabled the TRAPDIS0.CPU0SMUT, triggering software alarm0 can enter the NMI handler.

Thanks a lot.

0 Likes