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 CCS Technical Support

PIC18F46K22 MCLR internal PU resistor

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



Joined: 06 Feb 2006
Posts: 468
Location: Bali

View user's profile Send private message Send e-mail

PIC18F46K22 MCLR internal PU resistor
PostPosted: Thu May 04, 2017 4:23 am     Reply with quote

Hi

I am using usually 10K resistor on the MCLR and it works fine.
My question is someone using the internal weak PU resistor on the MCLR of the PIC18F46K22 ?

Best wishes
Joe
temtronic



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

View user's profile Send private message

PostPosted: Thu May 04, 2017 5:43 am     Reply with quote

Not me.....didn't even know it did.
I've always used a real 10K pullup. Now I just read about it and it's disabled during a 'power on reset' whether that affects your PIC code / operation...hmmmmmmm.
Frankly I've got 10,000 10K resistors here,so cost isn't an object. It doesn't really take up any board space, so that doesn't matter.
and
if it ain't broke.... it don't need fixing !!

Interesting though..off to build an Ark...ANOTHER 2" of rain today...sigh..

Jay
Ttelmah



Joined: 11 Mar 2010
Posts: 19552

View user's profile Send private message

PostPosted: Thu May 04, 2017 7:17 am     Reply with quote

Quite a few later PIC's have this feature.
If there is no significant length of track attached to the pin, and the environment is 'low noise', then it functions adequately. If there is any length of track, or the electrical noise is significant, then an external pullup is recommended.
gjs_rsdi



Joined: 06 Feb 2006
Posts: 468
Location: Bali

View user's profile Send private message Send e-mail

PostPosted: Fri May 05, 2017 1:08 am     Reply with quote

Thank you for the answers
The question is how to use it. I suppose Microchip had something in mind when adding the resistor.
MCLR pin not connected maybe?

Best wishes
Joe
Ttelmah



Joined: 11 Mar 2010
Posts: 19552

View user's profile Send private message

PostPosted: Fri May 05, 2017 11:04 am     Reply with quote

Exactly.

It's always there if the pin is setup as MCLR, so nothing involved in 'using it'. It ensures that when the pin is set as MCLR, it is never floating.
gjs_rsdi



Joined: 06 Feb 2006
Posts: 468
Location: Bali

View user's profile Send private message Send e-mail

PostPosted: Fri May 05, 2017 5:17 pm     Reply with quote

Thanks again Ttelmah

Best wishes
Joe
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