<?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>[ NRF52840 SPI EXAMPLE ] strange data received in spis</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95565/nrf52840-spi-example-strange-data-received-in-spis</link><description>Hi, I tried to run peripheral spi / spis examples on Nrf52840 with sdk 17.1.0 
 However I had problems with receiving data from master. 
 I expected to get &amp;quot;Nordic&amp;quot; every 200ms, but buffer was fiiled with different data. 
 
 Buffer data is not totally</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Jan 2023 08:52:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95565/nrf52840-spi-example-strange-data-received-in-spis" /><item><title>RE: [ NRF52840 SPI EXAMPLE ] strange data received in spis</title><link>https://devzone.nordicsemi.com/thread/404238?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 08:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd6a9640-228c-458d-98a6-1c0459f20e4c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you testing this both SPIS and SPIM on nRF52840 DK or is it a custom board? If it is custom board, then check if the GPIO pulls are configured correctly on the SPI lines.&lt;/p&gt;
[quote user=""]And&amp;nbsp;&lt;span style="color:rgba(255, 0, 0, 1);"&gt;why is the size of m_rx_buf larger than the size of TEST_STRING?&lt;/span&gt;[/quote]
&lt;p&gt;probably to receive extra end of line character? It does not harm to have extra space in the receive buffer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>