<?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>Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100870/devicetree-peripherals</link><description>Hello, 
 I declared a devicetree for a custom board. I have declared a UART port. But when defining the pin and port number I get an error message that the syntax is wrong. The Devicetree is based on nrf52832. With I2C and SPI I have the same problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Jun 2023 15:16:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100870/devicetree-peripherals" /><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431347?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 15:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abe46928-5470-425f-bdde-8ba5e8586f01</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;address-cells and size-cells are look to be in&lt;/p&gt;
&lt;p&gt;nrf52832.dtsi&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/pastedimage1686842112806v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;which is included in the nrf52832_qfaa.dtsi&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/pastedimage1686842144188v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m guessing there are still pathing issues with your environment being able to see&amp;nbsp;&lt;strong&gt;#include &amp;lt;nordic/nrf52832_qfaa.dtsi&amp;gt; &lt;/strong&gt;in your custom .dts file? (i.e. that error still remains)?&lt;/p&gt;
&lt;p&gt;(Hence why I queried if nrf52832_qfaa.dtsi and nrf52832.dtsi were in your local drive&amp;nbsp;&lt;em&gt;&lt;span&gt;&amp;nbsp;C:\ncs\v2.4.0\zephyr\dts\arm\nordic&lt;/span&gt;&lt;/em&gt;, and if that ncs/vMajor.Minor.Patch was your selected sdk in the project settings earlier)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[for reference, piggybacking off your other thread here :&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100821/build-own-custom-board-on-nrf-connect-sdk-devicetree"&gt;Build own custom board on nrf Connect SDK(Devicetree)&lt;/a&gt;&amp;nbsp;as well as replies here, I made a custom board called exampleboard, made the dtsi, dts, etc. mostly for addition of uart and usb to get the helloworld working, and was able to flash and see the output, so just trying to figure out what was different between our environments other than the fact I only have a nrf52840DK available so that&amp;#39;s the target soc for me.)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431344?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 15:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:432cffcf-e0ad-41d8-84fd-e067504b1bd5</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;ok thanks, I add it. However ther are still error syntax.&lt;/p&gt;
&lt;p&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/pastedimage1686841511182v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&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/pastedimage1686841520624v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and the ; are also marked as systax error&lt;/p&gt;
&lt;p&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/pastedimage1686841557920v6.png" alt=" " /&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/pastedimage1686841544462v5.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431339?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 15:00:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95163bae-56af-4299-a9ac-ab63fd40d502</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;For this error,&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/pastedimage1686841204681v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I notice in one of your images your .dts is a little different syntactically.&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/pastedimage1686841152200v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;all my .dts have that /&amp;nbsp; before the opening&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431336?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:246260e4-65ff-42f6-beb1-d992fd3dd9ba</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;yes my custom booard is in 2.4.0 and my project is set to v2.4.0&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/pastedimage1686840107740v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431335?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8937287c-c398-45fe-bd55-ab2ae89a6a0b</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Is that in v2.4.0? and is your project set to v2.4.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431330?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:34:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b746aa8b-d265-40af-9721-b96149727255</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;When I try to build an application with this custom board(I make). I get the following error messages:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:406px;" height="240" src="https://devzone.nordicsemi.com/resized-image/__size/812x480/__key/communityserver-discussions-components-files/4/pastedimage1686839683555v1.png" width="406" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431326?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5614485-479d-4604-ada7-59f8cd30bcfd</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;Yes, it is there&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/pastedimage1686839431476v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431320?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da4fe820-da0d-4d17-ace1-e8313c8df063</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;If you path to the directory I show above, is the file there that you&amp;#39;re trying to include? (My path is with default sdk directory in my default drive,&amp;nbsp;C:\ncs\v2.4.0\zephyr\dts\arm\nordic)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431318?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f7b9629-eb02-4e13-8f67-064862f5f516</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;ok, but however it does not change&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/pastedimage1686838928923v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431317?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b17134cf-4699-4fcf-96b2-81a78fa9fe04</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Whoops, I just realized it&amp;#39;s a nrf52832 and not 52833. My bad.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It is in fact qfaa.dtsi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;(for ref :&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686838812626v1.png" alt=" " /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431307?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:10:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e008bbe5-eaeb-45ce-a535-1c1f2d38ea28</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;You can see it in the following picture&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/pastedimage1686838217263v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431306?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faa92236-3f2f-4e8c-97fc-baee39a40f8d</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;What&amp;#39;s the error there under the nordic/nrf52832_qiaa.dtsi?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431305?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f268c46-2370-4ed5-9809-e7a83c488953</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;I change it&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/pastedimage1686837922025v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However it doesnt change anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431302?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:03:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1a9626b-b228-477a-804b-ff0d71d756a7</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;at the top, it&amp;#39;s&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;nordic/nrf52840_qiaa.dtsi&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;not qfaa&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;edit: This is not correct, misunderstood which soc he was working with&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431301?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 14:02:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce82d169-1a5b-44b7-94a1-77b5d7a19a76</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;Yes I &amp;#39;include it in my .dts file. I place it in the same folder as the dtsi file( see picture). &lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686837565285v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;However the whole code in .dts is marked as error too.(see picture)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686837640250v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the .dtsi file is marked as error&amp;nbsp;&lt;/p&gt;
&lt;p&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/pastedimage1686837742903v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431289?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 13:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58aeeee8-31a5-4eb6-b9ad-5bd820f9e133</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Where did you place the .dtsi? Where did you name it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And did you #include it in your .dts?&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/pastedimage1686836134918v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431273?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 13:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15ce7152-be44-4316-a2f3-a520183cc24d</guid><dc:creator>Tal.</dc:creator><description>&lt;p&gt;than you for your answer. You are rigth I had no .dtsi file in the folder. So I created an .dtsi file an declare i2C and uart.But the whole code is marked as syntax error. Do I have to pay attention to anything else when creating the .dtsi file.&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/pastedimage1686834444314v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree Peripherals</title><link>https://devzone.nordicsemi.com/thread/431248?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 12:27:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a15b4de7-3c3a-45aa-997f-10572b48f878</guid><dc:creator>droidecahedron</dc:creator><description>&lt;p&gt;Does your .dtsi expand on uart0_default, and i2c1_default?&lt;/p&gt;
&lt;p&gt;like the following&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/pastedimage1686832062912v1.png" /&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/pastedimage1686832166193v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;(It&amp;#39;s here I usually change which port/pin it is in that NRF_PSEL portion.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>