<?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>Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118566/inquiry-on-st7789v-mipi-dbi-driver-configuration-in-ncs-2-9-0</link><description>Dear, 
 I recently upgraded my project from NCS 2.4.0 to NCS 2.9.0 and encountered an issue with the ST7789V display driver. 
 Previously, I used SPI0 to interface with the ST7789V display, and the configuration in my device tree worked fine. However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Jun 2025 14:54:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118566/inquiry-on-st7789v-mipi-dbi-driver-configuration-in-ncs-2-9-0" /><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/538274?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 14:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3573e20b-bf18-4b1b-996d-b55c1d50db29</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Abdullah,&lt;/p&gt;
&lt;p&gt;You can&amp;nbsp;upload the overlay file here so I can check.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/538273?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 14:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aa5dbe4-9026-453d-8e4c-8ebcda1e4e36</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Nanag,&lt;/p&gt;
&lt;p&gt;You need to change the parameters following way&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;&lt;strong&gt;mipi-mode&lt;/strong&gt;:&lt;br /&gt;The value should be an integer macro, not a string. For 4-wire SPI, use&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;&amp;lt;MIPI_DBI_MODE_SPI_4WIRE&amp;gt;&lt;/code&gt;.&lt;br /&gt;Make sure you include the correct header:&lt;br /&gt;&lt;code dir="ltr"&gt;#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;&lt;strong&gt;mipi-max-frequency&lt;/strong&gt;:&lt;br /&gt;Use a direct integer value (e.g.,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;&amp;lt;8000000&amp;gt;&lt;/code&gt;) instead of&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;DT_FREQ_M(8)&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;unless you have that macro defined.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;This is the overlay file after this change&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr/dt-bindings/display/panel.h&amp;gt;
#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;

/ {
    chosen {
        zephyr,display = &amp;amp;st7789v;
    };

    leds {
        compatible = &amp;quot;gpio-leds&amp;quot;;
        lcd_backlight: lcd_backlight {
            gpios = &amp;lt;&amp;amp;gpio0 11 GPIO_ACTIVE_LOW&amp;gt;;
            label = &amp;quot;LCD Backlight&amp;quot;;
        };
    };

    mipi_dbi {
        compatible = &amp;quot;zephyr,mipi-dbi-spi&amp;quot;;
        status = &amp;quot;okay&amp;quot;;
        reset-gpios = &amp;lt;&amp;amp;gpio0 27 GPIO_ACTIVE_LOW&amp;gt;;
        dc-gpios = &amp;lt;&amp;amp;gpio0 31 GPIO_ACTIVE_HIGH&amp;gt;;
        spi-dev = &amp;lt;&amp;amp;spi0&amp;gt;;
        write-only;
        #address-cells = &amp;lt;1&amp;gt;;
        #size-cells = &amp;lt;0&amp;gt;;

        st7789v: st7789v@0 {
            compatible = &amp;quot;sitronix,st7789v&amp;quot;;
            status = &amp;quot;okay&amp;quot;;
            reg = &amp;lt;0&amp;gt;;
            mipi-max-frequency = &amp;lt;8000000&amp;gt;;
            mipi-mode = &amp;lt;MIPI_DBI_MODE_SPI_4WIRE&amp;gt;;
            width = &amp;lt;240&amp;gt;;
            height = &amp;lt;240&amp;gt;;
            x-offset = &amp;lt;0&amp;gt;;
            y-offset = &amp;lt;0&amp;gt;;
            vcom = &amp;lt;0x19&amp;gt;;
            gctrl = &amp;lt;0x35&amp;gt;;
            vrhs = &amp;lt;0x12&amp;gt;;
            vdvs = &amp;lt;0x20&amp;gt;;
            mdac = &amp;lt;0x00&amp;gt;;
            gamma = &amp;lt;0x01&amp;gt;;
            colmod = &amp;lt;0x05&amp;gt;;
            lcm = &amp;lt;0x2c&amp;gt;;
            porch-param = [0c 0c 00 33 33];
            cmd2en-param = [5a 69 02 01];
            pwctrl1-param = [a4 a1];
            pvgam-param = [D0 04 0D 11 13 2B 3F 54 4C 18 0D 0B 1F 23];
            nvgam-param = [D0 04 0C 11 13 2C 3F 44 51 2F 1F 1F 20 23];
            ram-param = [00 F0];
            rgb-param = [CD 08 14];
        };
    };
};&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Besides this also can check if your confif file contains following configurations&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SPI=y
CONFIG_SPI_NRFX=y
CONFIG_MIPI_DBI=y
CONFIG_DISPLAY=y
CONFIG_LVGL=y  # If using LVGL&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/537299?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 07:13:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f47439c-3d82-4de5-aadf-0ea784619fd9</guid><dc:creator>Abdullah Javed</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I am using nrf52840 with ili9341 display and mipi_dbi node with spi, I am using same mipi setup, I am not able to figure out what is the issue here.&lt;br /&gt;can someone please guide me here.&lt;br /&gt;I am&amp;nbsp;getting these errors:&lt;br /&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/pastedimage1748416318933v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/537267?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 02:42:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e3ae97-6f53-444f-94c7-e2f8cfcd5bdf</guid><dc:creator>nanangcreacoll</dc:creator><description>&lt;p&gt;overlay file:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr/dt-bindings/display/panel.h&amp;gt;
#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;

