如果IO处于弱上拉的GPIO态,IO接地会增加漏电流,功耗将增加。
Additionally the recommendation for unused pins is to set them as outputs and not connect them on the PC board.没用的要设为输出,悬空。The most important thing is not to leave them in an input condition where the input is floating.最重要的是不要设为输入,当输入有变化的时候
,用户指南说的。
引用: 原帖由 水货老手 于 2011-7-9 19:33 发表
Additionally the recommendation for unused pins is to set them as outputs and not connect them on the PC board.没用的要设为输出,悬空。The most important thing is not to leave them in an input conditi ...
哪个用户指南里有?我怎么没有搜到啊,能给个该文档在TI网站上的链接吗?
430是低功耗器件,IO悬空时,设置为输出没有问题,输入的话,注意程序结构和电路处理也不会有问题。
回复 7楼 dsp_comm 的帖子
应该每个系列用户指南都有讲到的,
在用户指南 Digital I/O -> Ditital I/O operarion -> configuring unused port pins 这里
Unused I/O pins should be configured as I/O function, output direction, and left
unconnected on the PC board, to reduce power consumption. The value of the
PxOUT bit is don’t care, since the pin is unconnected. See chapter System
Resets, Interrupts, and Operating Modes for termination unused pins.
这段话是msp430f1611型号的未用引脚配置,所以一般情况下不用的引脚还是设置为输出方向比较好,降低功耗。
硬件上悬空没问题,软件可以配置为IO输出已降低功耗。