<?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>Non-blocking access to SD Card in nrf connect sdk? (SPIM/DMA/DiskAccess)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112751/non-blocking-access-to-sd-card-in-nrf-connect-sdk-spim-dma-diskaccess</link><description>Hello! 
 
 im trying to write chunks of bytes to an sd card in a non blocking style. One possibility im pursuing is to use SPIM, where the actual writing is done by DMA-Controller and wont block the CPU. I access the sd card from DiskAccess from zephyr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jul 2024 12:49:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112751/non-blocking-access-to-sd-card-in-nrf-connect-sdk-spim-dma-diskaccess" /><item><title>RE: Non-blocking access to SD Card in nrf connect sdk? (SPIM/DMA/DiskAccess)</title><link>https://devzone.nordicsemi.com/thread/493160?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 12:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:378f7843-f09e-4a4a-81d5-b3b6b658027c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No, as far as I&amp;#39;m aware, we don&amp;#39;t have a Nordic module outside of what Zephyr already offers for this,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Non-blocking access to SD Card in nrf connect sdk? (SPIM/DMA/DiskAccess)</title><link>https://devzone.nordicsemi.com/thread/492887?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 07:52:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6aed2897-92de-4775-8d2c-974ee3af6444</guid><dc:creator>danib18</dc:creator><description>&lt;p&gt;Hello Jared, thank you for responding.&lt;br /&gt;&lt;br /&gt;Yes, i&amp;#39;m referring to the DiskAccess implementation. Through this module, spim is used but waits for the completition of the spi transfer, blocking the cpu doing other tasks.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Is there a module of Nordic capable of using spim with sd cards without blocking the writes available or planned?&lt;br /&gt;&lt;br /&gt;As statet above, im using nRF Connect SDK version 2.7.&lt;br /&gt;&lt;br /&gt;Kind regards&lt;br /&gt;Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Non-blocking access to SD Card in nrf connect sdk? (SPIM/DMA/DiskAccess)</title><link>https://devzone.nordicsemi.com/thread/492433?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 11:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c311d08-d736-4aaf-b304-ef1dc0dadb02</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]I access the sd card from &lt;a href="https://docs.zephyrproject.org/latest/services/storage/disk/access.html"&gt;DiskAccess &lt;/a&gt;from zephyr, but this &amp;quot;path&amp;quot; only allows normal spi interactions which will block the CPU.&amp;nbsp;[/quote]
&lt;p&gt;Can you elaborate on that, where does it specify this? Looks like it&amp;#39;s using file system which I think should be compatible with SPIM. Or were you referring to how the DisckAccess lib is implemented?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also what nRF Connect SDK version are you using?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>