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.

CC1310 15.4g的协议 几种工作模式的设置

Other Parts Discussed in Thread: CC1310, SYSBIOS

CC1310   15.4g的协议SDK包中     几种工作模式:active     idle    standby    shutdown  在sensor端怎么设置,之前问过你们说是组网之后自己设置,但是我们产品希望出厂前就已经装好电池,为了减低功耗需要出厂前在shutdown模式工作,到用户手里后,通过外部中断唤醒。

  • 15.4g应用的话,建议使用standby模式,因为此协议可能对shutdown有限制。standby模式不需要客户手动操作,是电源管理控制自动完成的。可以参考TI提供的sensor例程,路径: C:\ti\simplelink_cc13x0_sdk_1_60_00_21\examples\rtos\CC1310_LAUNCHXL\ti154stack\sensor
  • dev.ti.com/.../
    GPIO控制进入和退出ShutDown模式例程,进入和退出分别由CC1310Launchpad上的左右按键控制

    Standby进入,唤醒例程
    dev.ti.com/.../
  • 你好. 你可以在最开始先使芯片进入shutdown状态, 然后再次被唤醒后,允许15.4STACK. 具体的方法可以参考。
    e2e.ti.com/.../1461886
    #include "Board.h"
    #include <ti/drivers/PIN/PINCC26XX.h>
    #include <driverlib/sys_ctrl.h>
    #define Board_WAKE_PIN Board_KEY_SELECT

    #include <ti/sysbios/family/arm/cc26xx/Power.h>
    #include <ti/sysbios/family/arm/cc26xx/PowerCC2650.h>

    PIN_Config shutdownIO[] = {
    Board_WAKE_PIN | PIN_GPIO_OUTPUT_DIS | PIN_INPUT_EN | PIN_PULLUP,
    PIN_TERMINATE };

    PIN_Handle pinHandle;
    PIN_State pinState;

    static void SimpleBLEPeripheral_init(void)
    {

    if( SysCtrlResetSourceGet() != RSTSRC_WAKEUP_FROM_SHUTDOWN ) {
    pinHandle = PIN_open(&pinState, shutdownIO);
    PIN_setConfig(pinHandle, PINCC26XX_BM_WAKEUP, Board_WAKE_PIN | PINCC26XX_WAKEUP_NEGEDGE);
    Power_shutdown(NULL);

    }

    else {
    while(1);
    }
    }
    (我没验证过15.4STACK是否会自动进入 shutdown状态, 手册里面资料也不多,你可以在e2e.ti.com 上和产品线直接确认。)