PSoC Digital blocks can be configured to implement a 16 bit CRC Generator that may be used in digital communications. PSoC Designer provides a user module CRC16 that implements a 2 to 16-bit CRC algorithm on an input serial data stream. Various CRC functions like CRC-16 or CCITT may be implemented by setting the correct polynomial. A seed value can be specified to initialize the starting data value.
The attached document and project demonstrate the operation of CRC16 user module. The project is designed to transmit a string of 10 characters using SPI master (SPIM) user module. The bit stream is then externally fed back to a CRC16. When the complete string has been transmitted, the string data and the CRC of the string are displayed on an LCD display. This project has been developed and tested using PSoC Designer 5.2.
|