/ {
	chosen {
		zephyr,display = &amp;amp;st7789v;
	};

	leds {
        compatible = &amp;quot;gpio-leds&amp;quot;;
        lcd_backlight: lcd_backlight {
            gpios = &amp;lt;&amp;amp;gpio0 11 GPIO_ACTIVE_LOW&amp;gt;;
            label = &amp;quot;LCD Backlight&amp;quot;;
        };
    };

    mipi_dbi {
        compatible = &amp;quot;zephyr,mipi-dbi-spi&amp;quot;;
        status = &amp;quot;okay&amp;quot;;
        reset-gpios = &amp;lt;&amp;amp;gpio0 27 GPIO_ACTIVE_LOW&amp;gt;;
        dc-gpios = &amp;lt;&amp;amp;gpio0 31 GPIO_ACTIVE_HIGH&amp;gt;;
        spi-dev = &amp;lt;&amp;amp;spi0&amp;gt;;
        write-only;
        #address-cells = &amp;lt;1&amp;gt;;
        #size-cells = &amp;lt;0&amp;gt;;

        st7789v: st7789v@0 {
            compatible = &amp;quot;sitronix,st7789v&amp;quot;;
            status = &amp;quot;okay&amp;quot;;
            reg = &amp;lt;0&amp;gt;;
            mipi-max-frequency = &amp;lt;DT_FREQ_M(8)&amp;gt;;
            mipi-mode = &amp;quot;MIPI_DBI_MODE_SPI_4WIRE&amp;quot;;
            width = &amp;lt;240&amp;gt;;
            height = &amp;lt;240&amp;gt;;
            x-offset = &amp;lt;0&amp;gt;;
            y-offset = &amp;lt;0&amp;gt;;
            vcom = &amp;lt;0x19&amp;gt;;
            gctrl = &amp;lt;0x35&amp;gt;;
            vrhs = &amp;lt;0x12&amp;gt;;
            vdvs = &amp;lt;0x20&amp;gt;;
            mdac = &amp;lt;0x00&amp;gt;;
            gamma = &amp;lt;0x01&amp;gt;;
            colmod = &amp;lt;0x05&amp;gt;;
            lcm = &amp;lt;0x2c&amp;gt;;
            porch-param = [0c 0c 00 33 33];
            cmd2en-param = [5a 69 02 01];
            pwctrl1-param = [a4 a1];
            pvgam-param = [D0 04 0D 11 13 2B 3F 54 4C 18 0D 0B 1F 23];
            nvgam-param = [D0 04 0C 11 13 2C 3F 44 51 2F 1F 1F 20 23];
            ram-param = [00 F0];
            rgb-param = [CD 08 14];
        };
    };
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/537227?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 14:37:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12a302ec-110f-4ced-be8c-c4002db893a4</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Nanag,&lt;/p&gt;
&lt;p&gt;Please send me the overlay file.&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/536579?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 09:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a8ef6c4-66ce-441a-9d15-1081377f5fc6</guid><dc:creator>nanangcreacoll</dc:creator><description>&lt;p&gt;Already added those files, still nothing on the display.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/536578?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 09:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6809cc2-cdcc-44b1-a3ee-cae944f7753c</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Add these header files&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#include &amp;lt;zephyr/dt-bindings/display/panel.h&amp;gt;&lt;br /&gt;#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/536572?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 09:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50329e7f-3139-43ea-9eb3-23aa4a4d02a6</guid><dc:creator>nanangcreacoll</dc:creator><description>&lt;p&gt;I am having the exact same issue with ST7789V, it works and can display when configured with SPI (NCS SDK 2.7.0), but cannot display when configured with MIPI DBI (NCS SDK 3.0.1). Does it need further configuration? I tried it with the display sample (sample/driver/display).&lt;br /&gt;&lt;br /&gt;overaly:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	chosen {
		zephyr,display = &amp;amp;st7789v;
	};

	leds {
        compatible = &amp;quot;gpio-leds&amp;quot;;
        lcd_backlight: lcd_backlight {
            gpios = &amp;lt;&amp;amp;gpio0 11 GPIO_ACTIVE_LOW&amp;gt;;
            label = &amp;quot;LCD Backlight&amp;quot;;
        };
    };

    mipi_dbi {
        compatible = &amp;quot;zephyr,mipi-dbi-spi&amp;quot;;
        status = &amp;quot;okay&amp;quot;;
        reset-gpios = &amp;lt;&amp;amp;gpio0 27 GPIO_ACTIVE_LOW&amp;gt;;
        dc-gpios = &amp;lt;&amp;amp;gpio0 31 GPIO_ACTIVE_HIGH&amp;gt;;
        spi-dev = &amp;lt;&amp;amp;spi0&amp;gt;;
        write-only;
        #address-cells = &amp;lt;1&amp;gt;;
        #size-cells = &amp;lt;0&amp;gt;;

        st7789v: st7789v@0 {
            compatible = &amp;quot;sitronix,st7789v&amp;quot;;
            status = &amp;quot;okay&amp;quot;;
            reg = &amp;lt;0&amp;gt;;
            mipi-max-frequency = &amp;lt;DT_FREQ_M(8)&amp;gt;;
            mipi-mode = &amp;quot;MIPI_DBI_MODE_SPI_4WIRE&amp;quot;;
            width = &amp;lt;240&amp;gt;;
            height = &amp;lt;240&amp;gt;;
            x-offset = &amp;lt;0&amp;gt;;
            y-offset = &amp;lt;0&amp;gt;;
            vcom = &amp;lt;0x19&amp;gt;;
            gctrl = &amp;lt;0x35&amp;gt;;
            vrhs = &amp;lt;0x12&amp;gt;;
            vdvs = &amp;lt;0x20&amp;gt;;
            mdac = &amp;lt;0x00&amp;gt;;
            gamma = &amp;lt;0x01&amp;gt;;
            colmod = &amp;lt;0x05&amp;gt;;
            lcm = &amp;lt;0x2c&amp;gt;;
            porch-param = [0c 0c 00 33 33];
            cmd2en-param = [5a 69 02 01];
            pwctrl1-param = [a4 a1];
            pvgam-param = [D0 04 0D 11 13 2B 3F 54 4C 18 0D 0B 1F 23];
            nvgam-param = [D0 04 0C 11 13 2C 3F 44 51 2F 1F 1F 20 23];
            ram-param = [00 F0];
            rgb-param = [CD 08 14];
        };
    };
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/529394?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 22:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:462fe0ae-c35e-4117-a7a1-f011b3cfc8bb</guid><dc:creator>bjornolsen</dc:creator><description>&lt;p&gt;Yes. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/528991?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 09:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c8a0013-acb0-409a-af00-e1f7ad82613b</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Great! so with these two&lt;/p&gt;
&lt;p&gt;#include &amp;lt;zephyr/dt-bindings/display/panel.h&amp;gt;&lt;br /&gt;#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;&lt;/p&gt;
&lt;p&gt;header files and the overlay file I attached before solved the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/528894?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 14:53:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b296befb-a830-4c59-8e97-9f875fe437b0</guid><dc:creator>bjornolsen</dc:creator><description>&lt;p&gt;OK I&amp;nbsp;did a completely clean build. now it works 100% all good.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/528893?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 14:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce9ec1ed-1768-4794-90c2-a994fd5d69be</guid><dc:creator>bjornolsen</dc:creator><description>&lt;p&gt;Hello.&lt;br /&gt;&lt;br /&gt;I get the same error.&lt;br /&gt;But it resolved the issue with pixel-format which I could include.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;here is the full overlay.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr/dt-bindings/display/panel.h&amp;gt;
#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;

