Reply by Jeff Brower May 2, 20072007-05-02
Cesar-

> Hi, I want to implement a random number generator into my C5410 DSP. I
> have found code for rand routines, but I have noticed the seed of the
> generator is always the same, so the numbers generated are each time I
> begin my program the same. Is there any way to achieve a "real" random
> initialization, so not always the same numbers being generated?

Is there anything on your card having to do with date/time the DSP can read? If the DSP can read something that
changes every time it boots up, then you can use that data to change the seed. Maybe a general purpose CPU somewhere
else in the system can send some "time-varying" info to the DSP on boot-up.

-Jeff
Reply by Cesar May 2, 20072007-05-02
Hi, I want to implement a random number generator into my C5410 DSP. I
have found code for rand routines, but I have noticed the seed of the
generator is always the same, so the numbers generated are each time I
begin my program the same. Is there any way to achieve a "real" random
initialization, so not always the same numbers being generated?
Thanks