- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone !
I cannot get working the CRC component.
I have a workspace with three project in there.
One project is CRC only.
The other two ones are Infrared Emitter and Receiver, each one with its CRC component.
The setting for the three CRC is a same and I am getting three different CRC values when I am shifting serially the same 16 bit word
( I repeat with the same CRC component setting).
The word shifting is done similar to the CRC example, with Control Registers ( Enable, Data, but clock is a clock component.)
Each CRC has 12 MHZ clock component attached.
My be I am wrong with something.
Thank you for any help.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not know who spread the rumor that computers are deterministic. Can you please post your complete random number generator project 😉 , so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, you did build a random number generator! The input clock into the CRC samples at every rising edge the data and is running completely independent from your program which sets/clears the incoming data. Even after reset by control register is performed during the CyDelay()s the CRC is still collecting data.
That's a Randomotron circuit!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob
Thank you, I will fix the issue.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are always welcome!
Bob