<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>trying to read input pwm signal (pulse width and period) using nRF9160 PWM.h driver</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/72936/trying-to-read-input-pwm-signal-pulse-width-and-period-using-nrf9160-pwm-h-driver</link><description>Hello All, I am trying to figure out how to use the PWM.h driver for the nRF9160 to read an input pwm signals pulse width and period (im currently working with the nRF9160 DK using the SDK version 1.5.0) but I can&amp;#39;t find any examples to start from (are</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 07 Feb 2022 08:06:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/72936/trying-to-read-input-pwm-signal-pulse-width-and-period-using-nrf9160-pwm-h-driver" /><item><title>RE: trying to read input pwm signal (pulse width and period) using nRF9160 PWM.h driver</title><link>https://test-devzone.nordicsemi.com/thread/351460?ContentTypeID=1</link><pubDate>Mon, 07 Feb 2022 08:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aee5603-cbf6-4584-a056-ab1791f7bbf0</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This feature is still not supported:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1-rc1/drivers/pwm/pwm_nrfx.c#L267-L270"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1-rc1/drivers/pwm/pwm_nrfx.c#L267-L270&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trying to read input pwm signal (pulse width and period) using nRF9160 PWM.h driver</title><link>https://test-devzone.nordicsemi.com/thread/351411?ContentTypeID=1</link><pubDate>Fri, 04 Feb 2022 23:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ef9e5cd-8142-4096-b52a-548e6d77bf57</guid><dc:creator>user112081</dc:creator><description>&lt;p&gt;Hi Folks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any&amp;nbsp;updates on this? We are planning to use PWM input with nRF52832 and hoping to use&amp;nbsp;&lt;span&gt;pwm_pin_capture_cycles() for the same.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is it supported with latest 1.8.0? If not, what could be the alternate to this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: trying to read input pwm signal (pulse width and period) using nRF9160 PWM.h driver</title><link>https://test-devzone.nordicsemi.com/thread/300642?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 10:44:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7823129d-90d5-46ba-8466-cb611db45001</guid><dc:creator>user2115</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nrf port to the zephyr pwm driver does not have support for CONFIG_PWM_CAPTURE:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.4.99-ncs1/drivers/pwm/pwm_nrfx.c#L263-L266"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v2.4.99-ncs1/drivers/pwm/pwm_nrfx.c#L263-L266&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any calls to functions exposed from&amp;nbsp;CONFIG_PWM_CAPTURE will return ENOTSUP.&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>