Thanks, Mike. I clear both CCP1CON and CCP2CON, which should turn them off. Is there another register that I'm missing? Ed -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Mike Hord Sent: Thursday, December 04, 2003 8:27 AM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: multi-use for 'F877 PORTC Check your CCP registers. It could be a problem with one of them setting up the pin as a CCP I/O instead of a general purpose I/O. Even if you "never" use the CCP, go ahead and initialize the registers to some known value, just for safety's sake. Mike H. >Hi, >I'm using PORTC for SPI, as a UART, and am also trying to use RC2 as an >enable line associated with an SPI part. I am not using any PWM functions, >but am using Timer1 with an internal clock. RC2 is set up as an output on >TRISC, but I can't seem to get anything out. I can't find any text in the >data sheet that says that RC2 cannot be used as an I/O when the UART and >SPI >are enabled. > >I've set up an empty pin on PORTD to mimic RC2 so I know the logic is >correct. Unfortunately, the board layout uses RC2. Any suggestions? > >Thanks, >Ed > >-- >http://www.piclist.com hint: The list server can filter out subtopics >(like ads or off topics) for you. See http://www.piclist.com/#topics _________________________________________________________________ Get holiday tips for festive fun. http://special.msn.com/network/happyholidays.armx -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics