Please help me how to make simple method TRNG (true random generator) from analog internal component for Psoc1 (CY8C29466)
Many thanks Kamil
Im find this great project http://www.psocdeveloper.com/tools/misc-dev-tools.html (Random Number User Module) but not working in new Designer v5.4.
Is possible help me port this module to new Designer ?
Many thanks Kamil
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.
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.
Im aprox. rewriting (Ilya Mamontov Random Number User Module) module from this site for Designer v5.4 http://www.psocdeveloper.com/tools/misc-dev-tools.html
The project works but I do not know it is really True random !!!
Pin P0 - CounterOut - like main clock
Pin P0 - DigitalRnd - true random bitstream ?
Pin P0 - AnalogRnd - true random analog signal ?
Original description from Ilya Mamontov module manual is "The operation is based on utilization of
thermal and semiconductor noise."
Yes im read this
I thing analog semiconductor noise is true random !
See Ilya text "absolutely random" !
" The Random UM generates a random bit stream on Column Comparator Bus. The main goal of this UM is the fact that the bit sequence is absolutely random. You can use this sequence as a signal for analog and digital blocks or read it directly in software.
Author: Ilya Mamontov "
I am not so sure that Semi noise is "True" random noise.
Semi devices are characterized at the atomic level as having quantum states, therefore
not continuous, finite.
- http://en.wikipedia.org/wiki/Johnson%E2%80%93Nyquist_noise Nearly, but not totally
Shot Noise - Maybe closest to white, but not a semi phenomina
Popcorn Noise - Process based noise.
Flicker - Process dependent.
Dima, when you look at the first posts in this thread you will find links to explanations of "True" and "Pseudo" random generators. Since (as far as I understand) the order was to create a "True" generator there is the need to connect a PSoC to some random physical process like noise of radiation or thermal noise (which will not always be white noise afak)
(CAN YOU HERE ME? or too much noise?? )