<?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>P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115763/p1-00-gpio-on-4x3-keypad-not-detecting-col</link><description>Good day 
 I have the NRF_desktop keyboard application running on the NRF52840 Dongle, Zephyr 2.6.1. I would like to us the nrf52840 ProMicro as it has a battery charger build in. I have modified rows and columns accordingly. All my buttons are working</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Nov 2024 06:41:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115763/p1-00-gpio-on-4x3-keypad-not-detecting-col" /><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/510597?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2024 06:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f21274c-b698-4ebc-b60d-683ca7efaee7</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;Hi Kenneth&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I ran the blink and push button samples on P1.00 with success. I then loaded the original NRF_desktop keyboard.conf example. Change button0 to P1.00 and that also worked.&lt;/p&gt;
&lt;p&gt;I made a copy of my project from a year ago sdk 2.4 and tool chain 2.4 changed the pins and it worked first time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will now complete the project then port it to SDK 2.6 and revert back. for now, I&amp;#39;m just glad I can move on.&lt;/p&gt;
&lt;p&gt;Thanks for you guys&amp;#39; assistance as always.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/510167?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 15:58:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c812ef-c8dc-4a33-8fcc-1d1c2e20a54d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Sorry to ask a bit obvious question, but running for instance blinky or button example, you are able to control the P1.00 pin then yes?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/509886?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 12:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ba3f05d-2859-49b3-a365-ccb254a5e49a</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;No It is still the same. Looking at the below from the data sheet&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/pastedimage1731329396975v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;im wondering if it may have something to do with this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;qspi {
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;qspi_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;qspi_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
	mx25r64: mx25r6435f@0 {
		compatible = &amp;quot;nordic,qspi-nor&amp;quot;;
		reg = &amp;lt;0&amp;gt;;
		/* MX25R64 supports only pp and pp4io */
		writeoc = &amp;quot;pp4io&amp;quot;;
		/* MX25R64 supports all readoc options */
		readoc = &amp;quot;read4io&amp;quot;;
		sck-frequency = &amp;lt;8000000&amp;gt;;
		jedec-id = [c2 28 17];
		sfdp-bfp = [
			e5 20 f1 ff  ff ff ff 03  44 eb 08 6b  08 3b 04 bb
			ee ff ff ff  ff ff 00 ff  ff ff 00 ff  0c 20 0f 52
			10 d8 00 ff  23 72 f5 00  82 ed 04 cc  44 83 68 44
			30 b0 30 b0  f7 c4 d5 5c  00 be 29 ff  f0 d0 ff ff
		];
		size = &amp;lt;67108864&amp;gt;;
		has-dpd;
		t-enter-dpd = &amp;lt;10000&amp;gt;;
		t-exit-dpd = &amp;lt;35000&amp;gt;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried&amp;nbsp;&amp;nbsp;&lt;span&gt;CONFIG_FLASH&lt;/span&gt;&lt;span&gt;=n in the prj_keyboard.conf. But then it does not compile as configuration is incomplete.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also tried disabling it in the overlay but it has no effect.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;qspi {
    status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/509761?ContentTypeID=1</link><pubDate>Sat, 09 Nov 2024 16:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2d6b7a7-ec94-4690-9df6-e01230b7dec9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Sorry, I was not clear. If you for instance set&amp;nbsp;&lt;span&gt;gpio-reserved-ranges = &amp;lt;15&amp;gt;;, is the problem then moved to P1.15?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/509592?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 06:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d128bae0-055d-4fe0-8a0e-62cd5d372671</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;I have tried P1.15, P1,13, P1.11&amp;nbsp; they all work and the program runs normally&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/509573?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 22:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77039e46-69be-4936-8fd7-9a1c51da1a6c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Okey, can I ask for one more test. Can you set it to something else than 0? Is there any pins on P1 not used for anything?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/509350?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 06:20:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bae31c7-8e66-47d7-a2a0-08eb285ae102</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;Hi Kenneth, Apologies I have been trying to find where the P1.00 is being used.&lt;/p&gt;
&lt;p&gt;if I remove&amp;nbsp;&lt;span&gt;&amp;nbsp;gpio-reserved-ranges = &amp;lt;0&amp;gt;;? in the overlay it defaults to the .dts file which I don&amp;#39;t want to edit. (original GPIO1 below)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;gpio1 {
	status = &amp;quot;okay&amp;quot;;
	gpio-line-names = &amp;quot;&amp;quot;, &amp;quot;D0&amp;quot;, &amp;quot;D1&amp;quot;, &amp;quot;D2&amp;quot;, &amp;quot;D3&amp;quot;, &amp;quot;D4&amp;quot;, &amp;quot;D5&amp;quot;, &amp;quot;D6&amp;quot;,
		&amp;quot;D7&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;D8&amp;quot;, &amp;quot;D9&amp;quot;, &amp;quot;D10&amp;quot;, &amp;quot;D11&amp;quot;, &amp;quot;D12&amp;quot;, &amp;quot;D13&amp;quot;;
};
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As soon as I&amp;nbsp;setup col2 P1.00.&amp;nbsp;My entire program stops working. The keyboard is not detected via USB or BLE. I can use any other pin and it will work.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;col2: col_2 {
		gpios = &amp;lt;&amp;amp;gpio1 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;//0.17//remember to change buttons_def
		label = &amp;quot;keypadcol2&amp;quot;;
	};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Somewhere in the nrf_Dekstop keyboard&amp;nbsp; configuration example P1.00 must be reserved and I cant seem to find it&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/507720?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2024 11:19:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e224cd0-bbf3-45df-a2cc-0b618dad162e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Have you tried removing&amp;nbsp;&lt;span&gt; gpio-reserved-ranges = &amp;lt;0&amp;gt;;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It&amp;#39;s not a required property, and using it will likely, as you write, prevent it to be useable?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/507567?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2024 11:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfaa950b-1435-4bf4-bcff-f5918d4e983d</guid><dc:creator>melt</dc:creator><description>&lt;p&gt;HI Kenneth, I have tried another board. same thing. I suspect it has something to do with the reserved pins.&lt;/p&gt;
&lt;p&gt;I initially had this problem with gpio0 .&amp;nbsp; I then unreserved as below but not sure I did it correctly with gpio1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;
&amp;amp;gpio0 {
	status = &amp;quot;okay&amp;quot;;
	gpio-reserved-ranges = &amp;lt;0 2&amp;gt;;
	gpio-line-names = &amp;quot;XL1&amp;quot;, &amp;quot;XL2&amp;quot;;
};

&amp;amp;gpio1{
	status = &amp;quot;okay&amp;quot;;
	gpio-reserved-ranges = &amp;lt;0&amp;gt;;
	gpio-line-names = &amp;quot;&amp;quot;;
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The original device tree looked as follow&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;gpio0 {
	status = &amp;quot;okay&amp;quot;;
	gpio-reserved-ranges = &amp;lt;0 2&amp;gt;, &amp;lt;6 1&amp;gt;, &amp;lt;8 3&amp;gt;, &amp;lt;17 7&amp;gt;;
	gpio-line-names = &amp;quot;XL1&amp;quot;, &amp;quot;XL2&amp;quot;, &amp;quot;AREF&amp;quot;, &amp;quot;A0&amp;quot;, &amp;quot;A1&amp;quot;, &amp;quot;RTS&amp;quot;, &amp;quot;TXD&amp;quot;,
		&amp;quot;CTS&amp;quot;, &amp;quot;RXD&amp;quot;, &amp;quot;NFC1&amp;quot;, &amp;quot;NFC2&amp;quot;, &amp;quot;BUTTON1&amp;quot;, &amp;quot;BUTTON2&amp;quot;, &amp;quot;LED1&amp;quot;,
		&amp;quot;LED2&amp;quot;, &amp;quot;LED3&amp;quot;, &amp;quot;LED4&amp;quot;, &amp;quot;QSPI CS&amp;quot;, &amp;quot;RESET&amp;quot;, &amp;quot;QSPI CLK&amp;quot;,
		&amp;quot;QSPI DIO0&amp;quot;, &amp;quot;QSPI DIO1&amp;quot;, &amp;quot;QSPI DIO2&amp;quot;, &amp;quot;QSPI DIO3&amp;quot;,&amp;quot;BUTTON3&amp;quot;,
		&amp;quot;BUTTON4&amp;quot;, &amp;quot;SDA&amp;quot;, &amp;quot;SCL&amp;quot;, &amp;quot;A2&amp;quot;, &amp;quot;A3&amp;quot;, &amp;quot;A4&amp;quot;, &amp;quot;A5&amp;quot;;
};

&amp;amp;gpio1 {
	status = &amp;quot;okay&amp;quot;;
	gpio-line-names = &amp;quot;&amp;quot;, &amp;quot;D0&amp;quot;, &amp;quot;D1&amp;quot;, &amp;quot;D2&amp;quot;, &amp;quot;D3&amp;quot;, &amp;quot;D4&amp;quot;, &amp;quot;D5&amp;quot;, &amp;quot;D6&amp;quot;,
		&amp;quot;D7&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;D8&amp;quot;, &amp;quot;D9&amp;quot;, &amp;quot;D10&amp;quot;, &amp;quot;D11&amp;quot;, &amp;quot;D12&amp;quot;, &amp;quot;D13&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Although nothing reserved in GPIO1 it does not allow me to toggle or read P1.00&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P1.00 GPIO on 4x3 keypad not detecting Col</title><link>https://devzone.nordicsemi.com/thread/507562?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2024 11:31:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b68349f3-dc0d-4b6c-b2f3-22f1d1984a43</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can download the schematic and layout from here if you haven&amp;#39;t already:&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF52840-Dongle/Download?lang=en#infotabs"&gt;https://www.nordicsemi.com/Products/Development-hardware/nRF52840-Dongle/Download?lang=en#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any reason why P1.00 should not be possible to use for any purpose no. If you just make a simple application toggling the IO, does that work? Maybe the pin have been damaged in some way?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>