<?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>USB dongle nRF52840 USB CDC ACM receiving problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57219/usb-dongle-nrf52840-usb-cdc-acm-receiving-problem</link><description>Hello dear Nordic Semiconductor. I use one of your creation - nRF52840 USB dongle. I have troubles with using USB CDC ACM. I add ble stack to gather info about advertisement and wnat to send some data via USB CDC ACM. Sending is okay. But receiving data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Feb 2020 09:35:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57219/usb-dongle-nrf52840-usb-cdc-acm-receiving-problem" /><item><title>RE: USB dongle nRF52840 USB CDC ACM receiving problem</title><link>https://devzone.nordicsemi.com/thread/232267?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 09:35:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e9197d-0a5c-49b0-84cd-f9682377b3ad</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;When you are debugging, does the event originate from&amp;nbsp;cdc_acm_rx_block_finished() or&amp;nbsp;cdc_acm_endpoint_ev() in app_usbd_cdc_acm.c? Are you always sending the same 64 byte packets?&lt;/p&gt;
&lt;p&gt;What does your log look like? Can you try to enable&amp;nbsp;APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED (set it to one in sdk_config.h) and set&amp;nbsp;APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL to 4?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB dongle nRF52840 USB CDC ACM receiving problem</title><link>https://devzone.nordicsemi.com/thread/232142?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 16:26:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33490056-ca92-4162-84d0-080e71f1e58f</guid><dc:creator>Spartak</dc:creator><description>&lt;p&gt;So I debug it. the main question is for me why sometimes I see 64 bytes of packet and sometimes I receive byte by byte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB dongle nRF52840 USB CDC ACM receiving problem</title><link>https://devzone.nordicsemi.com/thread/232119?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 14:49:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb4f813f-5d7d-4665-8e1e-39fd5951c327</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please use the &amp;quot;insert&amp;quot; -&amp;gt; &amp;quot;Code&amp;quot; option when you want to attach source code, because this doesn&amp;#39;t strip away indents.&lt;/p&gt;
&lt;p&gt;How do you determine that you are missing events?&amp;nbsp;You need to debug your application to see what&amp;#39;s going on. Perhaps your application&amp;#39;s error handler triggers, and the device reset. But in order to find out, you need to debug the application, or to use the log. The reason I suspect that you haven&amp;#39;t done this is that you are using the dongle, which doesn&amp;#39;t have a debugger. I suggest that you consider getting your hands on an nRF52840 DK for the development. When you have som software that it working, you can run it on the dongle.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>