>You simply ignore the unwanted data, i.e. to read a byte with the MSSP >you just load the buffer with a dummy value which initiates a >write/read. The dummy value will of course be clocked out on the SDO >pin so you make sure there are no active devices listening to it in this >case. Likewise, when you send a valid byte out, you simply ignore the >byte which has been clocked in if it is of no relevance to you. But how do I know if the value is a dummy value or a valid value? If I decide to use 0 for the dummy value, how do I send a real 0? I suppose I need some sort of escape code now. And what happens if the slave hasn't loaded anything into its output buffer by the time the transfer starts? Does it send whatever random bits were in the buffer? What happens at the next transfer (if it still hasn't loaded anything)? Does it send the same random bits? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist