<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF5340 RNG peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73653/nrf5340-rng-peripheral</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Apr 2021 12:43:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73653/nrf5340-rng-peripheral" /><item><title>RE: nRF5340 RNG peripheral</title><link>https://devzone.nordicsemi.com/thread/303508?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 12:43:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27230f75-0208-4d98-a642-d14aa8c6c911</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;Wow seems more complicated than i would have thought.&amp;nbsp; I was looking at the peripheral registers and there is a start,stop,and value register.&amp;nbsp; i guess i just cant read the value register when valrdy is set?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 RNG peripheral</title><link>https://devzone.nordicsemi.com/thread/303498?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 12:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29af6199-c394-4174-b208-3834f409b453</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We actually have the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf_rpc/entropy_nrf53/README.html#nrf5340-nrf-rpc-entropy"&gt;nRF5340: nRF RPC Entropy&lt;/a&gt; sample that does exactly this. The application core uses the nRF RPC library to request/retreive RNG data from the net core.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: The sample application linked to above is only relevant if there is a particular requirement for the application core to use the RNG peripheral on the network core. Otherwise you should use the RNG built into the cc312 via the entropy driver: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/drivers/entropy/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/drivers/entropy/README.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>