<?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>How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96694/how-to-change-nrfx-parameters-on-nrf-connect-sdk</link><description>I want to directly control the nrfx driver on the nrf connect SDK. 
 I don&amp;#39;t know how to change the parameters. 
 Please teach me. 
 example: NRFX_WDT_CONFIG_NO_IRQ NRFX_TWIS_NO_SYNC_MODE etc...</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Feb 2023 15:37:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96694/how-to-change-nrfx-parameters-on-nrf-connect-sdk" /><item><title>RE: How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/thread/412326?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 15:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf79ee12-b68f-40f8-ac01-6605e0ea37da</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;OK.Thanks.&lt;/p&gt;
&lt;p&gt;I try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/thread/412208?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 09:56:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:156234c3-c7c1-43b9-a651-89186a31a26b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I realize that my previous answers might have been a bit confusing.&lt;br /&gt;Let&amp;#39;s take a step back, and I will try to explain how drivers work in the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;The nRF Connect SDK is built on Zephyr. To use peripherals, the Zephyr drivers should be the first choice.&lt;br /&gt;For example, the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/peripherals/pwm.html#pwm-api"&gt;PWM API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The Zephyr drivers are built on top of nrfx drivers.&lt;br /&gt;It is possible to use nrfx drivers directly. &lt;br /&gt;This is necessary if the Zephyr drivers have limitations. &lt;br /&gt;For example, for PPI, we recommend using the nrfx drivers directly. &lt;br /&gt;See the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/boards/nrf/nrfx/README.html"&gt;nrfx use example&lt;/a&gt; for this.&lt;/p&gt;
&lt;p&gt;Asking my colleagues, I found that you can use CONFIG_COMPILER_OPT to set nrfx configurations for the nrfx drivers. For example:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_COMPILER_OPT=&amp;quot;-DNRFX_WDT_CONFIG_NO_IRQ=1&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Does this make sense?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/thread/412094?ContentTypeID=1</link><pubDate>Sun, 26 Feb 2023 04:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:643ab37c-c787-4e9d-b341-6d8e44d0bfcb</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;Is this an nrfx sample?&lt;br /&gt;&lt;br /&gt;you said &lt;br /&gt;&amp;quot;It is often better to use zephyr drivers to control the nRF peripherals.&amp;quot;&lt;/p&gt;
&lt;p&gt;I would like to know if I can use zephyr driver to do the same thing as nrfx.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/thread/410816?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2023 09:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46367d95-a51d-4f75-8b76-2f7288500ff1</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;To set NRFX_PWM_FLAG_START_VIA_TASK, use &amp;quot;flags&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uint32_t nrfx_pwm_simple_playback(nrfx_pwm_t const *         p_instance,
                                  nrf_pwm_sequence_t const * p_sequence,
                                  uint16_t                   playback_count,
                                  uint32_t                   flags);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/thread/410748?ContentTypeID=1</link><pubDate>Sun, 19 Feb 2023 00:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93749fe3-d3f9-4826-b9be-a62ea709a2b1</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;OK.Thanks.&lt;/p&gt;
&lt;p&gt;Just for reference, tell me.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using PPI to wake two PWM devices at the same time, triggered by GPIO.&lt;br /&gt;(using NRFX_PWM_FLAG_START_VIA_TASK)&lt;br /&gt;&lt;br /&gt;Can the same be done using the nRF Connect SDK driver?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/thread/410401?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 14:32:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89ba600d-3b52-4198-bf81-0f7938c624ae</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Beware that using nrfx drivers directly in the nRF Connect SDK may result in issues with interoperability with nRF Connect SDK drivers.&lt;/p&gt;
&lt;p&gt;As nrfx drivers are not standard, the support we can give is limited.&lt;/p&gt;
&lt;p&gt;That being said, try to set the configurations using CMake: &lt;a href="https://stackoverflow.com/questions/5352074/how-to-create-a-c-define-for-a-certain-target-using-cmake"&gt;https://stackoverflow.com/questions/5352074/how-to-create-a-c-define-for-a-certain-target-using-cmake&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/thread/410199?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 23:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2acd9fa3-effe-454a-8e79-4f2923a03af2</guid><dc:creator>loquat</dc:creator><description>&lt;p&gt;I have a many program for nrfx developed with the nRF5 SDK.&lt;br /&gt;I don&amp;#39;t want to go through the trouble of doing the migration.&lt;br /&gt;&lt;br /&gt;I couldn&amp;#39;t find a way to change the driver parameters in the examples provided.&lt;br /&gt;&lt;br /&gt;With the nRF5 SDK, you could specify driver parameters using sdk_config.h per project/per board.&lt;br /&gt;&lt;br /&gt;Please let me know how to do the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrfx parameters on nrf connect SDK</title><link>https://devzone.nordicsemi.com/thread/410049?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 11:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c73c32c5-f3b0-4318-afc7-34a7dde7d0c2</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is often better to use zephyr drivers to control the nRF peripherals.&lt;/p&gt;
&lt;p&gt;Why do you want to use nrfx drivers directly?&lt;/p&gt;
&lt;p&gt;If you are sure that this is what you want, see the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/boards/nrf/nrfx/README.html"&gt;nrfx use example&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>