1 Reply Latest reply on Oct 12, 2016 4:54 AM by user_1377889

    Need Help getting Hibernate current lower

    user_34561839

      Hello,

         

      Using CYBLE-022001-00, EZ-BLE™ PROC™ Module. I am able to use the code provided with AN86233 (PSoC® 4 Low-Power Modes and Power Reduction Techniques) and get good results. However, the app note design contains almost no components. When I add a UART component (PSoC 4 SCB component, configured for UART). The Hibernate current goes from next-to-nothing to 200uA. I have tried the following APIs before entering Hibernate but nothing seems to make much difference.

         

      UART_Stop();

         

      CySysClkEcoStop();

         

      CySysPmFreezeIo();  

         

      UART_rx_wake_SetDriveMode(UART_rx_wake_DM_DIG_HIZ);

         

      UART_tx_SetDriveMode(UART_tx_DM_DIG_HIZ);

         

      I also switched the debug interface from SWD to GPIO.

         

      My question is, what do I need to do before calling CySysPmHibernate() to get something more in the 200nA range and not 200uA with a SBC in the design?

         

      Thanks in advance!

         

      Mark