<?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>Custom Board nRF52840 Some Pins Not Working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92462/custom-board-nrf52840-some-pins-not-working</link><description>I am diagnosing pin malfunction in a custom board where I have working code from another version of the board which no longer works. 
 I am developing against NCS w/ VSCode and extensions. 
 I am moving from one custom board to another, where the old</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Oct 2022 14:24:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92462/custom-board-nrf52840-some-pins-not-working" /><item><title>RE: Custom Board nRF52840 Some Pins Not Working</title><link>https://devzone.nordicsemi.com/thread/389453?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 14:24:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95e76621-e7ec-41ac-a440-79170ddff032</guid><dc:creator>Kaja</dc:creator><description>&lt;p&gt;What is the components in the red circles?&amp;nbsp;&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/pastedimage1664979849301v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;What happens if you disconnect these components?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you share the full schematic?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kaja&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board nRF52840 Some Pins Not Working</title><link>https://devzone.nordicsemi.com/thread/389265?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 17:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a4ad289-153c-48d7-aac3-2cf64dcbf7d0</guid><dc:creator>douglas.malnati</dc:creator><description>&lt;p&gt;Hi, the code you provided results in the same observations as before, that is, pins which aren&amp;#39;t functioning.&lt;/p&gt;
&lt;p&gt;I am seeing this problem on at least 8 boards of a batch, never seeing any work (I stopped checking new ones after a while).&amp;nbsp; I have even found another pin (0.16) which isn&amp;#39;t working (in addition to the others) on the last board I tried.&lt;/p&gt;
&lt;p&gt;I am thinking there is a PCB Assembly problem.&amp;nbsp; I am reaching out to JLCPCB to find out more.&lt;/p&gt;
&lt;p&gt;If you have any other thoughts on what I could check I would pursue that as well.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board nRF52840 Some Pins Not Working</title><link>https://devzone.nordicsemi.com/thread/389121?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 07:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2487d5d1-5dde-4c91-a8f4-2c47d021ec02</guid><dc:creator>Kaja</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;just to rule out any possible reasons for this to be dependent on your fw, can you flash this bare metal example to your board, measure directly on the pad and see if you can measure a toggling signal? You need to set PIN_GPIO to the pin that you want to test. For example for pin 0.07, PIN__GPIO = 7UL. Just add the code to the hello_world sample in Zephyr.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2012-2014 Wind River Systems, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */
#include &amp;lt;zephyr/zephyr.h&amp;gt;
#include &amp;lt;nrf.h&amp;gt;
//define the pin that you want to toggle here
#define PIN_GPIO  (13UL)
int main(void)
{
  // Configure GPIO pin as output with standard drive strength.
  NRF_GPIO-&amp;gt;PIN_CNF[PIN_GPIO] = (GPIO_PIN_CNF_DIR_Output &amp;lt;&amp;lt; GPIO_PIN_CNF_DIR_Pos) |
                                (GPIO_PIN_CNF_DRIVE_S0S1 &amp;lt;&amp;lt; GPIO_PIN_CNF_DRIVE_Pos) |
                                (GPIO_PIN_CNF_INPUT_Connect &amp;lt;&amp;lt; GPIO_PIN_CNF_INPUT_Pos) |
                                (GPIO_PIN_CNF_PULL_Disabled &amp;lt;&amp;lt; GPIO_PIN_CNF_PULL_Pos) |
                                (GPIO_PIN_CNF_SENSE_Disabled &amp;lt;&amp;lt; GPIO_PIN_CNF_SENSE_Pos);
  // Toggle GPIO ON/OFF.
  while (1)
  {
    uint32_t volatile tmo;
    tmo = 10000000;
    while (tmo--);
    NRF_GPIO-&amp;gt;OUTSET = (1UL &amp;lt;&amp;lt; PIN_GPIO);    
    tmo = 10000000;
    while (tmo--);
    NRF_GPIO-&amp;gt;OUTCLR = (1UL &amp;lt;&amp;lt; PIN_GPIO);  
  }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;How many boards are you seeing this issue on? What percentage?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Kaja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board nRF52840 Some Pins Not Working</title><link>https://devzone.nordicsemi.com/thread/388822?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 14:57:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d1a14ad-92d9-4306-a909-568c20c8a710</guid><dc:creator>douglas.malnati</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Here are the gerbers.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BikeControlBoardNRF_2D00_5v_2D00_gerbers.zip"&gt;devzone.nordicsemi.com/.../BikeControlBoardNRF_2D00_5v_2D00_gerbers.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77059" url="~/f/nordic-q-a/92462/custom-board-nrf52840-some-pins-not-working/388703"]Does you the code that worked on the other board not work at all, our is it just the four pin&amp;#39;s?[/quote]
&lt;p&gt;Just those 4 pins aren&amp;#39;t responsive to software.&amp;nbsp; The code is running otherwise.&amp;nbsp; Other pins are responsive and work as before.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77059" url="~/f/nordic-q-a/92462/custom-board-nrf52840-some-pins-not-working/388703"]Does your code work on our DK?[/quote]
&lt;p&gt;I didn&amp;#39;t try. But it does work on another custom board, and an earlier version of the software worked on&amp;nbsp;the Adafdruit nRF52840 Feather (I subsequently moved to a custom board as development continued).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To give an example of what stopped working - I have (AC19 / 0.25) configured to be UART0 TX in my overlay file and that works in my old custom board.&amp;nbsp; Moving to the new custom board, same configuration, same nRF52840 pin, but the signal isn&amp;#39;t measurable at the exposed header.&lt;/p&gt;
&lt;p&gt;If I reconfigure my overlay to route UART0 TX to a different pin (L1 / 0.06), I can measure that signal there.&lt;/p&gt;
&lt;p&gt;The software is no different between the two configurations.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board nRF52840 Some Pins Not Working</title><link>https://devzone.nordicsemi.com/thread/388703?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 09:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83d18d5f-db2a-4447-9e9a-a1cbc1dd82e2</guid><dc:creator>Kaja</dc:creator><description>&lt;p&gt;Hi Doug,&lt;br /&gt;&lt;br /&gt;can you upload the HW files, altium or gerber?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Does you the code that worked on the other board not work at all, our is it just the four pin&amp;#39;s?&lt;br /&gt;&lt;br /&gt;Does your code work on our DK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kaja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>