<?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>Cannot get device binding in Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123566/cannot-get-device-binding-in-zephyr</link><description>i write a simple code to show &amp;quot;hello world&amp;quot; at TFT adafruit 2.8&amp;#39;&amp;#39; 1947 over spi &amp;quot;ili9341&amp;quot; i flashed the code but i think it&amp;#39;s stack at &amp;quot;device binding in Zephyr&amp;quot; but nothing appears at Display: 
 
 const struct device * display ; 
 // Initialize display</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Aug 2025 18:59:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123566/cannot-get-device-binding-in-zephyr" /><item><title>RE: Cannot get device binding in Zephyr</title><link>https://devzone.nordicsemi.com/thread/545431?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 18:59:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4803a7ec-c450-4b14-a14d-07aef3c7964e</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi sabuna,&lt;/p&gt;
&lt;p&gt;Could you please enable CONFIG_LOG, try again, and see if there is any log?&lt;/p&gt;
&lt;p&gt;If there isn&amp;#39;t, could you please enable debug optimization level, and step into the function to see where it fails?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot get device binding in Zephyr</title><link>https://devzone.nordicsemi.com/thread/545339?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 09:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c819d2f4-93a9-4e64-a8bb-8956db116ed6</guid><dc:creator>sabuna</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p data-start="96" data-end="287"&gt;I built the code without any errors and flashed it successfully.&lt;br data-start="160" data-end="163" /&gt; However, I think the code gets stuck at this function.&lt;br data-start="217" data-end="220" /&gt; If I comment out this function, I can see the green LCD blinking.&lt;/p&gt;
&lt;p data-start="289" data-end="461"&gt;It was just a simple test to configure the display and check whether it is working or not.&lt;br data-start="379" data-end="382" /&gt; But, as I mentioned previously, the code seems to get stuck at this function.&lt;/p&gt;
&lt;p data-start="463" data-end="557"&gt;The pin mapping is supposed to be correct, as well as its configuration in the overlay file.&lt;br /&gt;&lt;br /&gt;&lt;span data-teams="true"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table itemprop="copy-paste-table"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;(&amp;micro;C) nrf52840&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;Adafruit TFT Display&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;+3V3&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;Vin&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;GND&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;GND&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;P1.15&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;SCK&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;P1.14&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;MISO&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;P1.13&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;MOSI&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;P1.12&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;CS&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;P1.11&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;DC&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;P1.10&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;&lt;span&gt;RST&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot get device binding in Zephyr</title><link>https://devzone.nordicsemi.com/thread/545097?ContentTypeID=1</link><pubDate>Fri, 08 Aug 2025 21:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4863f1b-24d4-46c5-8aab-fc6cc2d10dbb</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi sabuna,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have the same display here so the best I can do is help you figure out the issue.&lt;/p&gt;
[quote user=""]but i think it&amp;#39;s stack at &amp;quot;device binding in Zephyr&amp;quot; but nothing appears at Display:[/quote]
&lt;p&gt;Could you please provide more details? What exactly happened?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>