<?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 transfer buffer length</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30368/nrf52840-spi-transfer-buffer-length</link><description>Hi, 
 Im using NRF52840 with SDK 14.2. Currently trying to use SPI to read a large amount of data. Currently, the SDK is limiting the array buffer size to 255. My understanding is that for NRF52832, the max TXD.MAXCNT are limited to 255 because of easyDMA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jun 2019 13:20:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30368/nrf52840-spi-transfer-buffer-length" /><item><title>RE: NRF52840 SPI transfer buffer length</title><link>https://devzone.nordicsemi.com/thread/193692?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2019 13:20:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:816acb83-f4f5-4d61-9e42-279a6fbfa139</guid><dc:creator>AlexW</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am using SDK 15.3 and function&amp;nbsp;&amp;nbsp;nrf_drv_spi_transfer and the SPI buffer length are still limited to 255 (unit8_t).&lt;br /&gt;Unfortunately changing the type to uint16_t in the function definition does not work. SPI transmissions larger that 255 byte still won&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;Can you suggest what I have to change to get it work?&lt;br /&gt;&lt;br /&gt;I am using nrf52840 and nrf52832.&lt;br /&gt;&lt;br /&gt;Thanks, Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 SPI transfer buffer length</title><link>https://devzone.nordicsemi.com/thread/132632?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 06:13:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ea0a58c-ba92-4bbe-aef2-77b0727bed2b</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Transfers longer than 255 bytes can be realized using nrfx functions. It is not implemented in legacy driver.&amp;nbsp;I expect that changing buffer length in legacy driver may not be enough.&lt;/p&gt;
&lt;p&gt;For sure the newest revision of nrf52840 will have buffers 16 bytes long.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 SPI transfer buffer length</title><link>https://devzone.nordicsemi.com/thread/132612?ContentTypeID=1</link><pubDate>Mon, 21 May 2018 20:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eee99424-4c16-4651-9a54-b8ae428ec827</guid><dc:creator>alasknnj</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jarz"&gt;Jakub Rzeszutko&lt;/a&gt; is it possible to send more than 255 bytes now? The SPI transfer function still only accepts uint8_t. If I change that to uint16_t, should it work? I observed that all other transfer functions, which use the nrfx_spim_xfer_desc_t, use size_t instead.&lt;/p&gt;
&lt;p&gt;I also found&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21848/bug-report-spi-buffer-size-has-only-8-bit/85795#85795"&gt;here&lt;/a&gt;&amp;nbsp;that the engineering A has can&amp;#39;t be set with 16 bit for the&amp;nbsp;&lt;span&gt;TXD.MAXCNT register, is that really true? DOes that work for Rev 1?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 SPI transfer buffer length</title><link>https://devzone.nordicsemi.com/thread/120374?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 06:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a8150d7-2201-444e-8866-c622b384b88a</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes you can increase the size of your transfer buffer, we will update it in comming SDK15.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>