<?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 in timeslot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7100/rng-in-timeslot</link><description>Hi Sir:
I written below code according to example code.
In timeslot, rng will start with &amp;quot;rng_start_bv &amp;quot;.
Then the process will wait until &amp;quot;rng_ready&amp;quot;==1.
But, it can&amp;#39;t work.
The process will stop at &amp;quot;nrf_rng_error_correction_enable();&amp;quot;
Please help</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 May 2015 06:49:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7100/rng-in-timeslot" /><item><title>RE: rng in timeslot</title><link>https://devzone.nordicsemi.com/thread/25086?ContentTypeID=1</link><pubDate>Mon, 25 May 2015 06:49:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005b749c-c43d-4845-8d20-f164631f70d1</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This is news to me, seems like Timeslot does not allow the use of RNG. below is copy paste from S110 SDS&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;When a timeslot is granted, the application has exclusive and realtime access to the normally blocked RADIO, TIMER0, CCM, AAR, and PPI (channels 14 – 15) peripherals 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Looks like RNG is still protected, you can fix this for now by using SOC API for accessing RNG. I will go to work tomorrow and dig for some internal details of this behavior.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: rng in timeslot</title><link>https://devzone.nordicsemi.com/thread/25085?ContentTypeID=1</link><pubDate>Mon, 25 May 2015 02:27:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7589bde-4873-41c7-aaa7-6d6fa664b83e</guid><dc:creator>waliff</dc:creator><description>&lt;p&gt;I removed the optimized in IAR. But, the situation is same.
When i call the &amp;quot;NRF_RNG-&amp;gt;CONFIG |= RNG_CONFIG_DERCEN_Msk;&amp;quot;，the program will lack in &amp;quot;HardFault_Handler&amp;quot;. I am using rng in timeslot callback with S110. Do i need to use the SOC API instead of calling rng driver? ex:&amp;quot;sd_rand_application_vector_get &amp;quot;, do you help to give a simple example? thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: rng in timeslot</title><link>https://devzone.nordicsemi.com/thread/25084?ContentTypeID=1</link><pubDate>Mon, 18 May 2015 09:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd3404e4-c3db-4936-96bd-5353714a15cf</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It does not seem correct that it stops in nrf_rng_error_correction_enable.
Please try again by remove optimizations while debugging in Keil and let us know exactly where it fails and with what error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>