CRC-CCITT Addendum…
A while back I posted a short article of my work on CRC-16, CRC-CCITT, and CRC-32.
Few days ago, Joon posted a comment on this post pointing out a ‘typo’ in the program output. It should read, ASCII String ‘123456789′ rather than what was originally posted.
Also, the output in that article is the ‘XModem’ variety, using an initialiser of ‘0000′.
If it is initialised with ‘FFFF’ the output is still in fact CRC-CCITT, and the following was obtained:
File ‘crc_ccitt_direct.c’ compiled on Oct 12 2008 at 14:38:06
CRC pre-conditioner 0xFFFF for CRC-CCITT
ASCII ‘A’ / 0×0041 / 65
CRC-CCITT = 0xB915 / 47381ASCII String ‘123456789′
CRC-CCITT = 0×29B1 / 10673ASCII String ‘ABC…XYZ’
CRC-CCITT = 0xD8E1 / 55521
- MCU Communication with CRC-CCITT
- CRC-16, CRC-CCITT, and CRC-32
- CRC-CCITT on a MCU
- MARV Update…
The receive interrupt on the PIC was tested, first with a basic 'echo' routine. This was then later expanded to apply the CRC routine on a single byte of data sent as a 4-byte payload. The '$' symbo...
The past 48 hours have been quite a ride. I really should be heading off to sleep, but instead...here I am posting on my blog. I spent the better part of yesterday evening right until around 8-9am...
Another successful afternoon where I launched Windows XP SP3 inside Parallels Desktop v3.0 for Mac, and connected to my MPLAB ICD2 PIC programmer. Yes, Wow! I managed to test some of the code ...
I hit a serious problem earlier on in the day. I had failed to notice that the PWM5 port on the 18F1330 was sharing the PGD pin and as such after each flashing of the MCU, the 3rd motor would not fun...








