- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using Tc37x.
I want my SMU to track MTU alarms all the time. For that I have written the code something like this
I cleared the mbist 41[DMA] and 82,83[ethermacRx/Tx]. But the smu alarm doesn't set to "low", its still "high".
Solved! Go to Solution.
- Labels:
-
Aurix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PMS registers are easier - no exotic clearing/latches/etc. But keep in mind that the primary voltage monitors are always active, and you might not need to use the secondary voltage monitoring at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) If you're not using DAM, don't worry about testing DAM0.
2) MTU errors will only set the corresponding alarm if ECCS CENE/UCENE/MENE are set.
3) For the TC37x, LMU and FSI alarms are combined, so I don't recommend disabling the alarm. Write 0 to MC40_ECCD as recommended in application hint SMU_TC.H012 in the Errata Sheet.
4) My general advice is to avoid injecting low-level failures that result in an SMU alarm. The LBIST tests all of AURIX logic, so there's no need to test the full alarm path for each safety mechanism. To test your application's reaction to each alarm, leave the SMU in START state, and then you can simply write to SMU_AGx in the debugger.
After you clear MTU error flags, you still need to clear the alarm within the SMU itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you @µC_Wrangler
In the
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IfxMtu_clearErrorTracking clears the "alarm occurred" bits in MCi_ECCD. The alarm enable bits are in MCi_ECCS. Once the alarm is enabled, you don't need to periodically check for MTU errors, unless you've configured the corresponding SMU alarm reaction to no action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you @µC_Wrangler
Can you please tell me,
how to access pms and hsm regs in smu alarm -> alm9[3,5,15,16,17]. Is it similar to MTU, that we need to enable and check mtu and then smu
or directly can we just check smu?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PMS registers are easier - no exotic clearing/latches/etc. But keep in mind that the primary voltage monitors are always active, and you might not need to use the secondary voltage monitoring at all.