<?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>PWM sequence in NCS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89910/pwm-sequence-in-ncs</link><description>I want to implement a PWM up/down ramp that preferably runs with no CPU involvement. From the datasheet it seems I can do this by storing a sequence in RAM and having the PWM peripheral run it. 
 But the Zephyr PWM API docs make no mention of sequences</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Dec 2024 10:08:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89910/pwm-sequence-in-ncs" /><item><title>RE: PWM sequence in NCS</title><link>https://devzone.nordicsemi.com/thread/514860?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2024 10:08:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:236272f8-80ec-42f4-bcc1-db7503b76c19</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;This ticket is a bit outdated but if you&amp;#39;re looking for a PWM nrfx sample then you can find it NCS\modules\hal\nordic\nrfx\samples\src\nrfx_pwm&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM sequence in NCS</title><link>https://devzone.nordicsemi.com/thread/514849?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2024 08:38:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16ae4935-d0c7-4c10-987d-8be3a12a78fb</guid><dc:creator>Haresh05</dc:creator><description>&lt;p&gt;I am also trying to achieve same thing but not working at high frequency. Can anyone please share the sample code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM sequence in NCS</title><link>https://devzone.nordicsemi.com/thread/376735?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 09:13:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca06ca07-9179-4aae-9291-30dd8d70cb32</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Yes, if you would want to do it without involvement of the CPU then you would have to use the PPI system which is not supported by Zephyr. Using nrfx for this would therefore be better. If you already have a sample code, then it would be nice if you could share it with &lt;a href="https://devzone.nordicsemi.com/members/andrekr"&gt;AndreKR&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM sequence in NCS</title><link>https://devzone.nordicsemi.com/thread/376667?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 17:36:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04e13f21-5dc6-47a7-9d40-d7be9f7c013a</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;Last time I looked at the Zephyr PWM driver, it lacked the features I needed.&amp;nbsp; So I disabled it in Kconfig/DTS and just called the NRFX functions directly: nrfx_pwm_init(), nrfx_pwm_simple_playback()&lt;/p&gt;
&lt;p&gt;Can share sample code privately&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>