<?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>I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86141/i2s-audio-linein-data-read</link><description>Hello there, Thanks for writing an application layer for SGTL5000. https://github.com/NordicPlayground/nRF52-teensy-sgtl5000-audio 
 I&amp;#39;ve configured the SGTL5000 to source the audio from the line-in and used the uint32_t drv_sgtl5000_start_mic_loopback</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Apr 2022 13:28:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86141/i2s-audio-linein-data-read" /><item><title>RE: I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/thread/362105?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 13:28:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75db4063-bb3a-447f-99a1-5086506226b8</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I have solved that problem&lt;/p&gt;
&lt;p&gt;uint32_t * p_buffer&amp;nbsp; = (uint32_t *)p_released-&amp;gt;p_rx_buffer;&lt;/p&gt;
&lt;p&gt;basically this pointer p_buffer return the value with array so the size of i2s buffer size;&lt;/p&gt;
&lt;p&gt;like i read the p_buffer as&lt;/p&gt;
&lt;p&gt;p_buffer[buffer_size];&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/thread/360321?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 13:06:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9046ced4-f6eb-47a7-ad2e-c0d6ac2c4898</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Unfortunately I do not know the code, nor do I have the HW, and the example is provided as is. But I suggest you debug properly and describe here what you have found. With some luck, some community members may have some experience with this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/thread/360061?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 14:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f350a46f-513b-4185-a508-461e4f2ee411</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Can you help me in reading the i2s line data&lt;/p&gt;
&lt;p&gt;or the step that i followed in the i2s data read is correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/thread/360046?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 14:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:972011d9-abaf-4016-9426-bd810b033955</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I won&amp;#39;t be able to digg into this, but you write that &amp;quot;I was stuck in some where&amp;quot; so it seems there is room for more&amp;nbsp;debugging&amp;nbsp;in order to understand what actually happens (what is &amp;quot;stuck&amp;quot; where?). Unfortunately I do not have any more specific advice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/thread/359841?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 14:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52cc33f5-ce73-489f-aa72-48c851768646</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;While debugging , &lt;/p&gt;
&lt;p&gt;when i read this &lt;strong&gt;(uint32_t *)p_released-&amp;gt;p_rx_buffer;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;(uint32_t *)p_released-&amp;gt;p_tx_buffer; it gives address of the I2s TX / RX buffer&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and when i put *(uint32_t *)p_released-&amp;gt;p_rx_buffer; *(uint32_t *)p_released-&amp;gt;p_tx_buffer;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;it shows me some 32 bit value and it changes according to the wave i given ,as input.&lt;/p&gt;
&lt;p&gt;problem i faced is . i have stored the 32 bit values in a buffer and after complete the record . i want to play the audio. so i try to play the audio from that buffer but unfortunately i won&amp;#39;t play.&lt;/p&gt;
&lt;p&gt;I was stuck in some where&lt;/p&gt;
&lt;p&gt;may be way i read / write&amp;nbsp; the i2s is wrong?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/thread/359838?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 14:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c78877e-6dc2-4151-bbde-f158c4fbe4da</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I unfortunately do not have much input. Have you done any debugging? What have you learned from that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/thread/359835?ContentTypeID=1</link><pubDate>Thu, 24 Mar 2022 14:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21f10f1b-73eb-40b6-b788-c3b6db74ba64</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi Einar. have you check&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2S audio LINEIN data read</title><link>https://devzone.nordicsemi.com/thread/359603?ContentTypeID=1</link><pubDate>Wed, 23 Mar 2022 12:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa32ebcb-d0d0-405e-81f0-a54f1e943ab3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not have much to say on this unfortunately, as it is a very old and unofficial example. I suggest you convert this thread to public so that the community has a chance to look at it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>