<?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>Peripheral enable/disable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14872/peripheral-enable-disable</link><description>Hi , 
 I search and found some of questions on this forum wich speak about enabling and disabling peripheral.
I&amp;#39;m ok with that but i have a question about there initialisation :
In a Arm microcontroler M0, all peripheral are disable and you need to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Jul 2016 14:17:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14872/peripheral-enable-disable" /><item><title>RE: Peripheral enable/disable</title><link>https://devzone.nordicsemi.com/thread/56765?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2016 14:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0b200ef-8d58-428d-b9d6-2164b2e12495</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Im not sure what thread on this forum you are referring to but all peripherals should be disabled by default. You must explicitly enable the peripherals you intend to use. What code is involved to enable peripherals is explained for some peripherals in the &lt;a href="https://devzone.nordicsemi.com/tutorials/11/"&gt;nRF51 current consumption guide&lt;/a&gt;, but there are also &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/examples_hw_peripheral_devices.html?cp=5_0_0_4_5"&gt;peripheral examples in the SDK&lt;/a&gt; that show you how to enable each peripheral, usually with help of &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/hardware_drivers.html?cp=5_0_0_2"&gt;dedicated peripheral drivers&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;On the other hand, some of the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/general_libraries.html?cp=5_0_0_3"&gt;libraries in the SDK&lt;/a&gt; use multiple peripherals to operate, which are automatically enabled once you initialize the library. The documentation for the libraries should however document what recources/peripherals are used by each library.&lt;/p&gt;
&lt;p&gt;Also, when you want to build an application that should transfer data over BLE, then you need BLE softdevice (Nordic&amp;#39;s BLE protocol stack) which will require set of resources once enabled. You can see in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.softdevices51/dita/nrf51/softdevices.html?cp=3_6"&gt;Softdevice Specification&lt;/a&gt; what resources are used by the softdevice in question. There are available &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/examples_ble.html?cp=5_0_0_4_2"&gt;BLE examples&lt;/a&gt; in the &lt;a href="http://developer.nordicsemi.com/nRF5_SDK/"&gt;SDK&lt;/a&gt; that implement various BLE profiles and show how to use the softdevices.&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf51%2Fdita%2Fnrf51%2Fpdflinks%2Fref_manual.html"&gt;nRF51 Reference manual&lt;/a&gt; should include all nRF51 peripherals. Product specification should contain specific data for each nRF51 IC variant, e.g. &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf51%2Fdita%2Fnrf51%2Fchips%2Fnrf51822.html"&gt;nRF51822&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All peripherals should be listed in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/chips/nrf52832_ps.html?cp=2_2_0"&gt;nRF52832 Product Specification&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>