/ {
    chosen {
        zephyr,display = &amp;amp;gc9a01;
    };

    mipi_dbi {
        compatible = &amp;quot;zephyr,mipi-dbi-spi&amp;quot;;
        dc-gpios = &amp;lt;&amp;amp;gpio0 30 GPIO_ACTIVE_HIGH&amp;gt;;
        reset-gpios = &amp;lt;&amp;amp;gpio0 2 GPIO_ACTIVE_LOW&amp;gt;;
        spi-dev = &amp;lt;&amp;amp;spi3&amp;gt;;
        #address-cells = &amp;lt;1&amp;gt;;
        #size-cells = &amp;lt;0&amp;gt;;

        gc9a01: gc9a01@0 {
            status = &amp;quot;okay&amp;quot;;
            compatible = &amp;quot;galaxycore,gc9x01x&amp;quot;;
            reg = &amp;lt;0&amp;gt;;
            mipi-max-frequency = &amp;lt;100000000&amp;gt;;
            pixel-format = &amp;lt;PANEL_PIXEL_FORMAT_RGB_565&amp;gt;;
            width = &amp;lt;240&amp;gt;;
            height = &amp;lt;240&amp;gt;;
            display-inversion;
            orientation = &amp;quot;180&amp;quot;; // Set to rotate the display
        };
    };
};

