<?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>Transfer large data 2 board nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26104/transfer-large-data-2-board-nrf52840</link><description>Hello!
I use 2 board nrf52840! I want to transfer large data ( 1~2MBytes) from board1 to board2 with wire to connect. Can have solution for me? (SPI I2C or uart).</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Oct 2017 08:43:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26104/transfer-large-data-2-board-nrf52840" /><item><title>RE: Transfer large data 2 board nrf52840</title><link>https://devzone.nordicsemi.com/thread/102873?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 08:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8591039-ca0c-4c1e-ae80-39ff6d62b040</guid><dc:creator>Sigurd</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;SPI communication is always initiated by the SPI master. see &lt;a href="https://devzone.nordicsemi.com/question/139425/is-there-any-advantage-of-using-spi-interface-over-uart-while-connecting-nble51822-to-any-mcu/"&gt;this post&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Are you getting any error codes? See &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;this post&lt;/a&gt; on how to debug.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data 2 board nrf52840</title><link>https://devzone.nordicsemi.com/thread/102871?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 14:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:254086e2-5a37-4970-923d-35d8a2cbc6f3</guid><dc:creator>MainOFF</dc:creator><description>&lt;p&gt;I know in the example. Slave will response when master send data to it. But I don&amp;#39;t know :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Can slave response( transmit data of slave) to master without receive data from master? (independent with master).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When I transmit 200 bytes from master to slave. Slave receives and response &amp;quot; Nordic&amp;quot; string well. But If I transmit consecutive 10 packet( 200 bytes in each package) . Slave seems can&amp;#39;t receives. am I correct? And how to do that? ( send  consecutive package from master to slave) ?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data 2 board nrf52840</title><link>https://devzone.nordicsemi.com/thread/102870?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 14:40:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36bf43ac-8e35-4d46-9d6e-bd6ab8b42b66</guid><dc:creator>MainOFF</dc:creator><description>&lt;p&gt;No no. I use nrf52840 chip. Can I use SPI of nrf52840 without DMA?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data 2 board nrf52840</title><link>https://devzone.nordicsemi.com/thread/102869?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2017 09:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e44961-ceda-4c11-8ba3-d75c39307965</guid><dc:creator>Sigurd</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;That is correct. the SPI Slave Peripheral in the nRF52832 only has the EasyDMA feature, it does
not have the ArrayList(Autolog) feature like the SPI Master. This means that you will only be
able to send 255 bytes (since the TXD.MAXCNT is a 8-bit register) without involving the CPU.
After 255 bytes you have to update the pointers to the TX and RX buffers and start another
transaction.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You should be able to transmit from the slave to the master, at the same time the slave receive data from the master&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Both the SPI slave and master support bitrate of 8 Mbps.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data 2 board nrf52840</title><link>https://devzone.nordicsemi.com/thread/102872?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 13:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:767aa5c7-15dd-45bb-aecf-f26971cca10c</guid><dc:creator>MainOFF</dc:creator><description>&lt;p&gt;yep. I am working with them now. But&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;It&amp;#39;s data rate throughput very low. I only can transmit 255 bytes in each packet.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Slave spi can&amp;#39;t transmit data to master. ( i want to slave response master when it receive each 10kbytes).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If master transmit fast. slave can&amp;#39;t receive anything.
am I correctly? and have any solution to transmit 1~2 Mbytes from to nrf52 MCU? Please help me!&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer large data 2 board nrf52840</title><link>https://devzone.nordicsemi.com/thread/102868?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 13:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:893bbbe2-8173-46f9-939b-3d5b25467e86</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have examples for all the different serial interfaces you list(SPI, I2C and uart). You can find them in the SDK folder &lt;code&gt;SDK_folder\examples\peripheral&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;You can e.g. program one of the boards with the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/spi_master_example.html?cp=4_0_1_4_5_32"&gt;spi example&lt;/a&gt;, and the other board with the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/spi_slave_example.html?cp=4_0_1_4_5_33"&gt;spis example&lt;/a&gt;. When you connect the boards, you can observe that the board running the slave application receives data from the spi master board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>