<?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>nRF54L15 - Button on P0.03</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122046/nrf54l15---button-on-p0-03</link><description>Hello, 
 I am having an issue using GPIO P0.03 as a button input in my design. Unfortunately, I did not notice that this pin is marked as a dedicated pin for the GRTC peripheral and it seems I may need to revise the routing for my button input to another</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Jun 2025 20:34:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122046/nrf54l15---button-on-p0-03" /><item><title>RE: nRF54L15 - Button on P0.03</title><link>https://devzone.nordicsemi.com/thread/538487?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 20:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:817ea167-2707-44f9-9952-b8b193a6f2d3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am glad to hear that you got it working!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll close this ticket, but you can re-open it by replying here if you have any issues related to this one.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54L15 - Button on P0.03</title><link>https://devzone.nordicsemi.com/thread/538327?ContentTypeID=1</link><pubDate>Fri, 06 Jun 2025 00:50:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c05f0345-27c8-4f3e-b5c4-d88ea12c4274</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;After trying your recommendations, I decided to assemble a second board and now have an operational button. Thank you for the assistance Edvin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54L15 - Button on P0.03</title><link>https://devzone.nordicsemi.com/thread/538310?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 20:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59d3d1bf-7544-4899-be34-b30b0c1f4d4b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Yes. You are fine to use the GRTC. In fact, this is the low frequency clock for the nRF54L15, so you will need it. But there is a possibility to clock out the GRTC directly, and this can&amp;#39;t be done on any pins:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1749155404952v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Source:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/pin.html"&gt;https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/pin.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54L15 - Button on P0.03</title><link>https://devzone.nordicsemi.com/thread/538237?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 13:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75434a46-524f-4a37-a5ab-9601642d88fb</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;You are correct, I do have a custom board and that is what I am currently developing for. I have disabled all of the uart peripherals in my board&amp;rsquo;s device tree but do have logging and RTT enabled. I am fairly certain I have set CONFIG_SERIAL=n but will confirm I didn&amp;rsquo;t miss then when configuring the button sample.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is good to hear that I shouldn&amp;rsquo;t not need to worry about GRTC. I do not have any pins defined in pinctrl but did include the GRTC node as defined devkit&amp;rsquo;s board support files:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/d8b37753061a9e0ace95204eccddee1f4b4c477b/boards/nordic/nrf54l15dk/nrf54l_05_10_15_cpuapp_common.dtsi#L48"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/d8b37753061a9e0ace95204eccddee1f4b4c477b/boards/nordic/nrf54l15dk/nrf54l_05_10_15_cpuapp_common.dtsi#L48&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF54L15 - Button on P0.03</title><link>https://devzone.nordicsemi.com/thread/538226?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 13:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8532cc16-b275-441d-8cfc-55cbabdb24df</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]using GPIO P0.03 as a button input in my design[/quote]
&lt;p&gt;So you have a custom board, but I guess you are still building for the nRF54L15 DK?&lt;/p&gt;
&lt;p&gt;If you look on the backside of the nRF54L15 DK, you will see some pins and their default use. The P0.03 is by default used for CTS0, which is one of the flow control pins for the UART used for logging. This means that if you build your application with logging over UART enabled (which it is by default), then this pin will be used by the UART.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to disable logging, or at least serial logging by adding:&lt;/p&gt;
&lt;p&gt;CONFIG_LOG=n (you may set this to y if you use RTT logging)&lt;/p&gt;
&lt;p&gt;CONFIG_SERIAL=n&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And see if that helps.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CTS is an input pin, which means that if you have started a debug session, the debugger may pull that pin low or high (don&amp;#39;t remember whether it is default high or low). In that case, make sure to power cycle your DK, and don&amp;#39;t start a UART terminal after it is powered back on, so that the debugger doesn&amp;#39;t try to control the P0.03.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t worry about the GRTC things. That is not enabled by default, so as long as you don&amp;#39;t use it for UART, it should act as a normal GPIO.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>