<?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>Failed to read data i2s_read()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116870/failed-to-read-data-i2s_read</link><description>Hi there, 
 So I am using an adapted version of the echo sample for I2S in the nRF Connect SDK in VS Code. I only want to use the echo example in receiving mode, so I have removed the transmit data function calls. I am using the microphone SPH0465 with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Dec 2024 13:55:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116870/failed-to-read-data-i2s_read" /><item><title>RE: Failed to read data i2s_read()</title><link>https://devzone.nordicsemi.com/thread/513450?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2024 13:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2a29abb-077e-44c5-ac80-52b7ca079603</guid><dc:creator>umer</dc:creator><description>&lt;p&gt;Yes, in Master mode, that is the only route.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I have been successful in getting data in Slave mode though.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to read data i2s_read()</title><link>https://devzone.nordicsemi.com/thread/513441?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2024 13:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0ed12d4-41c9-47d7-9164-cc6d3413775d</guid><dc:creator>umer</dc:creator><description>&lt;p&gt;Update: I was able to successfully obtain the data and error -11 came no more. The cause was a loose&amp;nbsp;wiring on my breadboard.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The follow up issue I face is in regards to Trigger and Memory Management. Here is a separate thread for it:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/116973/i2s-memory-allocation-and-stop-start-trigger-failure"&gt;devzone.nordicsemi.com/.../i2s-memory-allocation-and-stop-start-trigger-failure&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to read data i2s_read()</title><link>https://devzone.nordicsemi.com/thread/513357?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2024 08:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35dd4f59-f5cf-43d2-933c-426c6a67e2fc</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I got a response from my colleague today, and our advice is to move to the nRF5340 or the nRF54L series. Those SoCs support 32bit sample widths as well as 24in32 and LRCK up to 96kHz/100kHz and SCK up to 8MHz. You&amp;#39;ll be able to use either of those as an I2S master in that case and no workaround is needed.&lt;/p&gt;
&lt;p&gt;See the &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/keyfeatures_html5.html"&gt;product specification for the nRF5340&lt;/a&gt; and the &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/keyfeatures_html5.html"&gt;preliminary datasheet for the nRF54L15&lt;/a&gt; for details. DKs are available at our distributors (&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF5340-DK"&gt;nRF5340 DK&lt;/a&gt;, &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF54L15-DK"&gt;nRF54L15 DK&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to read data i2s_read()</title><link>https://devzone.nordicsemi.com/thread/513264?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 15:44:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a039035-b700-492e-accf-0338afee3897</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for the clarification and for sharing the links to the previous DevZone posts. That helped me to understand what you have implemented so far.&lt;/p&gt;
&lt;p&gt;Since you are working with frequencies which are not following the I2S timing specification I am not sure how much we can help. But I have asked a colleague with more I2S expertise for a second opinion. I will return tomorrow to let your know what the feedback is.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to read data i2s_read()</title><link>https://devzone.nordicsemi.com/thread/513044?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 16:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e9e07b3-5448-4189-99c8-efa3eeb0d7c2</guid><dc:creator>umer</dc:creator><description>&lt;p&gt;Thanks for the response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using nRF52832 I2S module as a slave, providing it SCK and LRCK signals from the PWM channels. This is in light of a known issue with nRF52 devices not being able to sample I2S devices with 32 bit sample width. See these previous devzone posts:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/102468/i2s-32-bit-word-size-in-recent-sdk/449936?focus=true"&gt;link1&lt;/a&gt;,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/15713/i2s-32-bit-word-size/59992"&gt;link2&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SPH0465 is being used as a slave nevertheless.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to read data i2s_read()</title><link>https://devzone.nordicsemi.com/thread/513040?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 16:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f03bbb31-765c-42e6-b88e-0a84a67f3607</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Which device is configured as the I2S master in your setup? After checking out the datasheet for the SPH0645 I saw that it operates as an I2S slave, and from your description it also looks like the nRF52832 is configured as an I2S slave. See this sentence: &lt;/p&gt;
[quote user=""] I am using the microphone SPH0465 with the nRF52832 (slave mode).[/quote]
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>