<?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>NRF52832 SPI （master） SCLK  ：SPI send   data  some byte  sometimes there are only seven signals</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64584/nrf52832-spi-master-sclk-spi-send-data-some-byte-sometimes-there-are-only-seven-signals</link><description>Hi 
 My English is not very good, but I encountered a problem that could not be solved. Please forgive me if there is any improper expression in grammar. 
 When SPI sending data, sometimes there are only seven signals. 
 SDK_16.0.0.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Aug 2020 02:48:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64584/nrf52832-spi-master-sclk-spi-send-data-some-byte-sometimes-there-are-only-seven-signals" /><item><title>RE: NRF52832 SPI （master） SCLK  ：SPI send   data  some byte  sometimes there are only seven signals</title><link>https://devzone.nordicsemi.com/thread/263512?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 02:48:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:450bb9cf-1789-414b-97d3-d3231711af8e</guid><dc:creator>lxjc</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you very much！Add this code , ncrease the logic sampling rate ,That&amp;#39;s not a problem right now. I&amp;#39;m testing it&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 SPI （master） SCLK  ：SPI send   data  some byte  sometimes there are only seven signals</title><link>https://devzone.nordicsemi.com/thread/263511?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 01:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6063821-214c-492c-91a3-bffd7a1c4da2</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Try this &lt;em&gt;after&lt;/em&gt; init:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    APP_ERROR_CHECK(nrf_drv_spi_init(&amp;amp;spi, &amp;amp;spi_config, spi_event_handler, NULL));
    // Boost drive to MOSI and MCLK to sharpen clock edges and timing
    nrf_gpio_cfg(RC522_SPI_MOSI_PIN, NRF_GPIO_PIN_DIR_OUTPUT, NRF_GPIO_PIN_INPUT_CONNECT, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_H0H1, NRF_GPIO_PIN_NOSENSE);
    nrf_gpio_cfg(RC522_SPI_CLK_PIN,  NRF_GPIO_PIN_DIR_OUTPUT, NRF_GPIO_PIN_INPUT_CONNECT, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_H0H1, NRF_GPIO_PIN_NOSENSE);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The reason is likely that the logic analyser/&amp;#39;scope is hiding information from you, the edges are really not as sharp as displayed and the timing is too sloppy with S0S1 drive levels at 1MHz. I posted a similar response here&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63389/strange-mosi-behaviour-on-spi2-mode-0-data-not-ready-on-sampling-clock"&gt;strange-mosi-behaviour-on-spi2&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>