Thank you for everyone's help. Another questio: I am using the PIC16F877 and planing to use its SPI portion to send out data only (no received data). Can I use the SPI DI pin (RC4) as an output (I want to use this for Chip Select signal) Thanks! Thomas >From: Jinx >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC]: Waking up the PIC >Date: Mon, 10 Jun 2002 19:44:17 +1200 > > > suppose the module is "sleeping". How do I wake it up through > > SPI since when it's sleeping, the SPI portion doesn't work > >That's only true for Master mode. In Slave mode the PIC >will wake up when 8 bits have been received if the SSP >flag is set and enabled > >-- >http://www.piclist.com hint: To leave the PICList >mailto:piclist-unsubscribe-request@mitvma.mit.edu > > _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu