cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Discovery - F407 - AHB2 RNG, CRYP etc

ss9
Associate
Posted on June 23, 2015 at 03:58

I am trying to see if I can get the RNG to work.

When I poll, even though SR.CEIS and SR.SEIS are 0 as expected, I can never get SR.DRDY.

I think I have initialized correctly.

I am looking for a simple example project. the Cube is too huge and am unable to find any RNG (or CRYP) examples.

Pointers appreciated. Thanks, srini

#r
3 REPLIES 3
Posted on June 23, 2015 at 05:13

Your part does not support CRYP

For RNG you'd need to make sure the clock is enabled, and the PLL, as it takes the 48 MHz Q-Tap

STM32F4xx_DSP_StdPeriph_Lib_V1.3.0\Project\STM32F4xx_StdPeriph_Examples\RNG\RNG_MultiRNG\main.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ss9
Associate
Posted on June 24, 2015 at 13:27

Thanks a bunch.

I downloaded ''Cube'' which I thought might be the place to find this. But alas no! Still searching.

Posted on June 24, 2015 at 15:19

I downloaded ''Cube'' which I thought might be the place to find this. But alas no! Still searching. 

Red download button, bottom of the page

http://www.st.com/web/en/catalog/tools/PF257901

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..