<?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 sending single byte</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76741/spi-sending-single-byte</link><description>Hi, 
 I&amp;#39;m programming a nRF52832 for SPI communication with another device which requires some single byte TX/RX. After a lot of head-banging, I realized that the nRF52 was sending two bytes when asked to send one and that this was a recognized error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jun 2021 11:45:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76741/spi-sending-single-byte" /><item><title>RE: SPI sending single byte</title><link>https://devzone.nordicsemi.com/thread/317220?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 11:45:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b98ae84-bd00-466f-80f0-122f8eaa84b8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Noelle,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See Errata&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_58.html?cp=4_2_1_0_1_8"&gt;[58]&lt;/a&gt;. Y&lt;/span&gt;&lt;span&gt;ou could call &lt;a href="https://devzone.nordicsemi.com/support-private/support/272220/nrf_drv_spi_transfer"&gt;nrf_drv_spi_transfer&lt;/a&gt; with the last parameter set to the length which you are also trying to receive one byte. If you set the last parameter to 0, you should be able to transmitt single byte. If you want to do a single byte read, please follow the workaround in the errata.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>