> If I set PR2 to 0, I get no SPI clock at all. Is this correct? It's not what I expected it would do. I thought the output of timer 2 was Fosc / (PR2+1), which in this case would be Fosc. But if you've tested it and found it to work the other way, then that must be how it works. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads