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

AURIX™ Forum Discussions

leonng
Level 2
25 sign-ins 5 questions asked 5 replies posted
Level 2

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

0 Likes
2 Replies
Nambi
Moderator
Moderator 100 replies posted 10 likes received 25 solutions authored
Moderator

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.

0 Likes
leonng
Level 2
25 sign-ins 5 questions asked 5 replies posted
Level 2

Thank you,

I'm using KIT_AURIX_TC234_MOTORCTR, and I find that it may due to recovery timer.

Best Regards.

0 Likes