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

output low or high impedance only

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







output low or high impedance only
PostPosted: Sat Apr 07, 2007 2:35 pm     Reply with quote

How do I configure an IO pin to have high impedance when not outputting low (0V)? Basically I want the pin to have just two state: low or high impedance.
Ttelmah
Guest







PostPosted: Sat Apr 07, 2007 2:43 pm     Reply with quote

output_float.
It basically turns the pin into an input, without reading the data, leaving it in a high impedance state.

Best Wishes
david9000
Guest







PostPosted: Sat Apr 07, 2007 2:47 pm     Reply with quote

bingo. Thanks
david9000
Guest







PostPosted: Sat Apr 07, 2007 9:17 pm     Reply with quote

I know it's high voltage for an io pin, but when I input 9V from my battery, I can see 25mA is flowing into the high Z pin. Why?

I don't see any current flow when I input 5V from the regulator into the HIgh Z pin which is expected and good.
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Sat Apr 07, 2007 10:24 pm     Reply with quote

You are seeing junction breakdown because you are greatly exceeeding the chip maximum ratings (5.5VDC).. I'm surprised you didn't blow the chip.

From the manufacturer manual.

# Input voltage: Vin
Maximum voltage that may be applied to input pins.
This voltage is determined by the punch-through breakdown voltage of the input transistors or the breakdown voltage of input diodes, and therefore voltage exceeding this rating may destroy these transistors or diodes.
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