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.

CC2630进入低功耗有事不成功

Other Parts Discussed in Thread: CC2630

CC2630进入低功耗模式从唤醒到重新进入不能保证每次都成功,set->release.有知道什么原因吗

  • Power_setDependency有没有额外使用过?

    我这边使用的是下面两个就可以进入低功耗

    // set constraints for Standby and idle mode
    Power_setConstraint(Power_SB_DISALLOW);
    Power_setConstraint(Power_IDLE_PD_DISALLOW);

  •  我用的是

    Power_setConstraint(Power_SB_DISALLOW);
    Power_setConstraint(Power_NEED_FLASH_IN_IDLE);

    Power_releaseConstraint(Power_NEED_FLASH_IN_IDLE);
    Power_releaseConstraint(Power_SB_DISALLOW);
    Power_releaseConstraint(Power_SB_DISALLOW);

    用state = Power_getConstraintInfo();读取标志位大部分时候状态是正确的,也能进入低功耗,

    只是有时会有可能进入不了低功耗,状态位也没有release成功,想不出什么原因,

    你提供的我也用了,也会出现这种情况,

    Power_setConstraint(Power_SB_DISALLOW);
    Power_setConstraint(Power_IDLE_PD_DISALLOW);

    正常需求是进入低功耗电流下降,串口无法接收数据,现在是多次触发后就进入不了。