Shawn Tan Ser Ngiap wrote: >> current i am using a 10MHZ crystal with 4X step up, when i implement >> spi what is the Fosc? is it 10Mhz or 40Mhz? pls advise > > IIRC, it should be 10... No, it's 40MHz. Fosc refers to the speed the PIC logic is being driven at. The instruction clock speed is 1/4 that, or 10MHz. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist