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

How to use RA4 as an output pin in 16F648A mcu

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



Joined: 08 Sep 2003
Posts: 492
Location: India

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

How to use RA4 as an output pin in 16F648A mcu
PostPosted: Wed Oct 04, 2006 9:21 am     Reply with quote

Hi,

I am not able to use the RA4 as an output pin in a 16F648A mcu, kindly explain how I can do this ???

thanks
arunb
Ttelmah
Guest







PostPosted: Wed Oct 04, 2006 9:25 am     Reply with quote

Look at the pin diagrams in the data sheet.
RA4, functions as an output, _but has no pull up FET present_. Hence _you_ must pull any line attached up externally with a resistor etc..

Best Wishes
Guest








PostPosted: Wed Oct 04, 2006 7:16 pm     Reply with quote

Hi,

Actually, RA4 has an output FET, but it is open-drain. You solution, however, is correct.
Ttelmah
Guest







PostPosted: Thu Oct 05, 2006 9:19 am     Reply with quote

Read what I say.
It has no _pull up_ FET. The normal outputs have two FETs, one a P type, connected to the Vdd rail, and the other an N type, connected to Vss. Both are wired as 'common source' devices (with their sources connected to their respective supply rails). A4, has the P type (pull up) FET omitted.

Best Wishes
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