<?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>Help needed with GPIO and 32kHz Crystal issues on custom nRF52832 board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115187/help-needed-with-gpio-and-32khz-crystal-issues-on-custom-nrf52832-board</link><description>Hello everyone, 
 I&amp;#39;m experiencing some issues while trying to program an nRF52832 CIIA on a custom PCB. Specifically, I cannot get the GPIO pins or the external 32kHz crystal to work properly. However, I can run programs, debug, and use printk through</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Oct 2024 12:23:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115187/help-needed-with-gpio-and-32khz-crystal-issues-on-custom-nrf52832-board" /><item><title>RE: Help needed with GPIO and 32kHz Crystal issues on custom nRF52832 board</title><link>https://devzone.nordicsemi.com/thread/504998?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2024 12:23:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de431f41-7866-4653-a7b2-6fdf50b204c7</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You could maybe try to&amp;nbsp;force the correct output mode with pull-down, try specifying the GPIO flags directly:&lt;/p&gt;
&lt;p&gt;mux_en: mux_en {&lt;br /&gt; gpios = &amp;lt;&amp;amp;gpio0 9 GPIO_OUTPUT_HIGH | GPIO_PULL_DOWN&amp;gt;;&lt;br /&gt; label = &amp;quot;MUX_EN&amp;quot;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;You could also try a minimal test case with only the GPIO configuration and toggling. If pin 9 is still unresponsive, then maybe you could try with another GPIO pin too.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help needed with GPIO and 32kHz Crystal issues on custom nRF52832 board</title><link>https://devzone.nordicsemi.com/thread/504832?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 13:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d481c406-dea4-4f60-82b4-ded8de6144c8</guid><dc:creator>Red J.</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll test it on the SDK as soon as I can.&lt;/p&gt;
&lt;p&gt;Meanwhile, I&amp;#39;ve been working on the GPIOs. I can change the pull-up/pull-down configurations on some pins while the main program is running and I detect the voltage changes.&lt;/p&gt;
&lt;p&gt;Additionally, after using the &lt;code&gt;gpio_pin_configure_dt()&lt;/code&gt; function, I can see the output register update during debugging, but there&amp;#39;s no corresponding change in the pin voltage&lt;/p&gt;
&lt;p&gt;As example, pin 9 is configurated ( and checked on the &lt;code&gt;PINCNF[]&lt;/code&gt; register during debugging) as&amp;nbsp; &lt;code&gt;GPIO_OUTPUT_HIGH&lt;/code&gt; and &lt;code&gt;GPIO_PULL_DOWN&lt;/code&gt;&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/pastedimage1727959936871v1.png" alt=" " /&gt;&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/pastedimage1727960042717v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This pin appears in the builded file zephyr.dts as:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;	aliases {
		muxen = &amp;amp;mux_en;
	};
	
	leds {
		mux_en: mux_en {
			gpios = &amp;lt; &amp;amp;gpio0 0x9 0x0 &amp;gt;;
			label = &amp;quot;MUX_EN&amp;quot;;
		};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I would appreciate any recommendation meanwhile I proceed to try on another DK boards.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your attention!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help needed with GPIO and 32kHz Crystal issues on custom nRF52832 board</title><link>https://devzone.nordicsemi.com/thread/504797?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 09:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:450dc954-b29d-44af-acc5-39a674c9ee20</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It does looks like you have tried troubleshooting well. You mentioned that the GPIOs also have problem. Please make sure that you have properly initialized them in your code. As for the external crystal issue, please make sure that you have the .dts file written correctly. Same for the GPIO pins.&lt;/p&gt;
&lt;p&gt;Have you tried maybe to run you code on any DK, just to make sure that the issue is not isolated to your custom hardware?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>