<?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>RNG exception AFTER BLE initialization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62563/rng-exception-after-ble-initialization</link><description>I am having a problem using the Random Number Generator AFTER the BLE driver is initialized. I have traced this to an exception being thrown if I access any RNG registers. 
 I am able to use the RNG if I don’t use BLE. 
 I found a comment in the documentation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jun 2020 12:56:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62563/rng-exception-after-ble-initialization" /><item><title>RE: RNG exception AFTER BLE initialization</title><link>https://devzone.nordicsemi.com/thread/255026?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 12:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9c36a07-9a01-4fde-b4e6-6dc9b80bf656</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please see my colleague Einar&amp;#39;s answer in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/62556/rng-functionalities-are-not-working-with-soft-device/254933#254933"&gt;post&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RNG exception AFTER BLE initialization</title><link>https://devzone.nordicsemi.com/thread/254854?ContentTypeID=1</link><pubDate>Sun, 14 Jun 2020 17:17:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a2f6e13-22db-414a-820a-997764357a75</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;I have some notes I made which might help regarding restricted and unavailable peripherals, including the RNG, though I don&amp;#39;t offhand know the availability of sd call functions when these restrictions are in place without a search through the sd functions&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// Access type Definition
// ======================
// Restricted
//   The hardware peripheral is used by the SoftDevice and is outside
//   the application sandbox. When the SoftDevice is enabled, it shall
//   only be accessed through the SoftDevice API. Through this API, the
//   application has limited access.
// Blocked
//   The hardware peripheral is used by the SoftDevice and is outside the
//   application sandbox.
//   The application has no access. Interrupts from blocked peripherals
//   are forwarded to the SoftDevice by the MBR and are not available to
//   the application, even inside a Radio Timeslot API timeslot.
// Open
//   The hardware peripheral is not used by the SoftDevice.
//   The application has full access.
//
// Table 3: Hardware access type definitions
//
// Instance SD Enabled  SD Disabled Restrictions
// ======== ==========  =========== ======================================================
// CLOCK    Restricted    Open
// POWER    Restricted    Open
// BPROT    Restricted    Open
// RADIO    Blocked       Open      Available through the Radio Timeslot API
// TIMER0   Blocked       Open      Available through the Radio Timeslot API
// RTC0     Blocked       Open
// TEMP     Restricted    Open
// RNG      Restricted    Open
// ECB      Restricted    Open
// CCM      Blocked       Open      Available during a Radio Timeslot API
// AAR      Blocked       Open      Available during a Radio Timeslot API
// EGU/SWI1 Restricted    Open      Blocked only when Radio Notification signal is enabled
// Radio    Restricted    Open      Blocked only when Radio Notification signal is enabled
// EGU/SWI5 Blocked       Open
// NVMC     Restricted    Open
// MWU      Restricted    Open      Limitations on use of MWU when SoftDevice is enabled
// FICR     Blocked       Blocked
// UICR     Restricted    Open
// NVIC     Restricted    Open      Use SoftDevice NVIC API for configuration when SoftDevice enabled&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Maybe look at something like &lt;em&gt;nrf_crypto_rng_init()&lt;/em&gt; in &lt;em&gt;nrf_crypto_rng.c&lt;/em&gt; tosee if that makes clear the restrictions&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>