<?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>PC-BLE-DRIVER-PY with NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83482/pc-ble-driver-py-with-nrf52840-dongle</link><description>Hello All, 
 I&amp;#39;ve had some success now connecting my 52840 Dev Kit with the NRF52840 Dongle and would now like to use the dongle as a receiver with the PC-BLE-DRIVER-PY library. 
 Unfortunately, while the 52840 dev kit appears in the heart_rate_collector</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jan 2022 08:57:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83482/pc-ble-driver-py-with-nrf52840-dongle" /><item><title>RE: PC-BLE-DRIVER-PY with NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/347091?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 08:57:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01e16158-999d-4e5f-a588-18c9187c2ffa</guid><dc:creator>DougMortime</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks so much, it finally works, even on the desktop now. Obviously I&amp;#39;ll need to set up Nordic_HRM for it to actually connect but the script runs fine, it even listed the TV nearby.&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/works.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To summarize for anyone who wants a stepped approach:&lt;/p&gt;
&lt;p&gt;1. Put the nRF52840 in your usb port and press the side button, its a small button above the push down button. Dongle will blink red light.&lt;/p&gt;
&lt;p&gt;2. Open nRF Connect for Desktop&lt;/p&gt;
&lt;p&gt;3. Open Bluetooth Low Energy&lt;/p&gt;
&lt;p&gt;4. Select the Dongle and press Yes to programming alert.&lt;/p&gt;
&lt;p&gt;5. Make sure you&amp;#39;ve installed PC-BLE-DRIVER-PY before you run the script (pip install pc-ble-driver-py)&lt;/p&gt;
&lt;p&gt;6. Go to the directory of the examples and then if using the Dongle &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;SPECIFY COMx (e.g COM Port 5 = COM5)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;/span&gt;7. Enjoy thanks to Vidar and the nRF team!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;DM&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER-PY with NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/347087?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 08:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abacb480-2899-4e32-96ec-956d65f6e6c7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Unlike DKs with the Segger Jlink interface, the nRF52840 Dongle&amp;#39;s COM port will not be discovered automatically by driver.&amp;nbsp; This means you have to specify the port number when invoking the script. &lt;/p&gt;
&lt;p&gt;Does the script work if you include the com port number as an argument like this:&lt;/p&gt;
&lt;p&gt;&amp;gt; python heart_rate_collector.py NRF52 COMx&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
[quote user="DougMortime"]However, I can&amp;#39;t seem to get the &amp;quot;nRF Connect USB CDC ACM&amp;quot; to show up. [/quote]
&lt;p&gt;I&amp;#39;m not sure why the naming is different, but I don&amp;#39;t think it should be a problem either. The main thing is that it shows up as a serial port.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER-PY with NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/347053?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 07:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ea89fe-fc14-41b8-82f6-1d924c336555</guid><dc:creator>DougMortime</dc:creator><description>&lt;p&gt;Just a quick update, I decided to try everything on my laptop, the only difference is that nRF connect is 3.9.1 and not the update 3.9.3 on my desktop. The following appears for my nRF52840 Dongle after programming:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/1172.device-manager.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;However, the problem persists when trying to run the pc-ble-driver-py examples.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/No-serial.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;When I reconnect to the desktop of course, it remains as before, USB Serial Device as expected.&lt;/p&gt;
&lt;p&gt;Finally, in case this helps, my dongle is PCA10059 2.0.1. I&amp;#39;m also running Python version 3.9.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;DM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER-PY with NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/347048?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 05:00:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5c040c6-f41f-41a3-bfdb-c0df8a193a07</guid><dc:creator>DougMortime</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;Yes I am using Windows 10. I have the nRF Connect DFU Trigger as shown below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/device-manager-2.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;However, I can&amp;#39;t seem to get the &amp;quot;nRF Connect USB CDC ACM&amp;quot; to show up. I pushed the reset button on the dongle, it flashed red, and then I programmed it with nRF connect ble app. It keeps appearing as USB serial device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER-PY with NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/347004?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 17:00:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d62ed7-53ef-4811-bcba-e6abcf97be22</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Are you using Windows 10? The COM port should have been named &amp;quot;nRF Connect USB CDC ACM&amp;quot; after the drivers were installed. There should also be another entry for the USB DFU trigger.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1641834032377v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER-PY with NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/346994?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 15:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2549e2a5-1382-4947-9537-992d94d4d0b9</guid><dc:creator>DougMortime</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for taking a look. I have programmed the connectivity, I have tried different versions, I can see my NRF52840 dongle on COM Port 5 device manger as shown below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Device-Manager.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;NRF connect shows the firmware being used below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5241.NRF-Connect.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;I can even run the python script for the serial_enum but nothing appears for the dongle. The 52840DK does appear, but the reason I bought the dongle was to try sending data from the 52840DK to the Dongle which is then read using the pc-ble-driver-py for a simple dashboard application.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/serial_5F00_enum.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure I&amp;#39;ve missed something, pc-ble-driver-py seems to be working for other people.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;DM&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER-PY with NRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/346978?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 15:03:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0836d4f-de87-4e37-920b-76ec11d1e67a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you programmed the connectivity FW to the dongle? This FW is needed to enable the USB stack and make the dongle appear as COM port in windows.&lt;/p&gt;
&lt;p&gt;The easiest way to program the connectivity FW is by using the&amp;nbsp; Bluetooth Low energy app in nRF connect for desktop. Here are the steps you can use to program it:&lt;/p&gt;
&lt;p&gt;1. Put the dongle into DFU mode by pressing the reset button (the red led will start to blink when it&amp;#39;s in dfu mode). The dongle should then appear as &amp;quot;Open DFU bootloader&amp;quot; in the device dropdown in the top left corner.&lt;/p&gt;
&lt;p&gt;2. Open the app, then click yes when prompted to program the device&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1641826393941v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3. Exit the app and verify that you have a new COM port.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>