使用的是zstack home 2.5.2a,下载好sample api的终端程序,直接给2530vcc和GND供电,芯片无法正常工作,但是把P1_7引脚接地芯片就可以正常工作,悬空的话和接VCC芯片都无法正常启动。请问这个是什么原因造成的?
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.
您可以参考下用户指南中对Unused I/O Pins的处理
7.1 Unused I/O Pins
Unused I/O pins should have a defined level and not be left floating. One way to do this is to leave the pin unconnected and configure the pin as a general-purpose I/O input with pullup resistor. This is also the state of all pins during and after reset (except P1.0 and P1.1, which do not have pullup or pulldown capability). Alternatively, the pin can be configured as a general-purpose I/O output. In either case, the pin should not be connected directly to VDD or GND, in order to avoid excessive power consumption.