<?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 master transaction SDK V10.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40025/spi-master-transaction-sdk-v10-0</link><description>Hi everyone, 
 I used SPI interface to access a external flash with page size 256 bytes. 
 I found I can&amp;#39;t access full page, because the maximum of one SPI transaction is 255 bytes. 
 I need 260 bytes (include command and data) in one SPI transaction</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Oct 2018 10:35:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40025/spi-master-transaction-sdk-v10-0" /><item><title>RE: SPI master transaction SDK V10.0</title><link>https://devzone.nordicsemi.com/thread/155291?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 10:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c01d8b0-ddae-4232-b340-4320817bc94a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately the SPI driver is limited to a length parameter of size uint8_t. This limit comes from the MAXCNT register size of 8 bit on SPIM peripheral (with EasyDMA support) on nRF52832.&lt;/p&gt;
&lt;p&gt;If using legacy SPI peripheral on nRF51822, you should be able to extend the length parameters to 16 bit.&lt;/p&gt;
&lt;p&gt;I have attached modified drivers that you can try. Note that there is not guards preventing it from being used with SPIM peripheral, so please use with care.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1533326a5d054d5991d94340135e2776/nrf_5F00_drv_5F00_spi.c"&gt;devzone.nordicsemi.com/.../nrf_5F00_drv_5F00_spi.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1533326a5d054d5991d94340135e2776/nrf_5F00_drv_5F00_spi.h"&gt;devzone.nordicsemi.com/.../nrf_5F00_drv_5F00_spi.h&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>