<?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>Use NFC pin (GPIO 0.9, 0.10, 0.12) as other purpose such as RTC input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107617/use-nfc-pin-gpio-0-9-0-10-0-12-as-other-purpose-such-as-rtc-input</link><description>configuration information 
 - use nRF5_SDK_17.1.0_ddde560 
 - use gcc 
 - use custom board #1, #2 
 - use nrf52811 soc 
 
 Previously I developed custom board #1 and I reduced the power consumption and it show that in adv mode: 6.8 uA, systemOff mode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jan 2024 12:24:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107617/use-nfc-pin-gpio-0-9-0-10-0-12-as-other-purpose-such-as-rtc-input" /><item><title>RE: Use NFC pin (GPIO 0.9, 0.10, 0.12) as other purpose such as RTC input</title><link>https://devzone.nordicsemi.com/thread/465988?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 12:24:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42e7b2f2-00f7-4987-9e26-5d5f18a1e7ee</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;If there are no HW on the board that can draw the current, I assume it is the GPIOTE peripheral that is left running for example until you call the&amp;nbsp;&lt;strong&gt;nrf_gpiote_int_disable()&lt;/strong&gt; which will let the nRF52 go into a low power mode (10µA). I&amp;#39;m not sure I see how this is related with your initial question. I suggest you check out&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt; this blog by my colleague Scott &lt;/a&gt;on all the&amp;nbsp;most common ways to reduce current consumption if you need lower current consumption, and generally optimizing your power consumption.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use NFC pin (GPIO 0.9, 0.10, 0.12) as other purpose such as RTC input</title><link>https://devzone.nordicsemi.com/thread/465700?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 01:55:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30c0bb5d-afad-4172-8431-5cd47ee284b9</guid><dc:creator>simon.jonghun.song</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;The current consumption was 230 uA before applying&amp;nbsp;&lt;strong&gt;nrf_gpiote_int_disable()&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;After applying&amp;nbsp;&lt;strong&gt;nrf_gpiote_int_disable&lt;/strong&gt;(),&amp;nbsp;it shows 10 uA consumption.&lt;/p&gt;
&lt;p&gt;In this case, there&amp;#39;s HW circuit diagram exist for RTC in the PCB board but don&amp;#39;t have parts attached on PCB board.&lt;/p&gt;
&lt;p&gt;So I wasn&amp;#39;t sure that why it is&amp;nbsp;draining&amp;nbsp;much power as parts not attached.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use NFC pin (GPIO 0.9, 0.10, 0.12) as other purpose such as RTC input</title><link>https://devzone.nordicsemi.com/thread/465592?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 13:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e28c6668-2171-44ec-89e9-2a4de4277e3d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure I understand what you mean here. How much does the&amp;nbsp;&lt;span&gt;&lt;strong&gt;nrf_gpiote_int_disable&lt;/strong&gt;() lower the current exactly? It makes sense that it lowers the current consumption as you disable the RTC and GPIOTE. To use these pins as GPIOs on the nRF52832 you&amp;nbsp;have to add the following preprocessor define&amp;nbsp;CONFIG_NFCT_PINS_AS_GPIOS (add under project settings -&amp;gt; &amp;quot;Preprocessor&amp;quot; -&amp;gt; &amp;quot;Preprocessor definitions&amp;quot;) in SEGGER Embedded Studios.&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use NFC pin (GPIO 0.9, 0.10, 0.12) as other purpose such as RTC input</title><link>https://devzone.nordicsemi.com/thread/465461?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 23:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:250df531-3916-48ed-a390-d12bfc508e51</guid><dc:creator>simon.jonghun.song</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Thank you for reply. I checked it.&lt;/p&gt;
&lt;p&gt;I had a confusion due to different module chip(nrf52811, nrf52832 with same pin to pin mapping) on the same PCB.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp; find the solution but I don&amp;#39;t understand.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I changed code and it is used during initialization.&lt;/p&gt;
&lt;div&gt;&lt;span&gt;nrf_gpio_cfg_output&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;RTC_SCK&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;nrf_gpio_pin_set&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;RTC_SCK&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;nrf_gpio_cfg_output&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;RTC_IO&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;nrf_gpio_pin_set&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;RTC_IO&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;nrf_gpio_cfg_output&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;RTC_CE&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;span&gt;nrf_gpio_pin_set&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;RTC_CE&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;==&amp;gt;&lt;/p&gt;
&lt;p&gt;nrf_gpiote_int_disable(RTC_SCK);&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_gpiote_int_disable(RTC_IO);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_gpiote_int_disable(RTC_CE);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And the power consumption drops as similar as board #1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As you stated, P0.09, P0.10, P0.12 are general GPIO.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But why&amp;nbsp;nrf_gpiote_int_disable() drops current? Currently, there is no part attached for RTC on the PCB.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And I need to use nrf52832 also,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Will the DCONFIG_NFCT_PINS_AS_GPIOS flag&amp;nbsp;added to Makefile OK for drop current?&lt;br /&gt;In this case I also don&amp;#39;t use NFC and want to use it as GPIO (RTC input)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use NFC pin (GPIO 0.9, 0.10, 0.12) as other purpose such as RTC input</title><link>https://devzone.nordicsemi.com/thread/465351?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 13:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2c3524-62e7-4d2a-ae5b-66b8f28415b1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The reason you see this compile error is because the nRF52811 doesn&amp;#39;t have an NFC tag peripheral, so NFCPINS won&amp;#39;t be recognized. In the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52811%2Fpin.html"&gt;pin assignments section of the nRF52811 PS&lt;/a&gt; you can see that P0.09 and P0.10 are only stated as GPIOs, so there is no need for this config in nRF52811 based projects.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>