2640,调用Power_setConstraint(Power_SB_DISALLOW)这个函数后电流增加很大
调用Power_setConstraint(Power_SB_DISALLOW);这个函数后,电流增加到2ma左右,如果从机断连后,除了调用HAL_SYSTEM_RESET();这个函数能把功耗降下去外,还有哪种方法能降低功耗?
你调用Power_setConstraint的目的是什么? 这个函数强制不进入STANDBY,必然电流增大。 如果是使用协议栈,打开POWER_SAVING 就好了
如果不调用Power_setConstraint(Power_SB_DISALLOW这个函数,无法通过UART串口向蓝牙发送数据,有什么好的方法吗?
如果不调用这个函数,无法通过UART串口向蓝牙发送数据,有什么好的方法吗?
http://processors.wiki.ti.com/index.php/Adding_driver_cc2650#Handshaking
看这里
没有看到调用这个函数的说明,麻烦能解释一下吗?谢谢!
Constraint. A constraint is a system-level declaration that prevents a specific action. For example,
when initiating an I/O transfer, a driver can declare a constraint to temporarily prohibit a transition into
a device sleep state. Without this communication to the Power Manager, a decision might be made
to transition to a sleep state during the data transfer, which would cause the transfer to fail. After the
transfer is complete, the driver releases the constraint it had declared. Constraints are declared with
the Power_setConstraint() API, and released with the Power_releaseConstraint() API.
TIRTOS里有文档
1108.Power_Management.pdf
感谢回复!