AnsweredAssumed Answered

Random number generator (RNG)

Question asked by brian on Sep 10, 2015
Latest reply on Sep 10, 2015 by waclawek.jan
Im using the stm32f407vg discovery board, and coocox is my ide.
Im trying to use  Random number generator (RNG) to generate true random number.
Please see code attached.
When i run it, it get stuck in  "while(RNG_GetFlagStatus(RNG_FLAG_DRDY)== RESET)" loop, ie number isnt ready to be read.
Am I missing the setup of some register.

Attachments

Outcomes