3 Replies Latest reply on Mar 17, 2017 7:07 AM by userc_38902

    how to feed watchdog with cy8c4014sxi

             as subject, there is no function in CY8C4014SXI' API, how to feed watchdog?

        • 1. Re: how to feed watchdog with cy8c4014sxi
          JoMe_264151

          Welcome in the forum.

             

          The settings for the WDT are made in Creator using the clocks view. Under "Edit Clocks" you find the "Low Frequency Clocks" where the setting for WDT are made.

             

           

             

          Bob

          • 2. Re: how to feed watchdog with cy8c4014sxi

            as required, i need a double click judgment and programmed in main loop as following, and TmCounter counts in a timer interrupt , but it is stable, how can i realize this function for double click checking?

               

            curr = KeyScan();

               

            if(RISING_EDGE_DET(curr, prev) )

               

            {

               

                 while(TmCounter < ClickInterval)

               

                  {

               

                      curr = KeyScan();

               

                      if(RISING_EDGE_DET(curr, prev) )

               

                      {

               

                         DoubleClickFlag =TRUE;

               

                        break;

               

                      }

               

                   pre =curr;

               

                  }

               

            }

            • 3. Re: how to feed watchdog with cy8c4014sxi
              JoMe_264151

              See Creator -> Help -> System reference Guide -> Cy_lfclk. In the PDF at pg 21 you see your  CySysWatchdogFeed ()

                 

               

                 

              Bob