2 Replies Latest reply on Oct 16, 2017 9:41 PM by hima

    PSoC 4200 BLE problem @ Stop LowPower Mode

    bascal

      Hi team,

       

      Iam trying to set one 4200 BLE CPU at Stop Low Power Mode. The snippet of code to do this is the following

      inline void GotoStop()

      {

          CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_LOW);  

         

          printf("\r\nSLEEP\r\n");

          CyDelay(1000);

          UART_Stop();

       

          CySysPmStop(); 

      }

       

      but unfortunately nothing happens. The power consumption remains the same.

      The strange thing is that if I changed the first code line from CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_LOW);   to CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_HIGH);   the CPU goes at Stop mode and the power consumption is almost zero.

       

      But as far as my hardware asks for falling edge at pin P0.7 for wake up, the CPU remains at Stop Low Power Mode forever.

       

      Any idea, or suggestion?

       

      Thanks

      Bill