<?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>Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64853/audio-transmission-from-microphone-to-smartdevice-using-nrf52840</link><description>Hi there. I am working on an application where i need to transfer audio signal from a microphone connected to the nRF52840 to a smartphone. Are there any working examples demonstrating this? Or is it totally impossible to do on this BLE module?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Aug 2020 08:57:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64853/audio-transmission-from-microphone-to-smartdevice-using-nrf52840" /><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/265250?ContentTypeID=1</link><pubDate>Wed, 19 Aug 2020 08:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa21d0a-0a09-4288-a4ea-defe61fa0e77</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Don&amp;#39;t think the example supports any other board than the dev kits. But you need to get some dev kits anyways if you intend to develop and actual product.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/265247?ContentTypeID=1</link><pubDate>Wed, 19 Aug 2020 08:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18ca1f7c-dfa3-4f04-be99-becab3097440</guid><dc:creator>Bluetoothy</dc:creator><description>&lt;p&gt;I will give that a try, unfortunately i am prototyping on the Arduino Nano BLE 33 Sense at the moment, not sure if i can test the throughput on this board? I assume its running mbed under the hood?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/265246?ContentTypeID=1</link><pubDate>Wed, 19 Aug 2020 08:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77285147-92cd-439f-93f1-7444d68a156f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;No, not really. The main variable is your local RF environment, and that is difficult to estimate.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You really need to investigate yourself. The throughput example in the SDK is set up so that you can measure the throughput between two DKs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/265117?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 13:12:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a985b5c-7cc3-4e0d-8074-f1718dc9ccbf</guid><dc:creator>Bluetoothy</dc:creator><description>&lt;p&gt;Makes sense, are there any theoretical values for the range vs. thoughput?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/265097?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 12:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c9dcc36-ed40-436e-99c7-d224a0dc4f71</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Not possible at 256kbps.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You will need a PA/LNA and the throughput will most likely be a fair bit lower.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264916?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 14:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1afd9b9-b081-4ecf-b08b-cb12f6b01c5c</guid><dc:creator>Bluetoothy</dc:creator><description>&lt;p&gt;How about the extended range (1400m) at 1mbps PHY?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264912?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 14:24:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a44ecd20-2fdc-4927-9de9-fe5c92933f3b</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;That&amp;#39;s certainly possible with any smartphone that has support for extended MTU, Data Length Extension, and 2mbps PHY. I think most smartphones can handle that throughput.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264788?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:52:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b21ee42-9879-42e3-b383-8f6b3799f4bf</guid><dc:creator>Bluetoothy</dc:creator><description>&lt;p&gt;Honestly, i haven&amp;#39;t calculated the throughput needed to stream the audio from the microphone. But if we assume 8kHz (this is application specific) samplerate with 16bit resolution on 1-channel, i would say that 256Kbps should be plenty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264785?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:41:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efaf68e7-5273-4ffc-a5d6-f4d50250f945</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Alright, I don&amp;#39;t know that much about smartphone app development so I can&amp;#39;t help much there, but both Android and iOS should have comprehensive guides on how to develop BLE apps.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I suggest you use a custom service, but the Nordic UART Service can get you up and running the fastest. There are probably several open-source projects that have built smartphone apps based on the NUS.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;See the /examples/ble_peripheral/ble_app_uart.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What kind of throughput do you need?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264779?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2edf47c8-0846-44e6-82fb-5184a533b100</guid><dc:creator>Bluetoothy</dc:creator><description>&lt;p&gt;Makes good sense. Well, &amp;quot;somewhat real-time&amp;quot;, a bit of delay is acceptable (1-3s), but otherwise we are trying to transmit it somewhat fast.&amp;nbsp;The best reference is a&amp;nbsp;a walkie-talkie application, not a music player.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264778?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:29:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c4adfd2-0c92-497d-adf1-e2198368f072</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Aah.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Well, there&amp;#39;s no defined protocol or GATT service for LE audio yet. I suggest you create a Service and Characteristic that can send data at high throughput, and on the smartphone an app that can receive the data stream through the custom Service/Characteristics. Do you intend to stream it in real-time or are you gonna just write to a file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264774?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40691eff-ba47-4741-969d-998684351e45</guid><dc:creator>Bluetoothy</dc:creator><description>&lt;p&gt;So a good portion of patience is needed. Is it realistic to expect anything to be ready by Q1 2021?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264773?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecf1afc7-30b5-46c0-b523-24f33b05b405</guid><dc:creator>Bluetoothy</dc:creator><description>&lt;p&gt;Hi haakansh. Thanks for the reply. I already use the SoC with a microphone. That is not really the challenge. What i am seeking is information about transmitting audio signal from the microphone through BLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264772?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:23:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d6ac2b2-bff2-4b73-9e43-d3155ec5cd0a</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The finalization of LE Audio specification is scheduled for Q4 2020 I think, we&amp;#39;ll have a demo ready.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264771?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:22:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93dbb52e-eefe-4099-a0f3-0d42f3c2c442</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The nRF52840 has both &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/i2s.html?cp=4_0_0_5_10"&gt;I2S — Inter-IC sound interface&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/pdm.html?cp=4_0_0_5_14"&gt;PDM — Pulse density modulation interface&lt;/a&gt; peripherals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Audio transmission from microphone to smartdevice using nRF52840</title><link>https://devzone.nordicsemi.com/thread/264770?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 08:14:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba646b02-1d6e-4292-831a-ba3258e3a6cc</guid><dc:creator>Bluetoothy</dc:creator><description>&lt;p&gt;Which also brings the next question up, is Bluetooth LE Audio around the corner?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>