On 29 Apr 2006 at 14:00, Harley Shanko wrote: > Seems to be a dozen or more types of CRC. Confusing. And they talk of > dividing. HELP! My design is using a PIC12F629/675 (because it was > in-hand) and there is no divide instruction. You don't need a divide. > Does anyone happen to know what the CRC algorithm is used with ECUs with VPW > protocol? I made an interface about 5 or 6 years ago. It's an 8-bit CRC. I forget the polynomial but I can probably put my hand on it in the next few days. You'll need to be pretty tricky to do the CRC in realtime along with banging the bus at 4 (or 8) MHz. Cheers, Bob -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist