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.

CC3220MODA: AT Command - Hibernation Clarification

Part Number: CC3220MODA
Other Parts Discussed in Thread: CC3220MOD, CC3220SF

Dear team,

My customer started a new design using CC3220MODA with AT Command demo.

their main purpose of the module is act as linker function only (sleeping 15 min and wake up for a few seconeds) .

According to datasheet of the CC3220MODA, it possible to achieve low power consumption in hibernate mode low as 5uA, 

But it seems that once you work with AT COMMAND the device are not enter fully to hibernate mode and consum above 12mA (measurement was taken on the module) .

can you please advise how we can solve this issue (this is deal breaker), please note the customer would like to stay on AT Command platform.

please find the command he used in order to enter hibernation mode:  AT+Stop=0

www.ti.com/.../swru534.pdf

If you can answer my question asap, I will really appreciate it. 

Kind Regards, 

Shai

  • Hi Shai,

    The AT Command documentation specifies that AT+Stop only stops/hibernates the network processor. The MCU cannot go into hibernate because it is constantly pending a new AT command. The 5 uA in the datasheet states the MCU and NWP both must be in hibernate mode.

    You cannot hibernate the MCU with AT commands. It is possible to edit the AT commands application and build in an additional GPIO to tell the MCU to sleep and wakeup from hibernate. For more information on MCU hibernate, see the CC3220 TRM: http://www.ti.com/lit/swru465

    Best regards,
    Sarah
  • Dear Sarah,

    Thank you for your inputs, I've tried to implement the hibernate feature and failed.
    I overviewed www.ti.com/.../swru465.pdf (Page 504).
    and looked dev.ti.com/.../ example

    I really appreciated if you could guide me how I add the ability of hibernate, I have no problem even running over AT + Stop callback (atcmd_device.c) in this case, customer wakeup GPIO is 13.
    waiting for your assistance.
    Thanks in advance.

    Kind Regards,
    Shai
  • Hi Shai,

    Are you using a CC3220 LaunchPad? You may have issues with GPIO 13 because that pin is already tied to a switch.

    Also keep in mind that the module pins are different than the device pins which are used in software. For example with GPIO13, you would want to connect to module pin 10. For the full list, please see the Pin Attributes section of the CC3220MOD datasheet: www.ti.com/.../cc3220moda.pdf

    To configure hibernate with the driverlib PRCM:
    1. Be sure your chosen pin is configured as a GPIO in CC3220SF_LAUNCHXL.c and .h.
    2. Add the prcm.h header to your application: source\ti\devices\cc32xx\driverlib\prcm.h
    3. Initialize the PRCM with PRCMCC3200MCUInit(). This is typically done in Board_initGeneral() or CC3220SF_LAUNCHXL_initGeneral().
    4. Set the wakeup GPIO: PRCMHibernateWakeUpGPIOSelect(PRCM_LPDS_GPIO13, PRCM_HIB_RISE_EDGE)
    4. Enable the wakeup source: PRCMHibernateWakeupSourceEnable(PRCM_HIB_GPIO13)
    5. Enter hibernate: PRCMHibernateEnter()

    Best regards,
    Sarah
  • Thank you Sarah,

    I'll address this issue with Itzhak, Shlomi offline, you can close this thread.

    Best,
    Shai