piclist 2001\08\21\132122a >
Thread: Generating a "truly" random number on the application of power
www.piclist.com/techref/microchip/math/index.htm?key=random
flavicon
face BY : mike@whitewing.co.uk



On Tue, 21 Aug 2001 10:50:45 -0400, you wrote:

{Quote hidden}

Although TMR0's startup state is undefined, you may find that a batch
of chips could all come up with the same or similar values - using the
WDT's RC osc period should guarantee more variation between parts, as
other variables such as supply voltage (regulator tolerance) and
temperature will help shake things up. It's trivial to do, and will
undoubtably give a more intederminite result. Remember we are not
strictly after randomness, but a characteristic that is strongly
dependent on chip-to-chip variations. It doesn't matter if a chip
comes up with the same value every time, as long as this value stands
a good chance of being different from its neighbours.
--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


<88u4otkb93706f3gnor8i1kqdt5dqohhef@4ax.com> quoted-printable

In reply to: <00eb01c12a50$a9afb720$e9a2fea9@90yk30b>
See also: www.piclist.com/techref/microchip/math/index.htm?key=random
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Generating a "truly" random number on the application of power

month overview.

new search...