Jump to content
Sign in to follow this  
hari_one

Pic16f690 Pin Ra3 Problem

Recommended Posts

Hello,

 

I have used Pin RA3 as input with external interrupt enabled( TRISA3= 1,IOCA3 = 1). It is always showing zero volt at the pin. I want to pull up the pin. Is there any way i can pull it up using software or should i add a small resistor and connect it to 5v?

Share this post


Link to post
Share on other sites
Hello,

 

I have used Pin RA3 as input with external interrupt enabled( TRISA3= 1,IOCA3 = 1). It is always showing zero volt at the pin. I want to pull up the pin. Is there any way i can pull it up using software or should i add a small resistor and connect it to 5v?

 

Looking at the data sheet

 

Each of the PORTA pins, except RA3, has an

individually configurable internal weak pull-up. Control

bits WPUAx enable or disable each pull-up. Refer to

Register 4-4. Each weak pull-up is automatically turned

off when the port pin is configured as an output. The

pull-ups are disabled on a Power-on Reset by the

RABPU bit of the OPTION register. A weak pull-up is

automatically enabled for RA3 when configured as

MCLR and disabled when RA3 is an I/O. There is no

software control of the MCLR pull-up.

 

Id say you need a pull up resistor.

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...