<?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>Problem with serial communication between C# application and USB CDC ACM dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72390/problem-with-serial-communication-between-c-application-and-usb-cdc-acm-dongle</link><description>Hello, 
 I have been developing a serial C# application to work with the nrf52840 chip, initial development was done using the nrf52840 development kit which worked without any issue. After developing the whole thing, the DK was replaced with the dongle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Aug 2021 12:44:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72390/problem-with-serial-communication-between-c-application-and-usb-cdc-acm-dongle" /><item><title>RE: Problem with serial communication between C# application and USB CDC ACM dongle</title><link>https://devzone.nordicsemi.com/thread/323755?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 12:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d888a43c-6d5c-4c2e-8d94-c45cf2cd6f37</guid><dc:creator>Kaja</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;have you solved your problem?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Kaja&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with serial communication between C# application and USB CDC ACM dongle</title><link>https://devzone.nordicsemi.com/thread/299955?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 22:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3d431c6-ce82-4577-a9ed-2765b3345a27</guid><dc:creator>sethu</dc:creator><description>&lt;p&gt;Any help you can provide with this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with serial communication between C# application and USB CDC ACM dongle</title><link>https://devzone.nordicsemi.com/thread/298529?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 23:38:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5ef0d20-9834-491b-9f01-c129981731a1</guid><dc:creator>sethu</dc:creator><description>&lt;p style="text-align:justify;"&gt;Hey,&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;Sorry for the late reply, but I did take a look at the USB sniffer trace and the results are shown in the screenshots attached.&amp;nbsp;The shorter one is for the DK board, and it can be seen that the data is being transferred in bulk but with the dongle, the data is sent one byte at a time. Also, the time delay can be noticed for the Dongle while the DK has no time delay for the incoming message. I&amp;#39;m not sure what to make out of this data tbh. I tried changing the parameters on the c# app for serial connection but doesn&amp;#39;t really seem to make any difference. Also, when I connected it to the nRF USB connector side of the DK, the same delay as seen on the dongle was also observed there. This means as long as the data comes through the Jlink interface chip on the DK, the transfer seems to be fine without any delay but when it is connected directly to the nRF chip, the delay is present but only when used through the c# app. Furthermore, as I mentioned before, when I&amp;#39;m using Putty to talk to the Dongle and perform the same function the C# application does, I don&amp;#39;t see any delay even after analyzing the sniffer trace. Please do let me know if you would like a copy of the C# app and the firmware for reference.&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p style="text-align:justify;"&gt;Sethu&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/dongle_5F00_one.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/dk_5F00_two.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with serial communication between C# application and USB CDC ACM dongle</title><link>https://devzone.nordicsemi.com/thread/298055?ContentTypeID=1</link><pubDate>Fri, 05 Mar 2021 12:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1cecf82-ee3e-4ef4-b43c-807aebd35ad5</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Based on your descriptions it sounds like the issues are to be found at the C# end of things. Especially since there are no delays when using Putty. (I assume that Putty replaced your C# application there.)&lt;/p&gt;
&lt;p&gt;When using the nRF52840 DK, did you use UART through the interface MCU, or did you use USB (&amp;quot;nRF USB&amp;quot; connector on (bottom) long edge of the DK)?&lt;/p&gt;
&lt;p&gt;I find it very strange however that it should work without delay on the DK, but with 5 seconds delay (an eternity!) when using the Dongle.&lt;/p&gt;
&lt;p&gt;Do you have any USB sniffer traces that could shed some light on what might be the difference?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>