<?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>case about nRF54L15 NFC PIN P1.02 &amp;amp; PWM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126094/case-about-nrf54l15-nfc-pin-p1-02-pwm</link><description>Hi, 
 1. Does the P1.02 (NFC port) on the nRF54L15 support PWM? 2. If it does, please provide the overlay configuration method and sample code. 
 Best regards, 
 Peter.Min</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Dec 2025 13:44:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126094/case-about-nrf54l15-nfc-pin-p1-02-pwm" /><item><title>RE: case about nRF54L15 NFC PIN P1.02 &amp; PWM</title><link>https://devzone.nordicsemi.com/thread/556877?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 13:44:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eb23cda-982b-4758-b3e8-bc29d64bd879</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, P1.02 can be used for PWM on nRF54L15 but only after you disable the NFC function and turn it into a normal GPIO. P1.02 is on port 1 and by default P1.02/P1.03 are NFC pins, so it won’t behave like normal GPIO (and therefore can’t output PWM) until NFC is disabled.&lt;/p&gt;
&lt;p&gt;On nRF54L15, NFC pins can be changed to GPIO via UICR by adding following configuration in the overlay:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/* Make NFC pins behave as GPIOs */
&amp;amp;uicr {
	nfct-pins-as-gpios;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then you can assign P1.02 to any PWM channel in the overlay and make sure you enable it in prj.conf aswell through CONFIG_PWM=y.&amp;nbsp;If you&amp;nbsp;want a complete&amp;nbsp;PWM sample code, you can check the following exercise and adapt to P1.02:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-4-pulse-width-modulation-pwm/topic/exercise-2-17/#nordic-notice-block_9623eec12fd52b0d1a8b803a15b3a36f"&gt;PWM servo example&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>