<?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 Sampling Rates</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33394/usb-audio-sampling-rates</link><description>What frequencies for USB Audio are supported in the NRF52840?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Sep 2019 20:38:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33394/usb-audio-sampling-rates" /><item><title>RE: USB Audio Sampling Rates</title><link>https://devzone.nordicsemi.com/thread/210238?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 20:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1944e8e-1d3e-48f4-8d78-636a35f895b4</guid><dc:creator>Or</dc:creator><description>&lt;p&gt;Can you please post the code you have that does what you mention here ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Audio Sampling Rates</title><link>https://devzone.nordicsemi.com/thread/184392?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 18:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dee8a1e-ca4a-4bfd-bb8d-98db66c17c90</guid><dc:creator>lCannon</dc:creator><description>&lt;p&gt;Starting with the USB audio example, I removed the USB headphone device to just have the microphone.&amp;nbsp; The sof events for the microphone were piggy backing off the headphone events so with the headphone removed, the microphone needed an sof interrupt handler registered.&amp;nbsp; Also, I changed the channels to one and the mic terminal channel config to only the left front.&amp;nbsp; I have software that outputs a nice sounding sine wave at 1 KHz with the example&amp;rsquo;s 48000 Hz sapling rate.&amp;nbsp; However, when I change the sampling rate to use any of the other standardized frequencies that are supported, the audio has severe artifacting.&amp;nbsp; I would think it should work fine with the change being the pitch of the generated sine wave.&amp;nbsp; Are there other changes required other than the frequency specified in the microphone audio format description that I am missing?&amp;nbsp; The only standard sampling rate that seems to work without an issue is the 48 KHz.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Audio Sampling Rates</title><link>https://devzone.nordicsemi.com/thread/168579?ContentTypeID=1</link><pubDate>Tue, 29 Jan 2019 22:53:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aa0344f-ac4f-483b-8a6e-1e21335c426a</guid><dc:creator>cyberluke</dc:creator><description>&lt;p&gt;Hi, any example for implementing this? At least partial USBHid plus firmware advice, which way to go in terms of NRF5 SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Audio Sampling Rates</title><link>https://devzone.nordicsemi.com/thread/128610?ContentTypeID=1</link><pubDate>Tue, 17 Apr 2018 10:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dfd632a-0eca-4e50-93a4-7249dadf8a74</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;That should be fine, as long as you use the &amp;quot;standardized frequencies&amp;quot;, like 16/32/44.1/48.&lt;/p&gt;
&lt;p&gt;You can find more info on the USB audio class here:&amp;nbsp;&lt;a href="http://www.usb.org/developers/docs/devclass_docs/"&gt;http://www.usb.org/developers/docs/devclass_docs/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Audio Sampling Rates</title><link>https://devzone.nordicsemi.com/thread/128534?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 17:53:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:528fc447-41de-431f-9e32-fa2a10d7535f</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;Should there be any trouble then in decreasing the frequency?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Audio Sampling Rates</title><link>https://devzone.nordicsemi.com/thread/128455?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 12:06:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9555a230-a523-464e-b776-901603bb3d1a</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 USB device (USBD) controller on nRF52840 implements a full speed USB device function that meets 2.0 revision of the USB specification.&lt;/p&gt;
&lt;p&gt;This means that USBD peripheral is 2.0 compliant, but has a limitation of 12 MBit PHY (full speed physical layer).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The USB audio class for full speed devices supports stereo, up to 48 kHz sampling rate, as described in this article:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.edn.com/design/consumer/4376143/Fundamentals-of-USB-Audio"&gt;https://www.edn.com/design/consumer/4376143/Fundamentals-of-USB-Audio&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>