> I am using the PIC16F877 and planing to use its SPI to > send out data only (no receive data). Can I use the > SPI DI pin (RC4) as an output (I want to use this for > Chip Select signal) Yes, see section 16.3.2, "Enabling SPI I/O", of the Midrange Manual. It's a little clearer than the 877 manual -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads