嗨,是的,电源电压和复位引脚电压应该是一样的,当单片机想要自己正常运行时。但是,当你希望PIC复位时,MCLR信号必须达到0,又名0。VSS-AKAGND当编程闪存程序存储器时,M/CLR管脚上的电压可能比电源电压高。当微控制器连接到一个编程/调试工具,如PICkit,工具必须能够控制复位引脚上的电压。最常见的解决方案是在电源引脚和复位引脚之间连接一个10kOhm的电阻。在数据表中的某个地方,有一个更复杂的问题D图,有一个大胆的解释。在任何情况下,程序员连接必须直接到/MCLR引脚。也有可能对没有高于电源Vdd的电压的微控制器进行编程。为了实现这一点,还有一个引脚:PGM,它也必须连接到编程工具。
以上来自于百度翻译
以下为原文
Hi,
Yes,
Power supply voltage and reset pin voltage should be same, when microcontroller is wanted to run normally on it's own.
But when you want the PIC to Reset, the MCLR signal must be brought to 0, aka. Vss aka. GND
When Programming the Flash program memory, voltage on the /MCLR pin may be brought Higher than Power supply voltage. When the microcontroller is connected to a Programming / Debugging tool, like PICkit, the tool Must be able to control the voltage on the reset pin.
The most common solution is to connect a 10 kOhm resistor between power supply pin and reset pin.
Somewhere in the Datasheet, there is a more complicated diagram, with a bougous explaination.
In any case, the Programmer connection must be directly to the /MCLR pin.
There is also a possibility to program the microcontroller with no voltage higher than power supply Vdd.
For this to work, there is another pin: PGM that also must be connected to the Programmer tool.
Regards,
Mysil