<?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>Using nRF52840 usb dongle with PyUSB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85744/using-nrf52840-usb-dongle-with-pyusb</link><description>Is it possible to communicate with the of nRF52840 through USB, for example using PyUSB? 
 If yes, is there any documentation that can help in this regard, e.g. documentation about the USB stack for the dongle 
 
 The dongle is connected to a Raspberry</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Mar 2022 12:31:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85744/using-nrf52840-usb-dongle-with-pyusb" /><item><title>RE: Using nRF52840 usb dongle with PyUSB</title><link>https://devzone.nordicsemi.com/thread/357937?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 12:31:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3af795e3-6c36-43b4-8c35-b607044e0ce2</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the USB CDC ACM driver in Zephyr on the nRF52840 dongle for&amp;nbsp;communicating through USB. There are some examples specifically for using this driver, such as Zephyr&amp;#39;s&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/samples/subsys/usb/cdc_acm/README.html"&gt;USB CDC ACM Sample Application&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/samples/subsys/usb/console/README.html"&gt;Console over CDC ACM UART Sample&lt;/a&gt;.&amp;nbsp;For an example where USB CDC ACM is used on the dongle you can check out&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/samples/openthread/cli/README.html"&gt;Thread: CLI&lt;/a&gt;. This is a Thread example, but USB CDC ACM can be selected as serial transport by activating the USB overlay extension, so it gives you an example on how to use this driver with the dongle. For more information about using USB CDC ACM I also suggest checking out&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/zephyr/reference/usb/uds_cdc_acm.html"&gt;USB device stack CDC ACM support&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>