> The datasheet states > "If the SPI is only going to receive, the SDO output could be > disabled (programmed as an input)." Hi Sandeepa. On the previous page, the manual also states "SDO must have TRISC<5> cleared" (ie it's an output if used in its SPI context) and "Any serial port function that is not desired may be over-ridden by programming the corresponding data direction (TRIS) register to the opposite value" This appears to me to say that if you aren't using SDO, it has to be set to the opposite of its SPI function, which is as an input -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist