??? 10/28/09 16:46 Read: times |
#170140 - Periodicity Responding to: ???'s previous message |
Erik said:
a very good way to get random numbers is to have a timer free running at highest possible speed and reading it when some external event (e.g. keypress, UART char received, ...) happens. Yes, but if there's any periodicity in der reading, like it can be observed with the receiving of UART characters, for instance, the randomness is lost and repeating patterns can be seen. If I would need randowm numbers, I would add an analog circuitry and use a noisy component to increase the randomness and to avoid periodicity. Kai Klaas |