<?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>What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117776/what-is-the-recommended-way-to-use-nrf52840-advanced-pwm-sequence-and-looping-functions-with-nrf-connect-sdk-v2-9-0</link><description>Hi, 
 I am developing an application for an nRF52840 using nRF Connect SDK v2.9.0. The application currently uses the Zephyr driver for simple PWM functions on several GPIOs. Now, I need to add PWM sequences and looping as supported by the SOC on other</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Apr 2025 23:18:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117776/what-is-the-recommended-way-to-use-nrf52840-advanced-pwm-sequence-and-looping-functions-with-nrf-connect-sdk-v2-9-0" /><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/530332?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 23:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ec2f2a3-3b4f-43be-be9c-dd34d568f54b</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Now that I have been through the change from Zephyr PWM driver/API to the nfrx PWM driver/API, I want to offer the following advice:&lt;/p&gt;
&lt;p&gt;It would have been very helpful to have 3 sample applications in the nRF Connect SDK. The first would be a simple PWM/LED application using the Zephyr PWM driver/API with development kit overlay. The second would be a modification of the same application to use the nfrx PWM driver/API. Finally, the last version of the application, modified from the second one, would use the nfrx GPIO driver/API. Being able to compare the code in these applications would have made all the difference in the world to me.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/525671?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 09:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0df80b70-1d21-4dfc-967c-88660ba328cf</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Ken58"]Question:&amp;nbsp; Where in the latest documentation can I find instruction to set these variables if I intend to use the nfrx PWM driver?&amp;nbsp; (I think it may be missing)[/quote]
&lt;p&gt;Yes, I don&amp;#39;t think there are any&amp;nbsp;explicit docs on these variables and when to set them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/525603?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 21:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bb8900e-cc97-425c-9ece-79380c7365c3</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;That worked.&amp;nbsp; I&amp;#39;m currently using 2 PWM modules so I needed CONFIG_NRFX_PWM1=y as well.&lt;/p&gt;
&lt;p&gt;Question:&amp;nbsp; Where in the latest documentation can I find instruction to set these variables if I intend to use the nfrx PWM driver?&amp;nbsp; (I think it may be missing)&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/525481?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 11:25:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5f4ea26-48d4-44c8-bdba-011b09614ba6</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Instead of&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_NRFX_PWM=y&lt;/p&gt;
&lt;p&gt;Try e.g.&lt;/p&gt;
&lt;p&gt;CONFIG_NRFX_PWM&lt;strong&gt;0&lt;/strong&gt;=y&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/525412?ContentTypeID=1</link><pubDate>Sun, 02 Mar 2025 19:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5af89f3-d861-4bfb-9849-2b4d5459b7de</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;I have modified my application to use the nrfx PWM driver, disabled PWMs in Devicetree, and use Devicetree macros to get my PWM pin configurations per your recommendations. Thank you on all that. However, I am not able to build my application. I have a failure adding the build configuration.&amp;nbsp; Screen shot is below. How can I get past this?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:1040px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/2080x480/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_03_2D00_02-143243.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/522386?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 09:59:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ab79fc8-de80-4a47-9b76-e973359a1d4e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s say you have something like this in pinctrl dts&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	pwm0_default: pwm0_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(PWM_OUT0, 0, 13)&amp;gt;;
			nordic,invert;
		};
	}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;then something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;stdio.h&amp;gt;

#include &amp;lt;zephyr/drivers/pwm.h&amp;gt;
#include &amp;lt;zephyr/drivers/gpio.h&amp;gt;
#include &amp;lt;zephyr/pm/device.h&amp;gt;
#include &amp;lt;zephyr/pm/device_runtime.h&amp;gt;
#include &amp;lt;zephyr/drivers/gpio.h&amp;gt;

#ifdef CONFIG_PINCTRL
#include &amp;lt;pinctrl_soc.h&amp;gt;
#endif

#define PWM_PIN(node_id, prop, idx) \
	NRF_GET_PIN(DT_PROP_BY_IDX(node_id, prop, idx)),

	static const uint8_t pwm_pin_nums[] = {
		DT_FOREACH_CHILD_VARGS(
			DT_PINCTRL_BY_NAME(DT_NODELABEL(pwm0), default, 0),
			DT_FOREACH_PROP_ELEM, psels, PWM_PIN
		)
	};


