- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I try to enable the Safety Watchdog. When it overflow, it will call an alarm (NMI). Inside the NMI, the number of overflows will be counted. if the counter overflow, it will trigger an alarm to rest the MCU.
IfxScuWdt_changeSafetyWatchdogReload(IfxScuWdt_getSafetyWatchdogPassword(), 0xE000);
IfxSmu_setAlarmConfig(&MODULE_SMU, IfxSmu_Alarm_ScuWdtsWatchdogTimeOut, IfxSmu_AlarmConfig_nmi));
if((Alarm_3.B.SF17)==1){
SMU_counter.WatchDog_G3 +=Alarm_3.B.SF17;
if(SMU_counter.WatchDog_G3 > ALARM_COUNTER){
IfxSmu_triggerAlarm(&MODULE_SMU, IfxSmu_Alarm_SoftwareAlarm3);
IfxSmu_activateFsp(&MODULE_SMU);
}
}
However, when I enable the TLF35584 watchdog or Error Monitoring, the TLF35584 will reset MCU at the first Safety Watchdog overflow. Why ?
Best Regards,
Leon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,
I'm using KIT_AURIX_TC234_MOTORCTR, and I find that it may due to recovery timer.
Best Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you let us know the complete part number used?
You can check if FSP is configured in Aurix for the particular safety watchdog alarm and check the reaction configured in TLF for an FSP event.
Best Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,
I'm using KIT_AURIX_TC234_MOTORCTR, and I find that it may due to recovery timer.
Best Regards.