TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2640R2F shutdown模式gpio外部上拉功耗高

您好,我目前测试shutdown模式时,发现有gpio外部上拉时,功耗比较高,功耗可以达到120uA以上,若去掉上拉电阻,则功耗可以在6uA以下。引脚外部上拉时,IO应该如何配置才能做到功耗比较低呢?我试过将IO配置成PULLUP、NOPULL、PULLDOWN,功耗都没有降低。谢谢!

Kevin Qiu1:

shutdown模式下CPU等已经关闭,多出来的功耗应该是外部电路产生的

CC2640r2f各模式下功耗:

Viki Shi:

不用的IO口建议设置为tristate

By default, the I/O driver (output) and input buffer (input) are disabled (tri-state mode) at power on or reset, and thus the I/O pin can safely be left unconnected (floating).
If the I/O pin is placed in the tri-state condition and connected to a node with a different voltage potential; there might be a small leakage current going through the pin. The same applies to an I/O pin configured as input, where the pin is connected to a voltage source (for example VDD / 2). The input is then an undefined value of either 0 or 1.

user6110459:

回复 Viki Shi:

您好!这个IO是用来做I2C通信的,shutdown模式下是不用的,目前这个IO口是外部上拉。那进入shutdown模式前如何把它设置为tristate呢?我看程序里并没有这个选项。谢谢!

user6110459:

回复 Kevin Qiu1:

您好,这个应该是外部上拉电阻消耗的电量,那如果有外部上拉gpio的存在,CC2640R2F的gpio应该如何配置才能消耗比较小的电量

Kevin Qiu1:

回复 user6110459:

外部电量消耗无法通过软件解决,可以试试内部上拉

user6110459:

回复 Kevin Qiu1:

内部上拉已经试过了,消耗的电流并没有降低。像I2C这种需要外部上拉的电路,低功耗应该怎么设计呢?

Viki Shi:

回复 user6110459:

需要上拉不好做低功耗,一般都是不用的引脚配置为三态来降低功耗。或者进入低功耗之前,把相关引脚配置好:

如果IO口上拉,请设置为高电平输出或者高阻态输入;如果IO口下拉,请设置为低电平输出或者高阻态输入

设置请参考:dev.ti.com/…/_p_i_n_8h.html
以及SDK里的例程

赞(0)
未经允许不得转载:TI中文支持网 » CC2640R2F shutdown模式gpio外部上拉功耗高
分享到: 更多 (0)