<?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>Store I2S data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36924/store-i2s-data</link><description>Hello! 
 I use I2S on nrf52832 custom board with microphone. 
 1. When data_handler function take place, I see a new data (p_data_received). The first question is: I can copy data from &amp;quot; m_buffer_rx_1&amp;quot; from function ( nrf_drv_i2s_start(m_buffer_rx_1,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Jul 2018 09:33:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36924/store-i2s-data" /><item><title>RE: Store I2S data</title><link>https://devzone.nordicsemi.com/thread/142116?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 09:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2baea3bf-6150-414a-b7a6-a06eae91f913</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If&amp;nbsp;my_sample_1 is a uint8_t variable, then the following code should do the trick.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;memcpy(&amp;amp;my_sample_1,p_data_received , (sizeof(uint8_t));&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Store I2S data</title><link>https://devzone.nordicsemi.com/thread/141748?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 16:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddd4cdc5-fb80-4195-a2d8-41e509c84052</guid><dc:creator>beliyd</dc:creator><description>&lt;p&gt;&lt;span&gt;p_data_received have data (not NULL, see right low corner), but variable my_samle_1 as you can see is NULL. I can not understand why&amp;nbsp;the assignment operation does not work.&amp;nbsp; I tried to use memcpy function to cope&amp;nbsp;p_data_received to other buffer but it is also don&amp;#39;t work, other buffer = NULL as a result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7380.copy_5F00_i2s_5F00_data.jpg" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Store I2S data</title><link>https://devzone.nordicsemi.com/thread/141739?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 15:19:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26ada125-b742-4dec-ac6e-7e9ad2419cce</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;and what is that supposed to show?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Store I2S data</title><link>https://devzone.nordicsemi.com/thread/141730?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 14:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0297ce16-2ad8-419a-a700-76cad06bb35f</guid><dc:creator>beliyd</dc:creator><description>&lt;p&gt;the pic under my message&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1754.copy_5F00_i2s_5F00_data.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Store I2S data</title><link>https://devzone.nordicsemi.com/thread/141727?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 14:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90c3675e-3363-4451-948e-6b7fbcb04f59</guid><dc:creator>awneil</dc:creator><description>[quote userid="67620" url="~/f/nordic-q-a/36924/store-i2s-data"] I can not copy data from&amp;nbsp;p_data_received to some other store[/quote]
&lt;p&gt;What do you mean by that?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="67620" url="~/f/nordic-q-a/36924/store-i2s-data"]the pic[/quote]
&lt;p&gt;what pic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>