<?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>Adding Custom ili9341 Display to Zephyr Build</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89535/adding-custom-ili9341-display-to-zephyr-build</link><description>I&amp;#39;m attempting to add support for a custom ili9341 display to a project running on a the uBlox Nora dev kit. I&amp;#39;m currently using VS Code with nRF Connect SDK1.9.1. My question is about how to add the correct Devicetree entries so Zephyr selects and uses</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Jul 2022 18:37:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89535/adding-custom-ili9341-display-to-zephyr-build" /><item><title>RE: Adding Custom ili9341 Display to Zephyr Build</title><link>https://devzone.nordicsemi.com/thread/375629?ContentTypeID=1</link><pubDate>Tue, 05 Jul 2022 18:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30ff4164-7eec-4f91-98b3-bd7ad39146d1</guid><dc:creator>jemiaha</dc:creator><description>&lt;p&gt;This is great! I can read into all this and sort out the best way to configure the display driver. The part that I wasn&amp;#39;t seeing was placing the&amp;nbsp;ILI9340 node as a child inside the SPI device node to assign it to that SPI port. I&amp;#39;ve seen examples of how to configure it in the code but the more portable (but more complex) way is to shift the entire configuration into Device Tree it it seems like that is what the ILI9340 driver is written for. I&amp;#39;ll post back here with more questions when they come up. Thank you.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Custom ili9341 Display to Zephyr Build</title><link>https://devzone.nordicsemi.com/thread/375259?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 08:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f786173-7431-4300-9cb9-43036d396dc5</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I would recommend referring to Zephyr&amp;#39;s Devicetree documentation for details on how the devicetree works and how to use it if you are unfamiliar with it:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/latest/build/dts/howtos.html#set-devicetree-overlays"&gt;https://docs.zephyrproject.org/latest/build/dts/howtos.html#set-devicetree-overlays&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You could probably use this overlay as an example of how your devicetree node could look:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here they have added the screen as a sub-node of an spi node in the devicetree, which in turn also specifies what spi port is used.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>