This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc3200 sleep /deep sleep configuration/setup

Other Parts Discussed in Thread: CC3200

Hi,

I want to use the sleep/deep sleep mode of the cc3200. the example here: http://processors.wiki.ti.com/index.php/CC32xx_Deepsleep_Application_0.5.2  states that "The various modules that can be clock gated (enabled/disabled)" . Its not clear from the sample code how the modules can be gated. I wish to keep the UARTS enabled,  how would this be done ?

many thanks,

-Ahmar

  • I'm assuming you mean to enable the UART upon program invocation and not have to re-enable it upon wakeup from LPDS. From what I'm aware the program can only use network activity, GPIO, or timer to wake up from LPDS.

    I'd recommend taking a look at the Idle_Profile application. The TI supplied code supporting LPDS framework is included in the lp3p0 modules provided as part of the example. Your UART settings are covered in struct cc_uart_config uart_settings. GPIO's in the int gpio_list. You'll get the idea.
  • Hi,


    from the sample code, this seems to work :

      MAP_PRCMPeripheralClkEnable(PRCM_UARTA0, PRCM_DSLP_MODE_CLK);       
      MAP_PRCMPeripheralClkEnable(PRCM_UARTA1, PRCM_DSLP_MODE_CLK);
       
      MAP_UtilsDelay(80000);
        
      //
      // Disable the SYSTICK interrupt
      //
       MAP_IntDisable(FAULT_SYSTICK);
     
      MAP_PRCMDeepSleepEnter();
       
      //
      // Enable the SYSTICK interrupt
      //
      MAP_PRCMPeripheralClkDisable(PRCM_UARTA0, PRCM_DSLP_MODE_CLK);       
      MAP_PRCMPeripheralClkDisable(PRCM_UARTA1, PRCM_DSLP_MODE_CLK);
     
      MAP_IntEnable(FAULT_SYSTICK);

    How would I trigger wake from sleep due to network activity ? Is there a GPIO  or interrupt from the NWP ?

    many thanks,

    -Ag