<?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>PPI resources used by S140</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45337/ppi-resources-used-by-s140</link><description>In the documentation for the s140_nrf52_6.0.0 I find the following statement: &amp;quot;The PPI channels and groups that are reserved by the SoftDevice when enabled are defined in nrf_soc.h.&amp;quot;, but when I go into the nrf_soc.h file in my SDK I am not able to find</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Mar 2019 13:04:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45337/ppi-resources-used-by-s140" /><item><title>RE: PPI resources used by S140</title><link>https://devzone.nordicsemi.com/thread/178362?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 13:04:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3185228-e391-4f07-a856-2ade1d07e14e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to see what PPI channels that are used by the softdevice, you should look at this define:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v6.1.0/group___n_r_f___s_o_c___d_e_f_i_n_e_s.html#ga2274cc200928311ce80bf8c9cc79b990"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v6.1.0/group___n_r_f___s_o_c___d_e_f_i_n_e_s.html#ga2274cc200928311ce80bf8c9cc79b990&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The group itself is also defined underneath.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The PPI channels from 20 to 31 are the pre-defined ones:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/ppi.html?cp=2_0_0_5_15_0#preprogrammed_channels"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/ppi.html?cp=2_0_0_5_15_0#preprogrammed_channels&lt;/a&gt;&lt;/p&gt;
[quote user=""]And, is it correct that it is not possible to configure the PPI directly when the SoftDevice is present and that all configuration need to be performed through the SD-API defined in nrf_soc.h? At the present we are using the direct assignement through&amp;nbsp;nrf_drv_ppi_channel_assign etc. and do not experience any problems even though we have SD and BLE present and working. My understanding is that the SD should block the access to this peripheral and demand access through its API. Is there something I&amp;#39;ve missed?[/quote]
&lt;p&gt;&amp;nbsp;The PPI peripheral can be configured directly in the application. In the very first versions of the SoftDevice (for nRF51 series), there was an API for using the PPI, but now you can access it directly on a register level.&lt;/p&gt;
&lt;p&gt;If you try to access (ie: write) to a peripheral which the softdevice controls, like the radio, it will cause a fault condition.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>