Please help me how to make simple method TRNG (true random generator) from analog internal component for Psoc1 (CY8C29466)
Many thanks Kamil
Not too easy to accomplish, but have a look here http://en.wikipedia.org/wiki/Noise_generator
Bob (again: small window)
Some time ago, we use a fast running counter and read the data when we need a random number, and the output pattern was pretty random, but not sure if that can pass all those randomess test. :-)
Do you need this for generating analog noise or a digital sequence
Analog, take a look at this, zener and other based, use PGA to amplify - www.ciphersbyritter.com/NOISE/NOISRC.HTM
Digital - The PRS module in Designer, "Random Seq" folder of module explorer window.
Please note that the one in the UM is a pseudo random number generator, But you mentioned that you want a TRUE random number generator. They are not the same.
The differences in Psuedo vs True -
My idea is true random generator, but thanks usefull info.
So, an easy method could be to use the noise of a zener-diode, get it amplified to a reasonable value, filtered to get rid of the frequencies above the conversion frequency and then converted to a digital number preferrably with a s&h circuit at the input of the ADC.
When you apply a filter, be it H(s,t), or a finite word length computation
process, like an A/D, algorithim, the "randomness quality" declines.
An interesting thread on the problem, google the problem, more info
than you want to know.
Link leads to posting, is that an invitation or a typo?
AN2226 is also a psuedo random approach.