This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Generating a Random number for ARM7

I have to generate a random number by taking the input as a timer value...
SO can anyone suggest how to get this????

Thanks in Advance

Parents
  • > But you already have your start - you said, "by taking the input as a timer value"
    >
    > What thought have you given to that?
    >
    > How would the timer help?

    I think you might have misunderstood the OP. He doesn't want to use the timer to generate the random number, but rather the other way 'round. I believe that the random number is supposed to serve as start value for a timer. So it should rather read: "by taking the output as a timer value".

    @Per
    Nobody said anything about cryptographic strength. We don't know what exactly the PRN is going to be used for. There are many useful applications even for perfectly predictable PRNs.

    Kindly,
    Marcus
    http://www.doulos.com/arm/

Reply
  • > But you already have your start - you said, "by taking the input as a timer value"
    >
    > What thought have you given to that?
    >
    > How would the timer help?

    I think you might have misunderstood the OP. He doesn't want to use the timer to generate the random number, but rather the other way 'round. I believe that the random number is supposed to serve as start value for a timer. So it should rather read: "by taking the output as a timer value".

    @Per
    Nobody said anything about cryptographic strength. We don't know what exactly the PRN is going to be used for. There are many useful applications even for perfectly predictable PRNs.

    Kindly,
    Marcus
    http://www.doulos.com/arm/

Children