Forums - QCA4020 WatchDog Timer.

1 post / 0 new
QCA4020 WatchDog Timer.
vaibhav.t
Join Date: 3 Aug 20
Posts: 13
Posted: Wed, 2020-10-14 07:26

Hello Team.

I want to use watch dog timer in my project. Following is my DevCfg_master_devcfg_out_cdb.xml  configuration for watchdog.

</driver>
<driver name="Dog_Cfg">
  <device id="0x02000019">
    <!-- If this flag is set to 0x0, hw wdog and grace timer will be initialized -->
    <!-- If this flag is set to 0x1, hw wdog and grace timer will NOT be initialized -->
    <props name="dog_hal_disable" type="0x00000002">
      0
    </props>
    <!-- Grace timer value in sclk, This timer will declare a stalled initialization,
if intialization does not complete before it times out. -->
    <props name="dog_hal_grace_timer_timeout" type="0x00000002">
      160000 <!-- s*32000, 5s -->
    </props>

 

Still result is negative.

Things I want to know.

1) How to Initialize and start WatchDog for QCA4020.

2) How to Feed WatchDog Timer.

Any example code would be helpful.

Thank you. 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.