Yes. ^^^^ ^TYPO!! I meant NO, as the statment below clarified. The pin multiplexer prevents use as an output if SPI is enabled, but you can still read the pin directly with PORTC if it's an input. Why didn't you just read the PORTC description in the manual or write some code to test it? Robert Sandeepa.D.Khale wrote: > I am using the SPI module on the 16f877a to interface to a ADC;therefore the > SDO pin is of no use in this interface as the PIC will only be receiving > data from the ADC. > The datasheet states > "If the SPI is only going to receive, the SDO output could be disabled > (programmed as an input)." > > Does this mean that in the above case,SDO can be used as only a general > purpose INPUT and not as a general purpose OUTPUT? > Is there any way it can be made to function as a general purpose output even > while using the SPI module? > > Thanks -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist