Pseudo Random Sequence Generator with PSoC® 1 - KBA83078

Version: *A

 

Question:

How do I generate a random number sequence using PSoC® 1?

 

Answer:

PSoC Designer includes the PRS8, PRS16, PRS24, and PRS32 User Modules to implement pseudo random sequence (PRS) generators. The PRS User Modules are modular linear feedback shift registers (LFSR) that generate a pseudo random bit streams. You specify the polynomial and starting seed values to define the output number sequence.

The Pseudo Random Sequence Generator project demonstrates how to use the PRS8 User Module to generate a random bit stream with a 10 ms interval and transmit it using a TX8 serial transmitter.