&amp;amp;spi3_default {
	group1 {
		psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 28)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MISO, 0, 4)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MOSI, 0, 29)&amp;gt;;
		nordic,drive-mode = &amp;lt;NRF_DRIVE_H0H1&amp;gt;;
	};
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/528877?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 13:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d04d9f4-ec8a-4aa2-ab2d-7f0851cb5847</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;For the first error, it seems&amp;nbsp;&lt;span&gt;the PANEL_ was not defined.&lt;/span&gt;&amp;nbsp;It should be in the devicetree file as header file&lt;/p&gt;
&lt;p&gt;#include &amp;lt;zephyr/dt-bindings/display/panel.h&amp;gt;&lt;/p&gt;
&lt;p&gt;Can you try this first and see if you get the second error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/528870?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 13:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8206c7fc-dc2f-4cc5-8f82-92b1978a6714</guid><dc:creator>bjornolsen</dc:creator><description>&lt;p&gt;Hi Kazi,&lt;br /&gt;&lt;br /&gt;Tried your code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;devicetree error:&lt;br /&gt;&lt;br /&gt;nrf52840dk_nrf52840.overlay:37 (column 29): parse error: expected number or parenthesized expression&lt;br /&gt;&lt;br /&gt;That is cause by &amp;quot;pixel-format = &amp;lt;PANEL_PIXEL_FORMAT_RGB_565&amp;gt;;&amp;quot;&lt;br /&gt;If I remove that line and recompile&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:/Users/BjornOlsen/Documents/GitHub/nestlab/build/zephyr/include/generated/devicetree_generated.h:15794:50: error: &amp;#39;DT_N_S_mipi_dbi_S_gc9a01_0_P_width&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_mipi_dbi_S_gc9a01_0_P_reg&amp;#39;?&lt;br /&gt;15794 | #define DT_CHOSEN_zephyr_display DT_N_S_mipi_dbi_S_gc9a01_0&lt;br /&gt;&lt;br /&gt;so now it seems to complain about width.&lt;br /&gt;&lt;br /&gt;I feel I am getting closer,&amp;nbsp;but not quite there yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/528828?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 11:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bde8f29-967d-49f8-aed4-a18373d9b7d3</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The error shows mipi_dbi is defined out of the root scope. You can try to add this inside the root.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;

/ {
    chosen {
        zephyr,display = &amp;amp;gc9a01;
    };

    mipi_dbi {
        compatible = &amp;quot;zephyr,mipi-dbi-spi&amp;quot;;
        dc-gpios = &amp;lt;&amp;amp;gpio0 8 GPIO_ACTIVE_HIGH&amp;gt;;
        reset-gpios = &amp;lt;&amp;amp;gpio0 14 GPIO_ACTIVE_LOW&amp;gt;;
        spi-dev = &amp;lt;&amp;amp;spi0&amp;gt;;
        #address-cells = &amp;lt;1&amp;gt;;
        #size-cells = &amp;lt;0&amp;gt;;

        gc9a01: gc9a01@0 {
            status = &amp;quot;okay&amp;quot;;
            compatible = &amp;quot;galaxycore,gc9x01x&amp;quot;;
            reg = &amp;lt;0&amp;gt;;
            mipi-max-frequency = &amp;lt;100000000&amp;gt;;
            width = &amp;lt;240&amp;gt;;
            height = &amp;lt;240&amp;gt;;
            pixel-format = &amp;lt;PANEL_PIXEL_FORMAT_RGB_565&amp;gt;;
            display-inversion;
            orientation = &amp;quot;180&amp;quot;; // Set to rotate the display
        };
    };
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/528502?ContentTypeID=1</link><pubDate>Sun, 23 Mar 2025 09:58:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61f0ae10-c006-4a73-9e7a-d32b8d6f17f4</guid><dc:creator>bjornolsen</dc:creator><description>&lt;p&gt;I am having the same issue.&amp;nbsp;I think I am close...&lt;br /&gt;&lt;br /&gt;for SDK 2.7 this works perfectly&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr/dt-bindings/display/panel.h&amp;gt;

/ {
	chosen {
		zephyr,display = &amp;amp;gs91010;
	};
};


 
&amp;amp;spi3 {
	status = &amp;quot;okay&amp;quot;;

	gs91010: gc9x01x@0 {
		compatible = &amp;quot;galaxycore,gc9x01x&amp;quot;;
		reg = &amp;lt;0&amp;gt;;
		spi-max-frequency = &amp;lt;100000000&amp;gt;;
		width = &amp;lt;240&amp;gt;;
		height = &amp;lt;240&amp;gt;;
		pixel-format = &amp;lt;PANEL_PIXEL_FORMAT_RGB_565&amp;gt;;
		cmd-data-gpios = &amp;lt;&amp;amp;gpio0 30 GPIO_ACTIVE_HIGH&amp;gt;;	
		reset-gpios = &amp;lt;&amp;amp;gpio0 2 GPIO_ACTIVE_LOW&amp;gt;;
		display-inversion; 
		orientation = &amp;quot;180&amp;quot;; // Set to rotate the display
		// gamma settings can be added if needed
	};

	cs-gpios = &amp;lt;&amp;amp;gpio0 31 GPIO_ACTIVE_LOW&amp;gt;;
};

&amp;amp;spi3_default {
	group1 {
		psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 28)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MISO, 0, 4)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MOSI, 0, 29)&amp;gt;;
		nordic,drive-mode = &amp;lt;NRF_DRIVE_H0H1&amp;gt;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now when switching to SDK 2.9&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;

/ {
	chosen {
		zephyr,display = &amp;amp;gs91010;
	};
};

