Question
Problem enabling RNG on STM32F407
Posted on March 24, 2016 at 14:16
Hi,
I cannot manage to enable the RNG that is on my STM32F407VG. Using , 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. #rng-stm32f4-stm32f407