- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Tc37x and want to have "NMI" for MTU UCERR errors.
but when I make "NMI" for SMU alarms, and trigger them via debugger, "NMI" is not getting called.
Bit NMISTS shows -> "serviced", but NMIAEM shows -> missed.
What is missing, can someone help
Best
Solved! Go to Solution.
- Labels:
-
Aurix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As mentioned earlier, please check if NMISTS is 0 before the alarm is triggered. Do you mean TRAPSTAT.SMUT is set when the alarm is triggered? If not, please make TRAPSET.TRAP2 and check if the NMI gets triggered. Also, does the NMI doesn't occur from the first alarm itself or missed only in subsequent alarms?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check SCU_TRAPDIS0.CPUxSMUT - are SMU traps enabled? They are disabled by default. See Figure 68 CPU Trap Generation in User Manual part 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The CPU0SMUT is enabled [ I mean SCU_TRAPDIS0.CPU0SMUT is set to 0]. So that doesnt seem to be a problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was NMISTS clear before you started? Once NMISTS is set, further alarms causing NMI will set NMIAEM instead of causing another NMI.
Are you sure the NMI alarm reaction is configured correctly? Which alarm are you setting? What's in AGiCF0, AGiCF1, and AGiCF2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @µC_Wrangler
NMISTS is "not serviced" before starting.
i want just for alm0[10]
so, AG0CFi [ i = 0 to 2] = 0x400, 0, 0x400 [ respectively], that is
cf[10] is i=0 is high, i=1 is low, i=2 is high
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even when i checked the TrapSts register, the smu_trap is requested, but its still missed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As mentioned earlier, please check if NMISTS is 0 before the alarm is triggered. Do you mean TRAPSTAT.SMUT is set when the alarm is triggered? If not, please make TRAPSET.TRAP2 and check if the NMI gets triggered. Also, does the NMI doesn't occur from the first alarm itself or missed only in subsequent alarms?
Thanks.