<?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>miso-pull-up propety desappear since SDK 2.4.0, so how to enable pull up for spi in the .dts file ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104299/miso-pull-up-propety-desappear-since-sdk-2-4-0-so-how-to-enable-pull-up-for-spi-in-the-dts-file</link><description>Hi, 
 I used miso-pull-up property in the .dts of my custom board for the spi. Since sdk 2.4.0, this property does not exist any more, how to enable the pull up ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Oct 2023 08:46:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104299/miso-pull-up-propety-desappear-since-sdk-2-4-0-so-how-to-enable-pull-up-for-spi-in-the-dts-file" /><item><title>RE: miso-pull-up propety desappear since SDK 2.4.0, so how to enable pull up for spi in the .dts file ?</title><link>https://devzone.nordicsemi.com/thread/448461?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 08:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae6a3321-c7ec-457e-baff-03611604a3f2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Pull-up&amp;nbsp;should be applied with the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/zephyr/build/dts/api/bindings/pinctrl/nordic,nrf-pinctrl.html"&gt;bias-pull-up&lt;/a&gt;&amp;nbsp;property now after pinctrl was introduced in SDK version 2.0.0, please see&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/nrf/migration/migration_guide_1.x_to_2.x.html#pin-control-transition"&gt;Pin control transition&lt;/a&gt;&amp;nbsp;for more details.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
	spi1_default: spi1_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(SPIM_SCK, 1, 15)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MOSI, 1, 13)&amp;gt;;

		};
		group2 {
			psels = &amp;lt;NRF_PSEL(SPIM_MISO, 1, 14)&amp;gt;;
			bias-pull-up;
		};
	};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>