I was going crazy trying to figure out how DangerousPrototypes got their PIC18F24J50 running at 20MHz to capture signals at 20MHz when I couldn't even get my PIC32 to toggle a pin faster than 10MHz (from C32). Then I realized that they had the SRAMs to capture the data directly. -_______________________- Wow it really is tough to get a micro controller to capture inputs directly= .. Need some other logic to do it. Oh well - time to put my PIC stuff away and get out the old Spartan 3. Still going to test the SPI stuff for fun though. I want to push the PIC to its limits - even if that means writing inline assembler to do it. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .