设置成什么状态才省电啦?

[复制链接]
3462|36
 楼主| zhanghqi 发表于 2018-1-3 22:38 | 显示全部楼层 |阅读模式
430的MCU 没有用到的端口怎样处理才省电啦。设置成什么状态才省电啦?
zhenykun 发表于 2018-1-3 22:41 | 显示全部楼层
你给它接电或接地,相应的拉高或拉低,主要耗电还是在功能模块开启的时候。。。
zhenykun 发表于 2018-1-3 22:44 | 显示全部楼层

嗯 二楼说的很对
jlyuan 发表于 2018-1-3 22:51 | 显示全部楼层
端口设置成输入状态
yszong 发表于 2018-1-3 22:54 | 显示全部楼层
设置为输入状态   同时内部电阻设置为高阻态   这样比较省电   呵呵   
 楼主| zhanghqi 发表于 2018-1-3 22:58 | 显示全部楼层

1.接地或接电源,相应的把它置低和置高.
2.把它设置成输入.
其中第二种方法,I/O是接地还是接电源?
这两种方法那一种省电?
dengdc 发表于 2018-1-3 23:01 | 显示全部楼层

IO口设置成输入状态后,再将IO口设置成高阻态,就无所谓接GND还是电源了都可以实现省电的
dengdc 发表于 2018-1-5 19:25 | 显示全部楼层
Unused I/O pins should be configured as I/O function, output direction, and left unconnected on the PC
board, to prevent a floating input and reduce power consumption. The value of the PxOUT bit is irrelevant,
since the pin is unconnected. Alternatively, the integrated pullup/pulldown resistor can be enabled by
setting the PxREN bit of the unused pin to prevent the floating input. See the System Resets, Interrupts,
and Operating Modes chapter for termination of unused pins.
heweibig 发表于 2018-1-5 19:30 | 显示全部楼层
最省电的还是置为三态的高阻态
wuhany 发表于 2018-1-5 19:32 | 显示全部楼层

接地也是会产生电流的,消耗资源的
liliang9554 发表于 2018-1-5 19:35 | 显示全部楼层
模拟输入的状态的,这样IO的电流就降到最低了。
午夜粪车 发表于 2018-1-5 19:39 | 显示全部楼层

都设置成模拟输入状态的吧。
zhaoxqi 发表于 2018-1-5 19:41 | 显示全部楼层
直接设置成输入状态的吧
zhenykun 发表于 2018-1-5 19:43 | 显示全部楼层
一般都是接地的,置高阻更好
wyjie 发表于 2018-1-5 19:45 | 显示全部楼层
配置成IO,输出,什么都不连
yszong 发表于 2018-1-5 19:50 | 显示全部楼层
主要目的是阻止不稳定的输入,实现这个就好
 楼主| zhanghqi 发表于 2018-1-5 19:53 | 显示全部楼层
结贴了,多谢大家讨论这么多哈,呵呵
jkl21 发表于 2018-1-5 21:51 | 显示全部楼层
低功耗模式
maqianqu 发表于 2018-1-5 21:52 | 显示全部楼层
msp430低功耗模式LPM4耗电最省,仅为0.1uA
dspmana 发表于 2018-1-5 21:52 | 显示全部楼层
用到5种低功耗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

852

主题

11757

帖子

5

粉丝
快速回复 在线客服 返回列表 返回顶部