<?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>Single Byte SPI transfer with SDK15.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45368/single-byte-spi-transfer-with-sdk15-2</link><description>I&amp;#39;m trying to implement the workaround for PAN58 on an nRF52832 device using SDK15.2 
 I&amp;#39;ve copied in the code from a previous post but I keep getting an error when I declare &amp;#39;NRF_SPIM_Type * p_spim = TCspi.p_registers;&amp;#39; in the set up. The error I get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Mar 2019 16:02:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45368/single-byte-spi-transfer-with-sdk15-2" /><item><title>RE: Single Byte SPI transfer with SDK15.2</title><link>https://devzone.nordicsemi.com/thread/178354?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 16:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a7c47cb-d36b-4774-a81e-4d3e4c421ec8</guid><dc:creator>W9</dc:creator><description>&lt;p&gt;I think the original post was Case ID: 116400 from 3 yrs ago. I saw the len check solution after I posted this request. I will try that solution.&lt;/p&gt;
&lt;p&gt;You can convert this to a public case. I did not intend for it to be private.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Wayne&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e9673c875ad4451eb508048207ff20aa/pastedimage1553529738484v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single Byte SPI transfer with SDK15.2</title><link>https://devzone.nordicsemi.com/thread/178353?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 13:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d9f0a99-df8b-4ab4-8b48-9235c8efdd31</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error makes sense, as there is no&amp;nbsp;p_registers or p_member members of the&amp;nbsp;nrf_drv_spi_t, as indicated by the error. Therefor, the code does not really make sense. Which post did you base this on?&lt;/p&gt;
&lt;p&gt;The simplest way to handle this is by calling the driver differently depending on weather you want to transfer 1 or more bytes, as suggested &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37565/sending-a-single-byte-over-spi/161768#161768"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>