<?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>nrf_drv_ppi_channel_alloc returns code 0x4 NRF_ERROR_NO_MEM on nRF51822 but not on Dev Kit&amp;#39;s nRF51422</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34811/nrf_drv_ppi_channel_alloc-returns-code-0x4-nrf_error_no_mem-on-nrf51822-but-not-on-dev-kit-s-nrf51422</link><description>Hi! I recently got my project working on an nRF51 DK, and am now trying to get the project working on an nRF51822 on our PCB. 
 Our application uses Bluetooth, an LED, a button, and a PWM output. I am using the app_pwm library to create a PWM signal.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 03 Jun 2018 21:37:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34811/nrf_drv_ppi_channel_alloc-returns-code-0x4-nrf_error_no_mem-on-nrf51822-but-not-on-dev-kit-s-nrf51422" /><item><title>RE: nrf_drv_ppi_channel_alloc returns code 0x4 NRF_ERROR_NO_MEM on nRF51822 but not on Dev Kit's nRF51422</title><link>https://devzone.nordicsemi.com/thread/134440?ContentTypeID=1</link><pubDate>Sun, 03 Jun 2018 21:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc56b5c0-1f0f-49b0-8808-06529aa2ec03</guid><dc:creator>Jonathan Hale</dc:creator><description>&lt;p&gt;Great, it worked! For some reason I misinterpreted the error to mean there weren&amp;#39;t enough of the mysterious PPI channels, but really it just meant there wasn&amp;#39;t enough memory. I simply went to Options for Target &amp;gt; Target and added 0x1000 to IRAM1 Size, and the PWM library initialized without error. Thank you!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_drv_ppi_channel_alloc returns code 0x4 NRF_ERROR_NO_MEM on nRF51822 but not on Dev Kit's nRF51422</title><link>https://devzone.nordicsemi.com/thread/133975?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 08:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6ec30c0-9b4e-477b-abb0-42ccc64e4605</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I think the issue might be like pointed out in the PWM library: &amp;quot;there were not enough free resources&amp;quot; (&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/group__app__pwm.html?cp=4_0_11_6_7_10"&gt;see link&lt;/a&gt;). Have you tried &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19637/softdevice_enable-nrf_error_no_mem-0x4"&gt;changing the ram settings&lt;/a&gt;? The nrf51822 should definitely be able to handle bluetooth, a button, an LED &amp;amp; a PWM pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_dr_ppi_channel_alloc returns code 0x4 NRF_ERROR_NO_MEM on nRF51822 but not on Dev Kit's nRF51422</title><link>https://devzone.nordicsemi.com/thread/133869?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 14:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4ca1a3a-bb7b-49a0-8a4b-5e3279c196a6</guid><dc:creator>Jonathan Hale</dc:creator><description>&lt;p&gt;I am using SDK 12.3.0 and SoftDevice S130&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_dr_ppi_channel_alloc returns code 0x4 NRF_ERROR_NO_MEM on nRF51822 but not on Dev Kit's nRF51422</title><link>https://devzone.nordicsemi.com/thread/133727?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 06:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5db4e5b8-95d4-4f26-9e7e-45302cd60ffa</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Which SDK version &amp;amp; which softdevice version are you currently using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>