EN: Code created to show how is done the calculation of a CRC. It includes many different CRCs to choose from.
This software was created to help people understand how is the CRC calculated and be able to see it in a practical way, it is also available to copy and use it for your own project. I hope it helps you.
ES: Código creado para mostrar como se realiza el cálculo de un CRC. Con el mismo se incluyen varios CRCs que pueden ser escogidos.
Este software se creó con el propósito de ayudar a la gente a entender como se hace el cálculo de un CRC de una manera más práctica y sencilla, también se puede copiar y aprovecharlo para otras aplicaciones. Espero que te sea util.
Nice code. I tried CRC8 and the result is correct.
This is a lovely little bit of code. I was looking for a nice simple easy to understand implementation of CRC-CCITT16 that would easily integrate into my C code for cross-compilation to ARM11. I also wanted to be able to test it under cygwin on Windows. Integrated and compiled without effort in both cases. Nice work Francisco. If you ever feel inclined it would be nice to have an iterative routine that could encode one byte at a time as they arrive - say in an ISR where your look-up method for the encoding polynomial is plenty fast. Many thanks!