<?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>nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75520/nrf52840-i2s-when-nrf52840-i2s-is-opened-to-read-data-it-will-occupy-all-resources</link><description>When I2S reads the digital audio sensor, when strat is turned on_ After I2S, the data can be read and recognized normally, but this action takes up the whole CPU occupancy rate, and other functions such as broadcast buttons can&amp;#39;t work. I don&amp;#39;t know what</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Dec 2025 01:58:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75520/nrf52840-i2s-when-nrf52840-i2s-is-opened-to-read-data-it-will-occupy-all-resources" /><item><title>RE: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/556194?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2025 01:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b19153-d97f-4f97-916d-48b6a5a2ae12</guid><dc:creator>Gyk</dc:creator><description>&lt;p&gt;I also encountered the same problem when using nRF52840. However, I didn&amp;#39;t read the i2s data but only sent the i2s data. When I enabled the transmission during the Bluetooth connection stage, it caused the Bluetooth connection to disconnect, and then it would disconnect again after the connection was established. The reason for the disconnection was 0x08. When I set the broadcast interval to 40ms, it also affected the i2s transmission. It seems that i2s and Bluetooth are competing for resources. Have you solved your problem? If you can help me, I would be very grateful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/360406?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 02:14:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a34d9408-6307-4111-86db-bf29a0468dd1</guid><dc:creator>Sunil vignesh</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon and xingye,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; I have same issue with reading the data from the i2s read.&lt;/p&gt;
&lt;p&gt;I want to know how to read the i2s line&lt;/p&gt;
&lt;p&gt;In the i2s_data_handler&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;strong&gt;p_released-&amp;gt;p_rx_buffer&lt;/strong&gt;&lt;/span&gt;; where data will arrive right?&lt;/p&gt;
&lt;p&gt;what will be the size of this pointer and how do i store this pointer value to the int16_t PCM[67200]; array&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am trying to do store the i2s data and then sending the stored data into i2s line&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/315127?ContentTypeID=1</link><pubDate>Mon, 14 Jun 2021 12:21:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f25895b3-665f-46d4-89d5-f3f9a2d41a9b</guid><dc:creator>Hilary Gugo</dc:creator><description>&lt;p&gt;Kindly check your inbox and reply i need your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/312308?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 08:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba1acf4f-8ed7-496d-9427-564ef28986d6</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;Could it be that NRF_LOG is enabled and blocking execution at your end?&lt;/p&gt;
&lt;p&gt;Please try setting NRF_LOG_ENABLED to &amp;#39;0&amp;#39; in your sdk_config.h and see if this has an impact on the execution time.&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: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/311998?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 08:53:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03dba3be-862d-4d52-9eef-3a7e9b81ab48</guid><dc:creator>xingye123</dc:creator><description>&lt;p&gt;I hope the manufacturer can do a small test, and use the SDK / nrf5_ SDK_ 17.0.0_ 9d13099/examples/ble_ peripheral/ble_ app_ / pca10056 / S140，Add IIS host test to the template in template&amp;nbsp; without stop_ IIS, like this, test whether it&amp;#39;s like what I said. Thank you very much,&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1622105599268v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/311982?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 08:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4423af3-52da-4f53-b4cc-659231739e40</guid><dc:creator>xingye123</dc:creator><description>&lt;div class="trans-left"&gt;
&lt;div class="trans-input-wrap"&gt;
&lt;div class="input-wrap" dir="ltr"&gt;
&lt;div class="textarea-wrap without-textarea-bg"&gt;&lt;/div&gt;
&lt;div class="input-operate"&gt;&lt;a class="operate-btn op-sound data-hover-tip" href="https://fanyi.baidu.com/###"&gt;&lt;span class="icon-sound"&gt;&lt;/span&gt;&lt;/a&gt;
&lt;div class="op-favor-container"&gt;&lt;span class="icon-favo"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="trans-right"&gt;
&lt;div class="output-wrap"&gt;
&lt;div class="output-mod ordinary-wrap"&gt;
&lt;div class="output-bd" dir="ltr"&gt;
&lt;p class="ordinary-output target-output clearfix"&gt;&lt;span class=""&gt;Nrf52832 is normal, we found that the two chips have different differences&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/311955?ContentTypeID=1</link><pubDate>Thu, 27 May 2021 06:00:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fccbb09-5ce1-4d6f-b6de-0e8b8b84e7a7</guid><dc:creator>xingye123</dc:creator><description>&lt;p&gt;When I reduce the sampling frequency, I can send broadcast events, but I can&amp;#39;t connect. I think it is interrupted by I2S transmission when I connect. However, I have adjusted the interrupt priority of I2S to 7, the lowest priority&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/311839?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 13:52:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22ff680a-dc22-48ee-bc19-7c4fd8314e0f</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;Do you have any spare GPIOs? You could try setting / clearing them in different functions to see where the CPU is stuck for longer periods.&lt;/p&gt;
&lt;p&gt;How many bytes are you sending over I2S?&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: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/311614?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 01:18:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6229d207-acc6-4fad-a105-85ca9efbfccb</guid><dc:creator>xingye123</dc:creator><description>&lt;p&gt;I thought so, but I don&amp;#39;t know what went wrong，&lt;/p&gt;
&lt;p&gt;as long as I2S is turned on_ start,static void data_ The handler function doesn&amp;#39;t handle anything, and there&amp;#39;s no way to broadcast,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1621991636496v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1621991663354v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1621991709328v3.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 I2S打开读取数据，会占用全部资源
When nrf52840 I2S is opened to read data, it will occupy all resources</title><link>https://devzone.nordicsemi.com/thread/311405?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 10:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8a5f7c5-edc6-482a-a3d6-20346f87a28f</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;The peripheral itself uses DMA for transferring, so it should not be blocking the CPU.&lt;/p&gt;
&lt;p&gt;How are you handling this in your application?&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></channel></rss>