<?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>NRF52805 BLE and PWM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76566/nrf52805-ble-and-pwm</link><description>Heija Guys, 
 I have a question regarding the usage of the Zephyr BLE and the PWM. I would like to use the Zephyr BLE Stack and the PWM Driver together. The Problem now is, that I get an Error, when I try to compile the project (cmake doesnt report a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Jun 2021 10:07:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76566/nrf52805-ble-and-pwm" /><item><title>RE: NRF52805 BLE and PWM</title><link>https://devzone.nordicsemi.com/thread/316931?ContentTypeID=1</link><pubDate>Thu, 24 Jun 2021 10:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ba755ea-9cc7-4d84-be3e-e459fecb7be0</guid><dc:creator>MsaYpsomed</dc:creator><description>&lt;p&gt;Heija Carl,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for your answer. I could fix our problem with adding the ppi-base line. Infact We had to change it to&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ppi-base = &amp;lt;11&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now it works as intended.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52805 BLE and PWM</title><link>https://devzone.nordicsemi.com/thread/316675?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 10:37:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74b56ddc-a15c-4721-a389-797c6771f527</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again!&lt;br /&gt;&lt;br /&gt;You can change the PPI base used by the SW PWM using a DTS overlay. In this case add the file &amp;quot;nrf52dk_nrf52805.overlay&amp;quot; to the project, containing the following code:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;sw_pwm {
    status = &amp;quot;okay&amp;quot;;
    ppi-base = &amp;lt;10&amp;gt;;
};&lt;/pre&gt;&lt;br /&gt;This sets the &amp;quot;ppi-base&amp;quot; to 10, as the previous channels are used by the radio.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;One note. I see that you have enabled &amp;quot;CONFIG_BT_LL_SW_SPLIT=y&amp;quot;, which forces the application to use the Zephyr Bluetooth LE controller. I did not see the error when using Nordic&amp;#39;s Softdevice Controller (used by default on nRF5x devices), so you could consider doing that instead.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52805 BLE and PWM</title><link>https://devzone.nordicsemi.com/thread/316372?ContentTypeID=1</link><pubDate>Tue, 22 Jun 2021 05:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5434b8cd-4d92-4a80-8039-e2d53119bc90</guid><dc:creator>MsaYpsomed</dc:creator><description>&lt;p&gt;Heija Carl, &lt;/p&gt;
&lt;p&gt;thanks for your help. I got the driver configuration from the zephyr samples:&lt;/p&gt;
&lt;p&gt;- BLE: beacon&lt;/p&gt;
&lt;p&gt;- PWM: fade_led&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I later found in a post, that they suggest using CONFIG_PWM_NRF5_SW for softwarebased pwm, since the NRF52805 does not have an hardware implemented pwm module.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52805 BLE and PWM</title><link>https://devzone.nordicsemi.com/thread/316313?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 14:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36c29014-9e9b-4eba-9e3b-99421cb5a49a</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello!&lt;br /&gt;&lt;br /&gt;Thanks for reaching out. I will take a look at this. In the meantime, may I ask why you&amp;#39;re using a legacy driver and not nRFX? (since&amp;nbsp;CONFIG_PWM_NRF5_SW is enabled)&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>