I looked at this a while ago and found an AVR ap note AVR120 helpful. http://www.atmel-grenoble.com/dyn/resources/prod_documents/doc2559.pdf Regards, Gordon Williams -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist