<?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>Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107655/output-driver-not-working-for-p1-13-on-nrf5340-dk</link><description>I am trying to set up two GPIOs to control an external chip. Development and testing is currently using the nRF5340 DK. NCS version is 2.5.0. 
 In my nrf5340dk_nrf5340_cpuapp.overfile, I have the following. There are other GPIOs, but ignore those for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jan 2024 14:59:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107655/output-driver-not-working-for-p1-13-on-nrf5340-dk" /><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465634?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 14:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e071e996-5e9c-4417-be35-5a25dc8f593f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Ah, I see. Yes, this is as you&amp;#39;ve concluded in your discussion, i.e that the GPIO has been assigned to other nodes that is not &amp;quot;free to use&amp;quot; since it is predefined to be used to something else on the board. Another example is of course the GPIO&amp;#39;s that are connected to NFC, buttons and LEDS. A build error is triggered if the configuration has faulty syntax, but it does not trigger a build error in this case since it is &amp;quot;valid&amp;quot; to overlay a GPIO pin select&lt;br /&gt;&lt;br /&gt;The best way to see the predefined assignments (in combination with examining the PS) is to see the board files. Board files are found under&amp;nbsp;\zephyr\boards\arm, or in the extension&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/pastedimage1706021656216v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465613?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 14:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb2bbaa0-25c6-4b45-877b-1d5a248b1f14</guid><dc:creator>Aaron F</dc:creator><description>&lt;p&gt;I am talking about this, with the squiggle under the pin number 13.&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/pastedimage1706019707712v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465606?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 14:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0cccdde-44f8-4a01-af28-5dbb372730c5</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;I will just add here that I second Anthony&amp;#39;s remarks and tips. Everything is correct and answers your questions, so thank you for your input Anthony&lt;/p&gt;
&lt;p&gt;For now I will mark this case as verified, and please feel free to open new cases if new topics comes up&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465604?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 14:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35af8146-4fd8-440d-9372-c6fca2969ca0</guid><dc:creator>AHaug</dc:creator><description>[quote user="Aaron F"]&lt;p&gt;On further investigation, I see that the overlay view in VS Code does have a squiggle underline for the conflict and does provide a pop-up saying there is a conflict when hovering over the underlined value.&lt;/p&gt;
&lt;p&gt;I am going to change this ticket to a feature request. Would it be possible to have this conflict cause a build failure, or is it considered valid to do this?&lt;/p&gt;[/quote]
&lt;p&gt;Are you referring to yellow squiggly lines as shown in this image?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1706018755388v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regarding the feature request we would prefer you raise the request in another ticket dedicated with that topic.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465429?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 17:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa8f445d-1476-49fb-9a83-d4c50eaab2a0</guid><dc:creator>Aaron F</dc:creator><description>&lt;p&gt;Ah, thank you for that help. The devicetree view gives a view similar to the pin configurator that other vendors provide. It is much easier to see all the pin assignments and conflicts there. That is what I&amp;#39;ve been looking for.&lt;/p&gt;
&lt;p&gt;The files in the build dir (both the .dts and .h) seem to contain all the information, but they don&amp;#39;t seem easy to parse in a meaningful way.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know anyone currently looking for Nordic/Zephyr work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465428?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 16:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a682805-56aa-4203-9e22-c11d7635c4e9</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;Two tips, not sure if either is exactly what you want:&lt;/p&gt;
&lt;p&gt;* In Visual Studio Code in the nRF Connect extension there is an Action called &amp;quot;Devicetree&amp;quot; which allows exploring the device tree files.&lt;/p&gt;
&lt;p&gt;* All the devicetree configuration ends up in&lt;/p&gt;
&lt;p&gt;build_dir/zephyr/include/generated/device_tree_generated.h&amp;nbsp;&lt;/p&gt;
&lt;p&gt;or for cpunet&amp;nbsp; in&lt;/p&gt;
&lt;p&gt;build_dir/hci_rpmsg/zephyr/include/generated/device_tree_generated.h&lt;/p&gt;
&lt;p&gt;these files&amp;nbsp;are big and not exactly pretty but I believe they have everything determined from devicetree in it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BTW, if you know anyone looking for a developer experienced with zephyr and Nordic&amp;#39;s SDK, I&amp;#39;m currently looking for new clients:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linkedin.com/in/anthonyambuehl/"&gt;www.linkedin.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465424?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 16:41:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08cf78e1-05e2-4f02-843b-5d775ed934f1</guid><dc:creator>Aaron F</dc:creator><description>&lt;p&gt;In the final build/zephyr/zephyr.dts I see that spi4 also has a claim on 0x2D (i.e. P1.13). However, spi4 is disabled in this configuration. That spi4 configuration must be coming from .dtsi files. I wish there was an easier way to view all the pin assignments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465421?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 16:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3e8f495-4bd5-4e2c-81ba-d06879dfcaab</guid><dc:creator>Aaron F</dc:creator><description>&lt;p&gt;On further investigation, I see that the overlay view in VS Code does have a squiggle underline for the conflict and does provide a pop-up saying there is a conflict when hovering over the underlined value.&lt;/p&gt;
&lt;p&gt;I am going to change this ticket to a feature request. Would it be possible to have this conflict cause a build failure, or is it considered valid to do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465420?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 16:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5942838-5e8e-4292-aacb-64785d2b1205</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;Assuming your board is based on nrf5340dk, I noticed in boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet-pinctrl.dtsi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;spi0_default: spi0_default {&lt;br /&gt; group1 {&lt;br /&gt; psels = &amp;lt;NRF_PSEL(SPIM_SCK, 1, 15)&amp;gt;,&lt;br /&gt; &amp;lt;NRF_PSEL(SPIM_MISO, 1, 14)&amp;gt;,&lt;br /&gt; &amp;lt;NRF_PSEL(SPIM_MOSI, 1, 13)&amp;gt;;&lt;br /&gt; };&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This means the pins are assigned to cpunet and settings from the application process wlll not be used.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Output driver not working for P1.13 on nRF5340 DK</title><link>https://devzone.nordicsemi.com/thread/465418?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 16:31:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79dedf43-37ea-47b0-8eeb-e5ccc3d84c49</guid><dc:creator>Aaron F</dc:creator><description>&lt;p&gt;Ah, never mind. I have found the source of the problem:&lt;/p&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="color:#4ec9b0;"&gt;uart3_default&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;: &lt;/span&gt;&lt;span style="color:#dcdcaa;"&gt;uart3_default&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="color:#dcdcaa;"&gt;group1&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; psels = &amp;lt;&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;NRF_PSEL&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;(&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;UART_TX&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;1&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;12&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;)&amp;gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;NRF_PSEL&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;(&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;UART_RTS&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;1&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;10&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style="color:#dcdcaa;"&gt;group2&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; psels = &amp;lt;&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;NRF_PSEL&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;(&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;UART_RX&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;1&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;11&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;)&amp;gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;NRF_PSEL&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;(&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;UART_CTS&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;1&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;, &lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;13&lt;/span&gt;&lt;span style="color:#cccccc;"&gt;)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bias-pull-up;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#cccccc;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;It seems that this must be affecting OUT_OVERRIDE, DIR_OVERRIDE or both. That is my problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>