How to enable H/W reset when watch dog timer expired

Hello,

About BF70x

I would like to know procedure to enable H/W reset when watch dog timer expired.

I suppose watch dog timer register just only enable to write WDOG_CTL with 0x00000xx0 (xx is any value except 0xAD).

But I suppose also set RCU registers but cannot figure out.

If you have any sample code to enable watch dog timer, I would like to appreciate it.

Thank you for your help as always.

Best regards,

Sofy

Parents
  • 0
    •  Analog Employees 
    on Oct 17, 2016 12:55 AM

    Hi Sofy,

    Please find the attached working example code that illustrates how to configure the interrupt coming from Watchdog as “FAULT” in the SEC and that resets the processor.  This code can be directly run on the ADSP-BF706 EZ-Kit MINI.

    In order to demonstrate this scenario, the LED0 in the EZ-kit MINI is turned ON in the application code and watchdog timer configured to issue a reset via the SEC Fault Interface (SFI). Watchdog count never reloaded and hence it expires according to the count value given and that issues system reset upon expiry through Fault Management Unit (FMU). When you boot this application you would see that LED0 turns ON for a while and it goes of because of watchdog expiration that reset the processor. After processor reset it boots again and this loop continues.

    Thanks,
    Jithul

Reply
  • 0
    •  Analog Employees 
    on Oct 17, 2016 12:55 AM

    Hi Sofy,

    Please find the attached working example code that illustrates how to configure the interrupt coming from Watchdog as “FAULT” in the SEC and that resets the processor.  This code can be directly run on the ADSP-BF706 EZ-Kit MINI.

    In order to demonstrate this scenario, the LED0 in the EZ-kit MINI is turned ON in the application code and watchdog timer configured to issue a reset via the SEC Fault Interface (SFI). Watchdog count never reloaded and hence it expires according to the count value given and that issues system reset upon expiry through Fault Management Unit (FMU). When you boot this application you would see that LED0 turns ON for a while and it goes of because of watchdog expiration that reset the processor. After processor reset it boots again and this loop continues.

    Thanks,
    Jithul

Children
No Data