int main(void)
{
	printf(&amp;quot;Hello World! %s\n&amp;quot;, CONFIG_BOARD_TARGET);

    for (size_t i = 0; (i &amp;lt; ARRAY_SIZE(pwm_pin_nums)); i++) {
        printf(&amp;quot;PWM LEDS[%d]: %d\n&amp;quot;,i, pwm_pin_nums[i]);
    }

	return 0;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Will give you this output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v2.9.0-7787b2649840 ***
*** Using Zephyr OS v3.7.99-1f8f3dc29142 ***
Hello World! nrf52840dk/nrf52840
PWM LEDS[0]: 13&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/522086?ContentTypeID=1</link><pubDate>Sat, 08 Feb 2025 20:08:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:882ca10b-be0d-4667-92da-2940cabc8c39</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Can you give me an example of what the code using the Devicetree API you referenced above would look like?&amp;nbsp; For for a simple example: using a nRF52840 Dongle, how would I get the pin for the pwm-led0 keeping in mind that pwm0 will&amp;nbsp;have a status = &amp;quot;disabled&amp;quot; in an overlay since the nrfx PWM API will be used?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/521087?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 11:30:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae8bef8e-6779-4e34-8c34-995906237b2b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user="Ken58"]how would you recommend getting the correct GPIOs configuration for each of the 3 boards supported without changing the application code in each instance?[/quote]
&lt;p&gt;You could still have the pinctrl pwm devicetree node present, and use the&amp;nbsp;Devicetree API to get the correct pins when using the nrfx API.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/zephyr-apis-2.9.0/page/group_devicetree-pinctrl.html"&gt;https://docs.nordicsemi.com/bundle/zephyr-apis-2.9.0/page/group_devicetree-pinctrl.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/521009?ContentTypeID=1</link><pubDate>Sun, 02 Feb 2025 21:10:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a7702e8-b5f2-4ded-9046-d2a060715342</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;To this point, I have used overlays or custom board definition to allow my application code to be unchanged when driving PWM LEDs on 3 different boards where the GPIOs used have been different.&amp;nbsp; When disabling PWMs in the devicetree and using nrfx driver directly, how would you recommend getting the correct GPIOs configuration for each of the 3 boards supported without changing the application code in each instance?&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/520944?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 20:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09539f1d-8e40-45f6-abda-559be5ec3e6e</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Thank you Sigurd.&amp;nbsp; I&amp;#39;ll let you know if I run into any problems.&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/520859?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 12:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194ee55f-7d94-476e-95c1-d6e5937eaef8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user="sigurdon"]github.com/.../quote]
&lt;p&gt;Looks like the sample is not been&amp;nbsp;updated for some time. I suggest e.g. starting with the hello_world zephyr sample, and start adding the relevant PWM functionality to that sample.&lt;/p&gt;
[quote user="Ken58"]If I use the nrfx driver/API for PWM, can I continue to use the Zephyr GPIO driver/API?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user="Ken58"]What is the impact I will see in DeviceTree for PWM when using the nrfx driver/API?[/quote]
&lt;p&gt;I suggest disabling PWM in the devicetree when using the nrfx driver directly, to avoid any conflict.&lt;/p&gt;
[quote user="Ken58"]As I look into how this can be done, is there an specific documentation section on using Zephyr with nrfx at the same time?&amp;nbsp; Is there a cookbook for this situation?&amp;nbsp; Is there a particular sample showing simultaneous use of Zephyr drivers for some devices and nrfx drivers/APIs for others?[/quote]
&lt;p&gt;There are 2 nrfx sample in the Zephyr repo here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nordic"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nordic&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/520466?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 19:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e1a2566-e76e-419c-a206-eb3884fad82d</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Do you have any response to why the sample application you mentioned will not build?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/518965?ContentTypeID=1</link><pubDate>Sun, 19 Jan 2025 16:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1adc0f1e-8898-4fff-91b6-a0407107ca67</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;(Hi Sigurd,)**2&lt;/p&gt;
&lt;p&gt;I may not have time to figure this out today, and in case you have a look at this on Monday:&amp;nbsp; I created a new application by picking the common_mode PWM sample from the library.&amp;nbsp; Without making any changes to the sample, when I attempt to &amp;quot;Add build configuration&amp;quot;, it fails with the following output:&lt;/p&gt;
&lt;p&gt;I would have thought this sample would have built without modification but it will not.&amp;nbsp; What do I need to do?&amp;nbsp; Is it documented somewhere?&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;
&lt;p&gt;&lt;img style="height:auto;max-width:1040px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/2080x0/__key/communityserver-discussions-components-files/4/Add-Build-Configuration-of-common_5F00_mode-PWM-sample.png" /&gt;&lt;/p&gt;
&lt;p&gt;CCMakeError.log contents:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;Compiling the C compiler identification source file &lt;/span&gt;&lt;span&gt;&amp;quot;CMakeCCompilerId.c&amp;quot;&lt;/span&gt;&lt;span&gt; failed.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Compiler: C:/ncs/toolchains/&lt;/span&gt;&lt;span&gt;b620d30767&lt;/span&gt;&lt;span&gt;/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-&lt;/span&gt;&lt;span&gt;zephyr-eabi-gcc.exe&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Build flags: &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Id flags: &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;The output was:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;c:/ncs/toolchains/&lt;/span&gt;&lt;span&gt;b620d30767&lt;/span&gt;&lt;span&gt;/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/&lt;/span&gt;&lt;span&gt;12&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;/../../../../arm-zephyr-eabi/bin/ld.exe: c:/ncs/toolchains/&lt;/span&gt;&lt;span&gt;b620d30767&lt;/span&gt;&lt;span&gt;/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/&lt;/span&gt;&lt;span&gt;12&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;/../../../../arm-zephyr-eabi/lib\libc.a(&lt;/span&gt;&lt;span&gt;lib_a-exit.o&lt;/span&gt;&lt;span&gt;): in function `exit&amp;#39;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;exit.c&lt;/span&gt;&lt;span&gt;:(.&lt;/span&gt;&lt;span&gt;text.exit&lt;/span&gt;&lt;span&gt;+&lt;/span&gt;&lt;span&gt;0x34&lt;/span&gt;&lt;span&gt;): undefined reference to `_exit&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;collect2.exe&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;error:&lt;/span&gt;&lt;span&gt; ld returned &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; exit status&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div&gt;&lt;span&gt;Compiling the CXX compiler identification source file &lt;/span&gt;&lt;span&gt;&amp;quot;CMakeCXXCompilerId.cpp&amp;quot;&lt;/span&gt;&lt;span&gt; failed.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Compiler: C:/ncs/toolchains/&lt;/span&gt;&lt;span&gt;b620d30767&lt;/span&gt;&lt;span&gt;/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-&lt;/span&gt;&lt;span&gt;zephyr-eabi-gcc.exe&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Build flags: &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Id flags: &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;The output was:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;c:/ncs/toolchains/&lt;/span&gt;&lt;span&gt;b620d30767&lt;/span&gt;&lt;span&gt;/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/&lt;/span&gt;&lt;span&gt;12&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;/../../../../arm-zephyr-eabi/bin/ld.exe: c:/ncs/toolchains/&lt;/span&gt;&lt;span&gt;b620d30767&lt;/span&gt;&lt;span&gt;/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/&lt;/span&gt;&lt;span&gt;12&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;/../../../../arm-zephyr-eabi/lib\libc.a(&lt;/span&gt;&lt;span&gt;lib_a-exit.o&lt;/span&gt;&lt;span&gt;): in function `exit&amp;#39;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;exit.c&lt;/span&gt;&lt;span&gt;:(.&lt;/span&gt;&lt;span&gt;text.exit&lt;/span&gt;&lt;span&gt;+&lt;/span&gt;&lt;span&gt;0x34&lt;/span&gt;&lt;span&gt;): undefined reference to `_exit&amp;#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;collect2.exe&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;error:&lt;/span&gt;&lt;span&gt; ld returned &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt; exit status&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/518950?ContentTypeID=1</link><pubDate>Sat, 18 Jan 2025 17:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1ae58f9-b897-425e-8dbf-8b19829d0625</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi again Sigurd,&lt;/p&gt;
&lt;p&gt;As I look into how this can be done, is there an specific documentation section on using Zephyr with nrfx at the same time?&amp;nbsp; Is there a cookbook for this situation?&amp;nbsp; Is there a particular sample showing simultaneous use of Zephyr drivers for some devices and nrfx drivers/APIs for others?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/518916?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2025 20:45:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d462c95a-d821-4465-b97f-6403ea832280</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;I will check out the sample you mention.&amp;nbsp; For clarification, let me ask:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If I use the nrfx driver/API for PWM, can I continue to use the Zephyr GPIO driver/API?&lt;/li&gt;
&lt;li&gt;What is the impact I will see in DeviceTree for PWM when using the nrfx driver/API?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Ken&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the recommended way to use nRF52840 advanced PWM sequence and looping functions with nRF Connect SDK v2.9.0?</title><link>https://devzone.nordicsemi.com/thread/518392?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 09:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e764f252-c15b-4c4c-9d86-2ff608b65bb6</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;The Zephyr driver API does not have the full functionality that is offered in nrfx pwm API.&lt;/p&gt;
&lt;p&gt;So one option it to use nrfx directly. I would not recommend trying to mix and use both APIs.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/blob/master/nrfx/samples/src/nrfx_pwm/common_mode/main.c"&gt;https://github.com/zephyrproject-rtos/hal_nordic/blob/master/nrfx/samples/src/nrfx_pwm/common_mode/main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>