<?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>Does 9160&amp;#39;s overlay or dts file not work?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112657/does-9160-s-overlay-or-dts-file-not-work</link><description>I need to use ADC in the project, and then I have configured ADC in overlay. The code is as follows 
 
 The same code can be measured normally in Zephyr&amp;#39;s ADC example, but when it comes to other projects, such as using the application_update example for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jul 2024 02:14:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112657/does-9160-s-overlay-or-dts-file-not-work" /><item><title>RE: Does 9160's overlay or dts file not work?</title><link>https://devzone.nordicsemi.com/thread/492345?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 02:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b694aaf3-44de-4599-b4bd-e18000c06c13</guid><dc:creator>llly</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;Naeem Maroof&lt;/p&gt;
&lt;p&gt;There is already code to disable uart1 in C:\ncs\v2.6.1\zephyr\boards\arm\nrf9160dk_nrf9160\nrf9160dk_nrf9160_ns.dts,&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/65016.png" /&gt;&lt;/p&gt;
&lt;p&gt;And I have also tried disabling uart1 in overlay&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0755.png" /&gt;&lt;/p&gt;
&lt;p&gt;But it didn&amp;#39;t work, and the ADC values of those channels were still abnormal,&amp;nbsp;I also checked zephyr.dts and it shows that uart1 is indeed disabled&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/056056.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does 9160's overlay or dts file not work?</title><link>https://devzone.nordicsemi.com/thread/492209?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 10:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cefef7ca-3a17-41ea-9a73-fc84b9c93cb6</guid><dc:creator>Naeem Maroof</dc:creator><description>[quote user=""]there is no need to make any modifications to&amp;nbsp;nrf9160dk_nrf9160_common.dtsi[/quote]
&lt;p&gt;_common.dtsi file shows the device tree of the SoC, and we can see that uart1 is enabled&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/6470.pastedimage1720087851299v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If your application does not need uart1 then you can add the following in the overlay and it will be disabled&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart1 {
	status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and you could confirm it from the compiled dts (in ./build/zephyr/zephyr.dts)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does 9160's overlay or dts file not work?</title><link>https://devzone.nordicsemi.com/thread/491996?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 08:30:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49a2242e-7814-4fac-9fe8-ed56bd5c7022</guid><dc:creator>llly</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;Naeem Maroof&lt;/p&gt;
&lt;p&gt;I am using version 2.6.1, and the example I used are&amp;nbsp;C:\ncs\v2.6.1\zephyr\samples\drivers\adc and&amp;nbsp;C:\ncs\v2.6.1\nrf\samples\cellular\http_update\application_update&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does 9160's overlay or dts file not work?</title><link>https://devzone.nordicsemi.com/thread/491994?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 08:25:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80d4e0e2-ddef-418a-ac29-182b7ce5ef3d</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]using the application_update example for testing[/quote]
&lt;p&gt;can you provide the link to both of these sample you are referring to? For both samples, are you using ncs 2.6.1?&lt;/p&gt;
&lt;p&gt;I am not sure, but I can have a look at it. It could be that uart is being used for logging etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>