> Your 115.2 Kbaud transfer rate requires 8.68 usec per bit time. How > tolerant is the other end of your custom link to baud rate error? > > A 10 MHz PIC (400 nsec instruction time) will execute 21.7 > instructions in 8.68 usec. If your bit-bang loop runs in 22 > instruction cycles per bit, you'll have an error of about 1.4% slow. Note that there is no law that you must send the bits in a loop: with some calculation (and enough code space) you can unroll the loop and be up to 1 instruction accurate. Wouter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads