You are here

PRS, CRC, shifth register compare don' exist | Cypress Semiconductor

PRS, CRC, shifth register compare don' exist

Summary: 3 Replies, Latest post by Arvind Krishnan on 30 Sep 2012 03:32 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
ricerca's picture
1 post

Cypress do a very awful  things,

You calculate CRC, from a stream , and after this there isn't any compare with crc incoming and the calculate.WhY they put a CRC calculation, for platonic view?

In same manner , in PRS module, they remove compare function as exist in PSOC1, and if i want compare one random number with the value coming for  example from a serial stream ?. another platonic and unuseful things.

In the same manner for the shith register or others logic there isn't compare logic.

The bad things that exist in PSOC1, take a look on PRS module, that it's easy to transform in a shifth register..

Using Warp verilog it's like take an hammer and punch it's feet.

I like known , the reason for forget this important logic function ?, that complete like said before CRC, PRS and others module.

Full of hopes ( the last to die)



occupy's picture
58 posts

may  be a  big problem

hope  the  engineer see that

Arvind Krishnan's picture
Cypress Employee
143 posts


Hello Giovanni,


The CRC usermodule calculates the CRC value of the input bit stream as long as the UM is enabled and clock pulses are supplied. Conventionally, the input bit stream also comprises of thr CRC bits as well, so that the receiver can verify the calculated CRC with the received one. In the case of the usermodule, you can do this compare by allowing the CRC usermodule to read in all the data (including CRC bits), and then reading the calculated value using CRC16_ReadCRC function. If the values match, it should return a "0" value.  (the final 16 CRC bits received) XORed with (the calculated value) = 0 if matched}


The same technique can be applied to other UMs that use shift registers. (PRS16_wReadPRS for PRS usermodule)


If you are looking at making a specific fuinction, please look into the Digital Communication Block (DCB) architecture from the PSoC 1 technical reference manual. It should help you understand the scope of the hardware.





Arvind Krishnan's picture
Cypress Employee
143 posts


KB article with example project on how to use CRC -

Log in to post new comments.