<?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>nRF52840 dongle usb cdc acm</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85185/nrf52840-dongle-usb-cdc-acm</link><description>Hello I am trying to get the usb cdc acm module to work for the nRF52840 dongle. However, the example is made for the dev kit. I flashed the dongle with the example anyways and nothing happened. I have attempted to configure it to the dongle but to no</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Mar 2022 09:35:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85185/nrf52840-dongle-usb-cdc-acm" /><item><title>RE: nRF52840 dongle usb cdc acm</title><link>https://devzone.nordicsemi.com/thread/358149?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 09:35:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e631650-b180-47e1-8202-8270d23dcc8b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The data is retrieved through the app_usbd_cdc_acm_read() function. In the example, the received data is just being copied into the &amp;#39;m_rx_buffer&amp;#39; variable, but you can change this to make it copy the data to some other buffer if you want. Another example of this is the USB ACM event handler in the &lt;span&gt;&lt;a title="USBD BLE UART Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/usbd_ble_uart_example.html?cp=8_1_4_6_50_1"&gt;USBD BLE UART Example &lt;/a&gt;&lt;/span&gt;&lt;span&gt;project which fills up an application buffer to be transmitted over BLE.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle usb cdc acm</title><link>https://devzone.nordicsemi.com/thread/357802?ContentTypeID=1</link><pubDate>Sun, 13 Mar 2022 21:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:996acd18-e11c-428e-a8e2-78ea4b6fa266</guid><dc:creator>Joseph91</dc:creator><description>&lt;p&gt;Hello again Vidar. I had another question for you.&amp;nbsp; With your help I was able to successfully get the dongle to write the data I wanted over serial.&amp;nbsp; However, I am having trouble using the read function.&amp;nbsp; I know it returns NRF_SUCCESS or PENDING depending on the status.&amp;nbsp; So I am a little confused on how to actually retrieve the data being the read.&amp;nbsp; I have tried to access the data from the buffer pointer, but that hasnt worked either.&amp;nbsp; Thanks for any help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle usb cdc acm</title><link>https://devzone.nordicsemi.com/thread/355364?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 17:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f90ec2cd-de22-4a03-8554-604833db1638</guid><dc:creator>Joseph91</dc:creator><description>&lt;p&gt;Sorry, you can disregard that last message. It was a mistake on my end, and I resolved the com port issue.&amp;nbsp; Thanks again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle usb cdc acm</title><link>https://devzone.nordicsemi.com/thread/355361?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 17:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59fc8f0a-202b-443c-af7f-49c9390f8fd0</guid><dc:creator>Joseph91</dc:creator><description>&lt;p&gt;Thank you so much for the help.&amp;nbsp; However, I was under the impression that using usb cdc acm would create a virtual com port that would be identifiable.&amp;nbsp; When I flashed the dongle, no com port was created.&amp;nbsp; The dongle shows up as com port 11 when first connected, but that port is no longer available once flashed.&amp;nbsp; My end goal is to have a python script running with pyserial that will receive the data sent by the dongle.&amp;nbsp; However, I need to specify which com port is associated with the dongle for the python script to receive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle usb cdc acm</title><link>https://devzone.nordicsemi.com/thread/355317?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 14:25:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05f604f0-82f2-42f7-9030-3a9c77e498cb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I made a &amp;#39;pca10059&amp;#39; configuration of the peripheral usbd_cdc_acm example for the dongle, please see attached. The main difference compared to the original &amp;quot;DK&amp;quot; configuration is that this one does not overlap with the pre-programmed MBR section (address 0x0 - 0x1000 in flash and 0x20000000 - 0x20000008 in RAM).&lt;/p&gt;
&lt;p&gt;The MBR section is required for the DFU support as Einar explains here: &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;USB CDC ADC project for the nrf52840 dongle&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF5_5F00_SDK17.1.0_5F00_usbd_5F00_cdc_5F00_acm.zip"&gt;devzone.nordicsemi.com/.../nRF5_5F00_SDK17.1.0_5F00_usbd_5F00_cdc_5F00_acm.zip&lt;/a&gt;&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>