<?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>File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102791/file-transfer-from-sd-card-to-wifi-using-nrf5340-and-nrf7002---recommended-signal-wiring</link><description>The question is not only &amp;quot;software&amp;quot; related, it is also debating the hardware topology: 
 
 Part of a project&amp;#39;s goal is to transfer files stored in a uSD Card to an external client via WiFi (all with Zephyr). The controller is a nRF5340, and the WiFi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Aug 2023 13:53:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102791/file-transfer-from-sd-card-to-wifi-using-nrf5340-and-nrf7002---recommended-signal-wiring" /><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/442331?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 13:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a41d8d6-7ccd-4bbe-886e-1114bbd57342</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies for the long wait.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately, we do not have a sample that does exactly what you require at this time.&lt;/p&gt;
&lt;p&gt;We have an open PR for the download sample, where we are adding nRF7002 support. However, this is currently work-in-progress:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/11547"&gt;https://github.com/nrfconnect/sdk-nrf/pull/11547&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I would recommend disabling CONFIG_LOG and also disable CONFIG_DOWNLOAD_CLIENT_RANGE_REQUESTS to get better performance at this time. Reason for this is that the internal download thread is running on the same priority as the log thread, which will cause a performance hit.&lt;/p&gt;
&lt;p&gt;In addition, there is currently a progress-print that you can comment out in main.c:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/3a85b431d94137081e76ee48dce873ef8412211c/samples/net/download/src/main.c#L187"&gt;https://github.com/nrfconnect/sdk-nrf/blob/3a85b431d94137081e76ee48dce873ef8412211c/samples/net/download/src/main.c#L187&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Again, this PR is not currently optimized for speed and is a work-in-progress. The maintainer of the PR is aware of this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/441458?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 18:17:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b9d136e-394a-4949-ac99-3be6b252c6a1</guid><dc:creator>Bruno Saraiva</dc:creator><description>&lt;p&gt;Do you or any colleague has written a speed test for transferring SD card files via WiFi using 5340 and 7002? I wonder what the numbers would show and where the bottleneck would be...&lt;br /&gt;Unfortunately I really don&amp;#39;t have the time to learn to write such test, but being something relatively common, it would be useful for many other customers.&lt;br /&gt;We are proceeding with the design anyway, but aligning the expectations up front will be useful.&lt;br /&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/441203?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 14:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b2f8126-0f72-4fd0-9b6d-e2277a78ceda</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll need to involve the CPU in the process, but the payload also needs to be encapsulated through the TCP/IP stack as well.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/441187?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 13:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad5c8a49-077b-43ab-b368-b0158838b7b0</guid><dc:creator>Bruno Saraiva</dc:creator><description>&lt;p&gt;Ok then...&lt;br /&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;SDCard -&amp;gt; SPI -&amp;gt; DMA -&amp;gt; CPU RAM Buffer -&amp;gt;&lt;br /&gt;CPU RAM Buffer -&amp;gt; DMA -&amp;gt; QSPI -&amp;gt; nRF7002&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;br /&gt;&lt;/span&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/441179?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 13:28:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02343012-ce83-4714-95e3-a429d653ad9a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Bruno Saraiva"]&amp;quot;&lt;span&gt;SDCard -&amp;gt; SPI -&amp;gt; CPU DMA -&amp;gt; QSPI -&amp;gt; nRF7002&lt;/span&gt;&amp;quot;[/quote]
&lt;p&gt;We do not have generic DMA channels, so this is not possible, unfortunately.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/441166?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 13:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6044a9f4-2e8a-44a7-97b7-c4bd6587415e</guid><dc:creator>Bruno Saraiva</dc:creator><description>&lt;p&gt;Thank you for the comments and the links.&amp;nbsp; &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;br /&gt;I had no idea about this SD&amp;nbsp;license requirement!&lt;br /&gt;&lt;br /&gt;As for the original question, we will be adopting the only possible option:&lt;br /&gt;&amp;quot;&lt;span&gt;SDCard -&amp;gt; SPI -&amp;gt; CPU DMA -&amp;gt; QSPI -&amp;gt; nRF7002&lt;/span&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/441161?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 12:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:056520ea-ffd5-44ad-96c1-7a28b161d83d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The QSPI peripheral is targeted for NOR based flash operations on both nRF52840 and nRF5340, and will not work with an SD card.&lt;/p&gt;
&lt;p&gt;SD cards also require an additional license:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/74787/nrf5340-qspi-and-micro-sd/308517"&gt;RE: nRF5340, QSPI and micro SD&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/441038?ContentTypeID=1</link><pubDate>Sat, 12 Aug 2023 12:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd3504a6-17b1-4284-a6f3-6159f099a66c</guid><dc:creator>Bruno Saraiva</dc:creator><description>&lt;p&gt;Thanks for the quick feedback!&lt;br /&gt;&lt;br /&gt;Really no QSPI for SD allowed?? Do you have off hand any document reference to that?&lt;br /&gt;&lt;br /&gt;The current version of our product has SD Card, and I know that the traces were routed between the nRF5340 and the uSD as QSPI. Also, I can confirm that the product works (writing/reading lots of files to the uSD).&lt;br /&gt;But I was not involved in the software, so maybe my colleagues configured those pins as regular SPI instead and I never knew it...&lt;br /&gt;&lt;br /&gt;Or a separate point: do you know if the data transfer can be really &amp;quot;raw bytes&amp;quot; from the SD to the nRF7002, and the TCP packages are dealt inside that component, or is it handled by the code that runs inside the nRF5340?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: File transfer from SD Card to WiFi using nRF5340 and nRF7002 - recommended signal wiring</title><link>https://devzone.nordicsemi.com/thread/441017?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 18:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d88e470-27f6-42c8-b808-c41d0f2222af</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;You can&amp;#39;t use the QSPI peripherial with an SD card, so only method 2 is possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>