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 Nov 18, 2016 4:56 AM

    Hi Sofy,

    Sorry that I have attached a wrong project file above (removed now for not to make confusion). Here you can find the working code tested with BF706 Mini. The above comments are still valid for the project.

    Watchdog timer is configured to issue a reset via the SEC Fault Interface. Upon expedition of WDOG the SEC fault get triggered and resets the processor.

    Best Regards,
    Jithul

    WDG_706.zip
Reply
  • 0
    •  Analog Employees 
    on Nov 18, 2016 4:56 AM

    Hi Sofy,

    Sorry that I have attached a wrong project file above (removed now for not to make confusion). Here you can find the working code tested with BF706 Mini. The above comments are still valid for the project.

    Watchdog timer is configured to issue a reset via the SEC Fault Interface. Upon expedition of WDOG the SEC fault get triggered and resets the processor.

    Best Regards,
    Jithul

    WDG_706.zip
Children
No Data