Chetan, Did you find out why a pullup resistor was required on an input pin? I'm guessing the pullup was required for whatever cricuit was driving the pin? Regards Mike >-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >Sent: 09 May 2005 04:35 >To: pic microcontroller discussion list >Subject: Re: [AVR] Using PB5 on Tiny11 > > >SOLVED!!! > >Pull-up was the culprit! Added a resistor, works just fine... :-) > >Regards, > >-- >Chetan Bhargava >Web: http://www.bhargavaz.net >Blog: http://microz.blogspot.com > > >On 5/8/05, Chetan Bhargava wrote: >> Hi, >> >> I'm trying to use PB5 on Tiny11 but am running into problems. I'm >> experimenting with AVR305 application note and instead of >PB0 I would >> like to use PB5 as it is an input only pin. I'm also inverting the >> received bits in software as I'm connecting the input pin to RS232 >> using a 100k resistor and there is no inverter in between. >The program >> works using PB0 as RxD but doesn't work when I use PB5 as RxD :-( >> >> I have disabled the reset pin using the fuse. >> >> Is there any special init procedure to enable PB5? > >-- >http://www.piclist.com PIC/SX FAQ & list archive >View/change your membership options at >http://mailman.mit.edu/mailman/listinfo/piclist > ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist