<?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>Using MIPI-DBI-SPI display and SPI sensor on same bus</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122170/using-mipi-dbi-spi-display-and-spi-sensor-on-same-bus</link><description>Hello Nordic team, We are trying to use ST7305 display (custom driver that we have developed using st7789V as refrence ) and acconeer A121 senors on same SPI bus. The A121 sensor works with no issues but the display does not work/update. If we completely</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Jun 2025 10:28:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122170/using-mipi-dbi-spi-display-and-spi-sensor-on-same-bus" /><item><title>RE: Using MIPI-DBI-SPI display and SPI sensor on same bus</title><link>https://devzone.nordicsemi.com/thread/538789?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2025 10:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02cdc42c-efda-46d3-93bd-a1fdd5631bb6</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Dhruvil Levelcon"]we cannot use a different pins as we are sharing a same spi bus[/quote]
&lt;p&gt;Sorry, but I do not understand. Why are you connecting DC to MISO? Those are two different purposes, and as pointed out; will create a conflict.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using MIPI-DBI-SPI display and SPI sensor on same bus</title><link>https://devzone.nordicsemi.com/thread/538786?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2025 10:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c28dc14a-ae2d-4951-b286-0830de62f45b</guid><dc:creator>Dhruvil Levelcon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for quick response&amp;nbsp;&lt;br /&gt;&lt;br /&gt;we cannot use a different pins as we are sharing a same spi bus and also we are short of pins on our controller.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So do you have any other options where we can use the same MISO pin?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using MIPI-DBI-SPI display and SPI sensor on same bus</title><link>https://devzone.nordicsemi.com/thread/538784?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2025 10:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10195e0-e6a2-4830-923e-460ef4ce1ae1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That will create a pin-conflict.&lt;/p&gt;
&lt;p&gt;Try using different GPIOs for MISO/DC-pin and see if this helps.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using MIPI-DBI-SPI display and SPI sensor on same bus</title><link>https://devzone.nordicsemi.com/thread/538780?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2025 09:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2308958-6167-4437-9df1-a4164b9befb5</guid><dc:creator>Dhruvil Levelcon</dc:creator><description>&lt;p&gt;hello&amp;nbsp;&lt;span&gt;H&amp;aring;kon&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thank You for your quick response.&lt;/p&gt;
&lt;p&gt;Currently we have assigned a MISO Pin as a dc-gpio pin ( gpio0 12 )in our mipi-dbi-spi node for display. please do note that the same MISO pin is also used by our Sensor.&lt;br /&gt;&lt;br /&gt;can we do that ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
    spi3_default_alt: spi3_default_alt {
        group1 {
            psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 11)&amp;gt;,
                &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 6)&amp;gt;,
                &amp;lt;NRF_PSEL(SPIM_MISO, 0, 12)&amp;gt;;
        };
    };

    spi3_sleep_alt: spi3_sleep_alt {
        group1 {
            psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 11)&amp;gt;,
                &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 6)&amp;gt;,
                &amp;lt;NRF_PSEL(SPIM_MISO, 0, 12)&amp;gt;;
            low-power-enable;
        };
    };
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using MIPI-DBI-SPI display and SPI sensor on same bus</title><link>https://devzone.nordicsemi.com/thread/538768?ContentTypeID=1</link><pubDate>Wed, 11 Jun 2025 08:26:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9f97798-79dc-49b0-bbc2-70c5f906f93b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You shall define your mipi-node under the root-node, like shown here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay#L32-L49"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay#L32-L49&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And the amount of sensors on the chosen spi-node is determined how you declare that node. In the case of this specific board, it has 2 CSN pins, ie. 2 SPI slaves, defined:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay#L84"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v4.0.99-ncs1/boards/shields/seeed_xiao_round_display/seeed_xiao_round_display.overlay#L84&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>