<?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>P0.17 on nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52274/p0-17-on-nrf52840</link><description>Hi, 
 I designed a customer board and defined my own board header file, which is pretty much copied from pca10056.h. One question I encountered is I somehow couldn&amp;#39;t toggle p0.17. 
 I tried something like this, but it doesn&amp;#39;t toggle. It always stays low</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Sep 2019 05:39:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52274/p0-17-on-nrf52840" /><item><title>RE: P0.17 on nRF52840</title><link>https://devzone.nordicsemi.com/thread/210820?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2019 05:39:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f086e45b-91a2-4b0a-8c24-5f1af2cc5d53</guid><dc:creator>higherkuo</dc:creator><description>&lt;p&gt;Turns out this is a measuring error, everything is good :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.17 on nRF52840</title><link>https://devzone.nordicsemi.com/thread/210329?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 09:17:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fc9c125-374e-4efb-a16a-d058a9aa9a71</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Also this :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.17 on nRF52840</title><link>https://devzone.nordicsemi.com/thread/210324?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 09:08:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00ae1ad0-1640-4c63-af97-8fa65d3b9834</guid><dc:creator>awneil</dc:creator><description>[quote userid="83476" url="~/f/nordic-q-a/52274/p0-17-on-nrf52840"]I tried something &lt;i&gt;(sic)&lt;/i&gt; like this[/quote]
&lt;p&gt;It would be better if you showed &lt;em&gt;&lt;strong&gt;exactly&lt;/strong&gt; &lt;/em&gt;what you tried!&lt;/p&gt;
&lt;p&gt;Also, if you run the same code on a known-good board - does it work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.17 on nRF52840</title><link>https://devzone.nordicsemi.com/thread/210297?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 07:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4462e7ee-a1bd-4cda-a751-e7e11f23dc69</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I suggest you enter debug mode and verify that the PORT0&amp;#39;s&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=3_0_0_5_8_1#register.PIN_CNF-0-31"&gt;PIN_CNF[17]&lt;/a&gt; registers is set correctly after you&amp;#39;ve called&amp;nbsp;nrf_gpio_cfg_output(17), and that PORT0&amp;#39;s&amp;nbsp;&lt;a title="OUT" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=3_0_0_5_8_1_0#register.OUT"&gt;OUT&lt;/a&gt;&amp;nbsp;register shows a toggling pin. Do note that you will need to halt the cpu in order to read the registers, so set a breakpoint after the configuration and after each toggling of the pin.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;If you can verify that the registers behave as we expect then we&amp;#39;re most likely looking at a soldering or ESD issue. A scope of the pin when it&amp;#39;s toggling can be useful.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>