mipi_dbi {
    compatible = &amp;quot;zephyr,mipi-dbi-spi&amp;quot;;
    dc-gpios = &amp;lt;&amp;amp;gpio0 8 GPIO_ACTIVE_HIGH&amp;gt;;
    reset-gpios = &amp;lt;&amp;amp;gpio0 14 GPIO_ACTIVE_LOW&amp;gt;;
    spi-dev = &amp;lt;&amp;amp;spi0&amp;gt;;
    #address-cells = &amp;lt;1&amp;gt;;
    #size-cells = &amp;lt;0&amp;gt;;

    gc9a01: gc9a01@0 {
        status = &amp;quot;okay&amp;quot;;
        compatible = &amp;quot;galaxycore,gc9x01x&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        mipi-max-frequency = &amp;lt;100000000&amp;gt;;
        width = &amp;lt;240&amp;gt;;
		height = &amp;lt;240&amp;gt;;
		pixel-format = &amp;lt;PANEL_PIXEL_FORMAT_RGB_565&amp;gt;;
		cmd-data-gpios = &amp;lt;&amp;amp;gpio0 30 GPIO_ACTIVE_HIGH&amp;gt;;	
		reset-gpios = &amp;lt;&amp;amp;gpio0 2 GPIO_ACTIVE_LOW&amp;gt;;
		display-inversion; 
		orientation = &amp;quot;180&amp;quot;; // Set to rotate the display
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But I get errors such as&lt;br /&gt;&amp;quot;Node mipi_dbi defined outside of root scope. Only reference nodes and the root node itself are allowed&lt;/p&gt;
&lt;div class="hover-row"&gt;
&lt;div class="hover-row-contents"&gt;
&lt;div class="markdown-hover"&gt;
&lt;div class="hover-contents"&gt;
&lt;div class="rendered-markdown"&gt;
&lt;p&gt;&lt;code&gt;mipi_dbi/&amp;quot;&lt;br /&gt;&lt;br /&gt;&amp;quot;devicetree error: ./nrf52840dk_nrf52840.overlay:23 (column 1): parse error: expected &amp;#39;/&amp;#39; or label reference (&amp;amp;foo)&lt;br /&gt;CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/dts.cmake:295 (execute_process):&amp;quot;&lt;br /&gt;&lt;br /&gt;I have read the various update guidelines, but that does not help me solve this problem&lt;/code&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry on ST7789V MIPI-DBI Driver Configuration in NCS 2.9.0</title><link>https://devzone.nordicsemi.com/thread/521317?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 13:40:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85becc4d-73c4-42cd-a5cb-cdd052240b9a</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can see this documentation (&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/releases/migration-guide-3.7.html#display"&gt;Migration guide to Zephyr v3.7.0&lt;/a&gt;) to know how to define MIPI-DBI device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt; should be added in the MIPI_DBI bindings device tree.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;/* Legacy GC9X01 display definition */
&amp;amp;spi0 {
    gc9a01: gc9a01@0 {
        status = &amp;quot;okay&amp;quot;;
        compatible = &amp;quot;galaxycore,gc9x01x&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        spi-max-frequency = &amp;lt;100000000&amp;gt;;
        cmd-data-gpios = &amp;lt;&amp;amp;gpio0 8 GPIO_ACTIVE_HIGH&amp;gt;;
        reset-gpios = &amp;lt;&amp;amp;gpio0 14 GPIO_ACTIVE_LOW&amp;gt;;
        ...
    };
};

/* New display definition with MIPI DBI device */

#include &amp;lt;zephyr/dt-bindings/mipi_dbi/mipi_dbi.h&amp;gt;

...

mipi_dbi {
    compatible = &amp;quot;zephyr,mipi-dbi-spi&amp;quot;;
    dc-gpios = &amp;lt;&amp;amp;gpio0 8 GPIO_ACTIVE_HIGH&amp;gt;;
    reset-gpios = &amp;lt;&amp;amp;gpio0 14 GPIO_ACTIVE_LOW&amp;gt;;
    spi-dev = &amp;lt;&amp;amp;spi0&amp;gt;;
    #address-cells = &amp;lt;1&amp;gt;;
    #size-cells = &amp;lt;0&amp;gt;;

    gc9a01: gc9a01@0 {
        status = &amp;quot;okay&amp;quot;;
        compatible = &amp;quot;galaxycore,gc9x01x&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        mipi-max-frequency = &amp;lt;100000000&amp;gt;;
        ...
    };
};
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>