2 Replies Latest reply on Aug 1, 2018 11:59 PM by nsha

    CySySTick wakes up system from deep seep.

    dimasidi

      Working on PSOC 4 with BLE.

      Putting system to sleep in Deep Sleep mode.

      According to documents this should disable the ECO and IMO high frequency clocks.

      BUT, system kept waking up!

       

      My solution was to add the CySySTickStop();

      and only than it appears to work.

       

      Can you please support on this issue?

       

      Thanks!

        • 1. Re: CySySTick wakes up system from deep seep.
          psyu

          Hello,

           

          SysTick timer is part of the Cortex M0 (PSoC 4) devices. The timer is a down counter with a 24-bit reload/tick value that is clocked by the System clock (or LF clock for the PSoC 4100 BLE and PSoC 4200 BLE devices). The timer has the capability to generate an interrupt when the set number of ticks expires and the counter is reloaded. This interrupt can be used as a wakeup source when system is in Sleep mode but SysTick interrupt cannot act as a wakeup source when the system is in Deep Sleep mode.

           

          Can you please share me the project so we can see what actually the issue is.

           

           

           

          Thanks,

          PSYU.

          • 2. Re: CySySTick wakes up system from deep seep.
            nsha

            Hello,

             

            Are you using debugger while the device in deep sleep mode?

            Also, did you try measuring the current to confirm if the device is in deep sleep mode?

             

            Thanks,
            Shanmathi