AnsweredAssumed Answered

Problem enabling RNG on STM32F407

Question asked by Henk on Mar 24, 2016
Latest reply on Sep 15, 2017 by Joachim Wülbeck
Hi,

I cannot manage to enable the RNG that is on my STM32F407VG. Using the libopencm3 example code, setting the RNGEN bit in RNG_CR does not seem to do anything, neither does setting the IE bit. No matter what I try, RNG_CR, RNG_SR and RNG_DR always all read 0.

It's hard to debug something like this. Any ideas what it could be?

Edit: nevermind, it turned out that having the PLL clock enabled is not sufficient, but that you explicitly have to enable the clock for the RNG peripheral. Thread can be locked/removed.

Outcomes