- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ,
I am trying to send my data from the encoder to my cy8ckit-043 to check for any errors along with my CRC polynomial. How do I set it up in my PSoC creator. I made a CRC table in PSoc and wrote my polynomial representation too. I am still confused how to check for crc . I would like to know about the seed value and my polynomial value, what do they generate? How should I send my data stream through di pin on crc?
Solved! Go to Solution.
- Labels:
-
ispn:39613:1:0
-
l1:314:1:0
-
PSoC4MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
rishabh,
In serial communication it is common to use CRC check by simply summing all bytes in the message packet. The CRC byte is then appended to the message.
This is much faster than polynomial algorithm, and quite sufficient for communication.
Also, check if this example applicable to your case
Quad Decoder with Button Switch component for rotary shaft encoders
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Rishabh,
The seed value to be input depends on the application that you want to develop and regarding how the CRC component works, you can refer to the Functional Description section of the CRC Component Datasheet.
Additionally, you can right-click on the component and select Find Code Example. You can use this example as a reference. Here is a thread that might help too - CRC Component
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
rishabh,
In serial communication it is common to use CRC check by simply summing all bytes in the message packet. The CRC byte is then appended to the message.
This is much faster than polynomial algorithm, and quite sufficient for communication.
Also, check if this example applicable to your case
Quad Decoder with Button Switch component for rotary shaft encoders