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

How to turn off MCLR (16F819) ?

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



Joined: 07 May 2007
Posts: 69

View user's profile Send private message

How to turn off MCLR (16F819) ?
PostPosted: Mon Apr 23, 2018 5:03 pm     Reply with quote

(Header ) #FUSES NOMCLR

I want MCLR pin (A5) can act as a regular digital input.
When low logic input, The chip will run unreliable, and will shut off on unexpectedly.

Please help.
Best regard
temtronic



Joined: 01 Jul 2010
Posts: 6251
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Apr 23, 2018 8:19 pm     Reply with quote

You really need to show us your program, That PIC should support the fuse 'nomclr', however something else could be causing the problem you're having, like the WDT being enabled...shorted pins, ??

Jay
Ttelmah



Joined: 11 Mar 2010
Posts: 13536

View user's profile Send private message

PostPosted: Tue Apr 24, 2018 12:36 am     Reply with quote

Also, you have to be very careful when using the MCLR as a conventional input. It does not have any protection diode built in, and if the signal glitches above the supply (even quite a small amount), this can trigger the start of a programming cycle, and reset the chip. It is best to have your own external protection diode on the pin.
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