<?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 lines skipping a bit on nrf52840dk using the stm lsm6dsv16x.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122077/miso-lines-skipping-a-bit-on-nrf52840dk-using-the-stm-lsm6dsv16x</link><description>Hey everyone. I am having an issue reading the WHO_AM_I register from the stm lsm6dsv16x. I am using the spi1 configuration as shown in the academy classes. I have very short cables. 
 The issue I get is. I am constantly reading 0x60, but I should be</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Jun 2025 22:40:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122077/miso-lines-skipping-a-bit-on-nrf52840dk-using-the-stm-lsm6dsv16x" /><item><title>RE: MISO lines skipping a bit on nrf52840dk using the stm lsm6dsv16x.</title><link>https://devzone.nordicsemi.com/thread/538321?ContentTypeID=1</link><pubDate>Thu, 05 Jun 2025 22:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce8449e-0452-436d-8ad1-175cf10bcff1</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Often traces such as those included in the post are misleading as they are not true signals but instead interpreted signals displayed as binary on a logic analyser&amp;nbsp; when in fact they are sloppy-edge signals with a finite rise- and fall-time, not square at all. Should an analogue display mode or better still an analogue oscilloscope be available this would become apparent. Worse, the logic analyser may not use the same voltage thresholds as the nRF52840 to determine the edge locations.&lt;/p&gt;
&lt;p&gt;However, no matter; the usual fix is to start by boosting the drive strength for /CS, SCK and MOSI to H0H1 (High-Drive) to get sharper edges (MISO doesn&amp;#39;t matter):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    spi2_default: spi2_default {
        group1 { psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 28)&amp;gt;,
                         &amp;lt;NRF_PSEL(SPIM_MOSI, 0, 29)&amp;gt;,
                         &amp;lt;NRF_PSEL(SPIM_MISO, 0, 31)&amp;gt;;
                 nordic,drive-mode = &amp;lt;NRF_DRIVE_H0H1&amp;gt;;
		};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/latest/build/dts/api/bindings/pinctrl/nordic,nrf-pinctrl.html"&gt;nrf-pinctrl.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>