<?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>usb audio mic send data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89359/usb-audio-mic-send-data</link><description>hi , 
 I&amp;#39;m testing this example sdk17.1\examples\peripheral\usbd_audio\pca10056\blank\arm5_no_packs. 
 I tested the microphone and the headphone separately. 
 For microphone devices, I found that data could only be sent successfully if the recorder on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Jul 2022 12:11:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89359/usb-audio-mic-send-data" /><item><title>RE: usb audio mic send data</title><link>https://devzone.nordicsemi.com/thread/378709?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 12:11:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1afd27d-f2f2-4a2a-a84d-dae7863b63ac</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the update. Then I will consider this case resolved &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: usb audio mic send data</title><link>https://devzone.nordicsemi.com/thread/378694?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 11:15:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84ebd0a5-2a3b-4021-b668-8c1248c1929d</guid><dc:creator>Judge</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your advice. I don&amp;#39;t have a better way. I just use the method you mentioned before.&amp;nbsp;I will try my best to use NCS in future new projects.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;div id="qb-sougou-search" style="display:none;"&gt;
&lt;p&gt;搜索&lt;/p&gt;
&lt;p class="last-btn"&gt;复制&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: usb audio mic send data</title><link>https://devzone.nordicsemi.com/thread/378692?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2022 11:10:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:957d273f-86af-48db-b753-ccfeb2c82d77</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;The USB developer didn&amp;#39;t have any more input on this unfortunately. Were you able to find a workaround?&lt;/p&gt;
&lt;p&gt;For future projects I would recommend having a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt; rather than then nRF5 SDK. The nRF5 SDK is more or less deprecated at this point, and any new features or improvements will be added to the nRF Connect SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: usb audio mic send data</title><link>https://devzone.nordicsemi.com/thread/374504?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2022 10:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a12b6fee-eb45-448d-8cbc-066002303c41</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tested the sample myself and came to the same conclusion. It doesn&amp;#39;t seem like any event is forwarded to the application when recording is enabled on the host side, the only difference is whether or not you receive the INVALID_STATE error (8) when trying to send microphone data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will check with the USB developer if he has some input on this, but possibly this was an oversight on the driver side.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A possible workaround is to attempt to send microphone data at regular intervals using an app_timer callback, and open up for continuous transmission once you don&amp;#39;t get the INVALID_STATE error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>