This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Looking for a appnote for RNG

Hi TI guys,

I'm looking for a TI Appnote which intrduce how to generate a Random Number with MSP430 adc. I saw this Appnote about 10 years ago onTI's website. :(

I roughly remembered the methord is like sample white nose at a float ADC pin.  Hope someone still have this file on hand.

(I see TI has some other Appnote introducing  RNG with AES or DCO\VLO , but a ADC solution better meet my application)

Thanks in advance.

B.R.

Seafesse.

  • Hello,

    The Application Note you are referring to has been updated to provide a more robust solution for generating random numbers using the MSP430. Here is an article I found which briefly explains why attempting to generate random numbers from a floating ADC pin is not a robust solution for random number generation: www.pentestpartners.com/.../

    The paragraph that sticks out the most from that article is the following:

    "A floating input will tend to float at the same voltage. It varies from microprocessor to microprocessor, board to board, power supply to power supply, and even the surrounding environment. But I have seen a given board produce only 32 values, and less than 100 is common. We are now down into the territory when random is trivially guessable."


    The updated solution has source code provided to assist you in using the VLO, DCO, and TimerA to emulate a random number generator. The code can be modified to meet your specific needs.

    Best regards,

    Matt

**Attention** This is a public forum