<?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>Bluetooth and USB at the same time on nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23270/bluetooth-and-usb-at-the-same-time-on-nrf52840</link><description>Hello, 
 Do you have a soft device that integrates both Bluetooth and USB on the nRF52840 ? 
 I want to program a firmware that uses both and I&amp;#39;m wondering if you have ready-to-use examples on that ? 
 Thanks 
 Benoît</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 May 2019 11:14:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23270/bluetooth-and-usb-at-the-same-time-on-nrf52840" /><item><title>RE: Bluetooth and USB at the same time on nRF52840</title><link>https://devzone.nordicsemi.com/thread/185440?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 11:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a4c7fbf-d497-4c99-a71d-ef8d6d41376e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you debugged the application, to see if any error codes are reported? If this does not help, please post a new question where you describe your issue in more detail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth and USB at the same time on nRF52840</title><link>https://devzone.nordicsemi.com/thread/185329?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 06:25:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5531802-d2f3-4a67-a6fa-223ee94171d8</guid><dc:creator>shilpa</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
[quote userid="20698" url="~/f/nordic-q-a/23270/bluetooth-and-usb-at-the-same-time-on-nrf52840/91513"]There is a limitation when the softdevice is in use, the USB power event (detect plug/unplug) can&amp;#39;t be used[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We also face the same issue.We are using sdk 15.2.0,nrf52840,s140, pca10056. In our application we found this issue. We need to use USB for retrieving data by using OTG .When we retrieve data more than one times (by inserting and removing the USB each time) after some attempts the device doesn&amp;#39;t advertise any more and will never restart from its state. Could&amp;nbsp; you figure out the solution for this issue?If so, please provide a suggestion.&lt;/p&gt;
&lt;p&gt;If we disable softdevice when USB is connected and enable it after retrieving data via USB port, could it help in this advertising issue?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Shilpa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth and USB at the same time on nRF52840</title><link>https://devzone.nordicsemi.com/thread/91512?ContentTypeID=1</link><pubDate>Sat, 30 Sep 2017 19:05:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b05cfe22-a420-430f-8e24-ca992caef063</guid><dc:creator>Don Schoppe</dc:creator><description>&lt;p&gt;Nicolas, I just discovered this myself (SDK14) when trying to merge the the USB CDC ACM logic from the &amp;quot;peripherals/cli&amp;quot; example into the &amp;quot;ble_peripheral/ble_app_template&amp;quot; example. I want to use CLI/logging over CDC ACM when a user connects a USB cable to my &amp;quot;BLE peripheral&amp;quot; device.&lt;/p&gt;
&lt;p&gt;As a quick test I tried to compile and run the CLI example (standalone) after re-defining USBD_POWER_DETECTION in main.c to &amp;quot;false&amp;quot;. But that breaks the example it seems.&lt;/p&gt;
&lt;p&gt;Is anybody actually using CLI/logging over USB CDC ACM together with the BLE SoftDevice?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth and USB at the same time on nRF52840</title><link>https://devzone.nordicsemi.com/thread/91513?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 13:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cc759d6-9c60-43e2-999a-2548ca6e2580</guid><dc:creator>Nicolas Brunner</dc:creator><description>&lt;p&gt;There is a limitation when the softdevice is in use, the USB power event (detect plug/unplug) can&amp;#39;t be used. But the USB power status can still be polled with &lt;code&gt;nrf_drv_power_usbstatus_get()&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth and USB at the same time on nRF52840</title><link>https://devzone.nordicsemi.com/thread/91511?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 20:37:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea6cb1df-9604-4b9f-a2a9-4600a1dc980f</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Yes, that&amp;#39;s how it should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth and USB at the same time on nRF52840</title><link>https://devzone.nordicsemi.com/thread/91509?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 14:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8becbead-5db1-4fc8-9c98-9593c6e5b798</guid><dc:creator>Beno&amp;#238;t</dc:creator><description>&lt;p&gt;Does it means that I can add a USB stack over a BT softdevice without facing compatibility issues ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bluetooth and USB at the same time on nRF52840</title><link>https://devzone.nordicsemi.com/thread/91510?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 12:36:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7763cb30-4e1f-4aea-85fe-a73c6e47bbf3</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;in what way do you think the USB driver is not compatible with the softdevice? All the Nordic drivers can be used with a softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>