7 Replies Latest reply on Dec 21, 2018 9:25 AM by tlangmo

    (CYW43907) powersave test app - verify that it is working as intended

    NickMckendree_1688136

      I want to verify that the powersave application in deepsleep is working as intended. I am using the CYW943907AEVAL1F eval board with the powersave test application with SDK 6.2.

      The issue also occurs on the Arrow QuickSilverEval platform.

      I have POWERSAVE_STANDALONE_TEST_DEEPSLEEP_NO_ASSOC set to 1, attempting to test deepsleep power levels.

      The only modification I made to the application was to change to long sleep time from 120s to 30s.

       

      I program the device then do a power cycle to the board.

      I use the following build commands

      testProjects.powersave-CYW943907AEVAL1F-ThreadX-NetX download run

      testProjects.powersave-CYW943907AEVAL1F-FreeRTOS-LwIP download run

       

      Both RTOS/IP stack combos behave similarly.

      The board boots, waits for a few seconds, then enters a low power mode of 300uA for 30s, and then sits in some kind of high current state at 38mA for about 20 seconds before rebooting. Only the FreeRTOS build displays a cold boot and time since deep sleep message on wake (before rebooting).

       

       

      ThreadX/NetX

       

      Starting WICED vWiced_006.002.000.0072

      Platform CYW943907AEVAL1F initialised

      Started ThreadX v5.8

      Initialising NetX v5.10_sp3

      Creating Packet pools

      WLAN MAC Address : A4:08:EA:D9:BA:8A

      WLAN Firmware    : wl0: May 15 2018 19:39:17 version 7.15.168.114 (r689934) FWID 01-d6f88905

      WLAN CLM         : API: 12.2 Data: 9.10.74 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2018-05-15 19:33:15

      >

      *** Goes to sleep for ~30s and then enters a unknown 38mA state for 20s ****

       

      Starting WICED vWiced_006.002.000.0072

      Platform CYW943907AEVAL1F initialised

      Started ThreadX v5.8

      Initialising NetX v5.10_sp3

      Creating Packet pools

      WLAN MAC Address : A4:08:EA:D9:BA:8A

      WLAN Firmware    : wl0: May 15 2018 19:39:17 version 7.15.168.114 (r689934) FWID 01-d6f88905

      WLAN CLM         : API: 12.2 Data: 9.10.74 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2018-05-15 19:33:15

      >

       

      FreeRTOS/lwIP

      Starting WICED vWiced_006.002.000.0072

      Platform CYW943907AEVAL1F initialised

      Started FreeRTOS v10.0.1     (Custom)

      Initialising LwIP v2.0.3

      DHCP CLIENT hostname WICED IP

      WLAN MAC Address : A4:08:EA:D9:BA:8A

      WLAN Firmware    : wl0: May 15 2018 19:39:17 version 7.15.168.114 (r689934) FWID 01-d6f88905

      WLAN CLM         : API: 12.2 Data: 9.10.74 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2018-05-15 19:33:15

      >

      ***** Goes to sleep at 300uA for 30s *********

      COLD boot

      BEACONS:

          before sleep: from BSS 0 from not BSS 0

          after  sleep: from BSS 0 from not BSS 0

          during sleep: from BSS 0 from not BSS 0

      TIME since deep-sleep enter: 104509

      ***** Sits at 38mA for 20+seconds *********

       

      Starting WICED vWiced_006.002.000.0072

      Platform CYW943907AEVAL1F initialised

      Started FreeRTOS v10.0.1

      Initialising LwIP v2.0.3

      DHCP CLIENT hostname WICED IP

      WLAN MAC Address : A4:08:EA:D9:BA:8A

      WLAN Firmware    : wl0: May 15 2018 19:39:17 version 7.15.168.114 (r689934) FWID 01-d6f88905

      WLAN CLM         : API: 12.2 Data: 9.10.74 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2018-05-15 19:33:15

      >

      ***** Goes to sleep at 300uA for 30s *********