This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5340 RNG peripheral

I am trying to figure out how to enable and use the RNG peripheral of the nRF5340.

since the RNG is on the Network side of the nRF5340.

is there anything i need to set in the prj.conf or in a kconfig to enable it?

do I just add Secure_Services.h

then make a call to spm_request_random_number() like in this link?

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/secure_services.html?highlight=random#c.spm_request_random_number

this is not for cryptocell C312  this is just a random number

thanks

Parents Reply Children
Related