CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

strange MCLR Pin problem 12F629

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Erik
Guest







strange MCLR Pin problem 12F629
PostPosted: Tue Jun 17, 2003 8:29 am     Reply with quote

I use the GP3 PIN (MCLR) as input of a higher than 5V voltage square wave (i call it Vdd2). Unfortunately my program works fine till the square wave voltage (Vdd2) is below 9V, but if the voltage gets higher the chip doesn´t seem to work anymore - that means it outputs a square wave with the same frequency like the input on Pins which i have internally pulled up (and that should not be...).

MCLR-reset is disabled.

I use a 50 kOhm pull-up (to Vdd2) on GP3 und a standard 7805 for power supply (which is powered by Vdd2).

Does anyone have an idea what´s going wrong ?!?
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515324
chas
Guest







Re: strange MCLR Pin problem 12F629
PostPosted: Tue Jun 17, 2003 10:03 am     Reply with quote

:=
:=I use the GP3 PIN (MCLR) as input of a higher than 5V voltage square wave (i call it Vdd2). Unfortunately my program works fine till the square wave voltage (Vdd2) is below 9V, but if the voltage gets higher the chip doesn´t seem to work anymore - that means it outputs a square wave with the same frequency like the input on Pins which i have internally pulled up (and that should not be...).
:=
:=MCLR-reset is disabled.
:=
:=I use a 50 kOhm pull-up (to Vdd2) on GP3 und a standard 7805 for power supply (which is powered by Vdd2).
:=
:=Does anyone have an idea what´s going wrong ?!?

Whether or not MCLR is set to an input, it is always the high voltage programming pin. The max input voltage for the MCLR pin when it's an input is Vdd. I would suggest that when that pin goes above 9V in your circuit, it is setting the processor into program mode. If you truly need to have a high voltage for that signal, I would suggest a series resistor and a diode clamp to Vdd. Hope this helps.
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515325
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group