<?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>nrfx pwm peripheral&amp;#39;s clock source</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90139/nrfx-pwm-peripheral-s-clock-source</link><description>I want to make sure I understand something fundamental. The nRF52840&amp;#39;s PWM peripheral is hardware based unlike the app_pwm library which is software based, (originally developed for the nRF51 family which has no PWM silicon). So my question: Am I correct</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jul 2022 04:53:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90139/nrfx-pwm-peripheral-s-clock-source" /><item><title>RE: nrfx pwm peripheral's clock source</title><link>https://devzone.nordicsemi.com/thread/377499?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 04:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:505972aa-4d5a-45dc-9d0b-2c2aa523ca19</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]I want to make sure I understand something fundamental.[/quote]
&lt;p&gt;Absolutely - we welcome any questions you might have! :)&lt;/p&gt;
[quote user=""]Am I correct that no nRF52840 Timer peripheral is used, (such as nrfx_timer0, nrfx_timer1, nrfx_timer2, nrfx_timer3, or nrfx_timer4), for the generation of PWM by the nrfx_pwm peripheral?&amp;nbsp;[/quote]
&lt;p&gt;This is correct - the pwm peripheral does not use any TIMER or RTC instances to generate its pulses, it uses &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/pwm.html#concept_l3d_smw_nr"&gt;its own wave counter&lt;/a&gt;.&lt;br /&gt;You can also verify this by looking through the nrfx_pwm source code, to see that it does not depend on any other peripherals to function.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>