<?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>spi slave status</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5083/spi-slave-status</link><description>I am using the SPI Slave port in the nRF51822 and am always transferring 20 bytes. No matter what I do, it seems that the status register in the IRQ says that I got a TX buffer over-read and a RX buffer overflow errors (0x3). During every IRQ I write</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Jan 2015 14:20:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5083/spi-slave-status" /><item><title>RE: spi slave status</title><link>https://devzone.nordicsemi.com/thread/17869?ContentTypeID=1</link><pubDate>Mon, 12 Jan 2015 14:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb8e123b-bfe4-4f6e-a6d5-34adb8b7dfe6</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Daniel&lt;/p&gt;
&lt;p&gt;If you are using the spi_slave_example in the SDK, the buffer size of both RX and TX buffers is 16 bytes. So if you transfer 20 bytes from master to slave, then you will get an overread status. Can this be the problem?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 13.1.2014&lt;/strong&gt;
What is the buffer size in your case? What happens if you increase the buffer size to something larger than 20 bytes?  According to the nRF51 Ref manual v3.0, the reason for the overread error is that the SPI master clocks out more data than the buffer size of the SPI slave, i.e. MAXTX. The buffer is adjusted my modifying the value of the TX_BUF_SIZE constant in the spi_slave example in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>