Watchdog reset - Cypress.com Forums http://www.cypress.com/? Re: Watchdog reset http://www.cypress.com/?rID=50130 The Watch Dog Timer can be enabled and started using the API, void CyWdtStart(uint8 ticks, uint8 lpMode), where, the parameter ticks can take the values,

  • 0 CYWDT_2_TICKS                                             2 CTW Ticks
  • 1 CYWDT_16_TICKS                                          16 CTW Ticks
  • 2 CYWDT_128_TICKS                                        128 CTW Ticks
  • 3 CYWDT_1024_TICKS                                      1024 CTW Ticks

Note that the lpMode parameter configures the "Low power mode configuration". It does not work on PSoC5 ES1 silicon.

Once the Watch Dog Timer is enabled, the watch dog timer needs to be cleared before it times out and resets the device. The same can be done using, CyWdtClear() API.

You can refer the system reference guide document to see explanations for the same APIs. It can be accessed from PSoC Creator under, Help --> Documentation --> System Reference Guide.

 

 

 

-U2

]]>
Sun, 10 Apr 2011 02:00:20 -0600