<?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>Softdevice block register access</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8395/softdevice-block-register-access</link><description>Hi,
I worked with temp sensor example and sofdevice s110 and something stuck on some function.
Anyway, I made readout from registers but softdevice blocks register access and code fail.
When I delete softdevice I can read temperature easy.
Is there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jul 2015 06:07:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8395/softdevice-block-register-access" /><item><title>RE: Softdevice block register access</title><link>https://devzone.nordicsemi.com/thread/30520?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2015 06:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cfd3cf4-5f29-4bb1-a379-eacd9e46bef0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I was little confused here. Newer softdevice does not write anything to UICR.CLENR0, unless the application writes something to it, MPU.PERR0 should not have any effect, but then i saw the softdevice version S110 6.0 and everything made sense.
@Miroslav : if you are using latest version of S110, you would not have seen this problem, but it is always best to see which peripheral softdevice uses and call their respective sd_xx functions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice block register access</title><link>https://devzone.nordicsemi.com/thread/30521?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2015 05:43:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b20a8290-27aa-40bb-b340-7a4446ae9c6b</guid><dc:creator>Miroslav</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice block register access</title><link>https://devzone.nordicsemi.com/thread/30519?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 23:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:609e0110-fb52-459c-8abc-eb864a233a16</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Which is why I said &amp;quot;if you read the documentation for the softdevice&amp;#39; and &amp;#39;you can only use it via the softdevices temperature functions&amp;#39;.&lt;/p&gt;
&lt;p&gt;Obviously all the peripherals on the chip are available if yours is the only code running, the softdevice uses some resources itself and re-exports them via functions. Again I recommend reading the documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice block register access</title><link>https://devzone.nordicsemi.com/thread/30518?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 17:59:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10b3f976-3fca-4a1a-ab5c-febb0d6b8beb</guid><dc:creator>Miroslav</dc:creator><description>&lt;p&gt;But I can acces it without softdevice. So you explination is not correct, it is restricted only when use softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice block register access</title><link>https://devzone.nordicsemi.com/thread/30517?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 14:01:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:048beea6-6c49-4d32-ac50-7aab89edaafa</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;If you read the documentation for the softdevice you&amp;#39;ll see the TEMP peripheral is restricted, which means it&amp;#39;s blocked from direct access and you can only use it via the softdevice&amp;#39;s temperature functions.&lt;/p&gt;
&lt;p&gt;The spec gives the full list of open, blocked and restricted peripherals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice block register access</title><link>https://devzone.nordicsemi.com/thread/30516?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 13:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5d83ab1-db73-4b8b-a37e-8b9649523d72</guid><dc:creator>Miroslav</dc:creator><description>&lt;p&gt;SD110 v6.0.0, custom PCB project,
code stuck on NRF_TEMP-&amp;gt;POWER = 1;, if I comment that line it stuck on next NRF_TEMP-&amp;gt;INTENSET = 1; and so on...
If I delete softdevice code work perfect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice block register access</title><link>https://devzone.nordicsemi.com/thread/30515?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 13:53:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b6c598e-832a-4780-8861-3c7f1d3f989f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Which register was your code trying to access?
Which API was blocked? which SDK and which SD110 versions did you use?
Can you provide some code snippet to show what is blocked and where&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>