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.

CC2541 P0_1设置为开关 漏电流

Other Parts Discussed in Thread: CC2541

请问,我在使用CC2541开发的时候,设置P0_1为GPIO,并且为input

P0SEL &= 0xFC;
P0DIR &= 0xFC;

设置了上升沿PICTL &= 0xFE; 驱动。

但是出现,设计的外部电路如图所示。

图中WKUP触点接触的是P0_1。

出现的问题是:当P7的1和2短接的时候,出现了从P0_1的向GND的漏电流,并且达到了0.25mA,明显是不正常的。

请问,这个P0_1管脚从头到尾一直都是输入的,但是为什么出现了一个这样的漏电流。