> I have done soft-uarts using just 1x sampling. > Detected the start-bit with an edge interrupt, set the next timer > interrupt for 1.5 bit-time and the other interrupts for one bit-time. > > Never had a single problem but never used on noisy signals. > > Mark Jordan > > I've done this with a PICkit 2. (18f2550 @ 48 MHz Fosc.) I needed two read-only channels with timing information to act as a protocol analyzer between two devices. it worked fine but needed a nice clean signal (no oversamping). I was able to capture at baudrates up to 115200, but only for short messages. (I had a 256-byte circular buffer and was using HID code). Someday I'll clean up the code and get it on my weblog. Regards, Mark markrages@gmail -- Mark Rages, Engineer Midwest Telecine LLC markrages@midwesttelecine.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist