<?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>How to correctly setup nRF52840 Dongle USB communication with a connected PC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44827/how-to-correctly-setup-nrf52840-dongle-usb-communication-with-a-connected-pc</link><description>Hello! 
 We have been developing with the nRF52840 Dongle and want to implement a simple USB communication setup: 
 1) Plug the nRF52840 Dongle&amp;#39;s USB connector into a computer 
 2) The PC will run a PyUSB script that will send information to the nRF52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Mar 2019 19:26:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44827/how-to-correctly-setup-nrf52840-dongle-usb-communication-with-a-connected-pc" /><item><title>RE: How to correctly setup nRF52840 Dongle USB communication with a connected PC</title><link>https://devzone.nordicsemi.com/thread/176304?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 19:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4fb11a6-86c4-4015-911d-cbe308f0f999</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The closest USB example to what you are describing would be the&amp;nbsp;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/usbd_ble_uart_example.html?cp=4_0_0_4_5_50_1"&gt;usbd_ble_uart example&lt;/a&gt;. But instead of running a&amp;nbsp;PyUSB script, you would in this case most likely need to use&amp;nbsp;&lt;a href="https://pyserial.readthedocs.io/en/latest/pyserial.html"&gt;pySerial &lt;/a&gt;instead. To use the example on the dongle, change the preprocessor define from&amp;nbsp;BOARD_PCA10056 to&amp;nbsp;BOARD_PCA10059. You might find the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle Programming Tutorial&lt;/a&gt;&amp;nbsp;useful.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>