<?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 CDC ACM sending one byte at a time SDK V16</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61847/usb-cdc-acm-sending-one-byte-at-a-time-sdk-v16</link><description>I&amp;#39;m using the USB CDC ACM example to write a message to a com port. I can receive messages fine except there is one problem. I am receiving the characters one character at a time. For example, I am sending: &amp;quot;This is a welcome message!\r\n&amp;quot; to the terminal</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jun 2020 10:58:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61847/usb-cdc-acm-sending-one-byte-at-a-time-sdk-v16" /><item><title>RE: USB CDC ACM sending one byte at a time SDK V16</title><link>https://devzone.nordicsemi.com/thread/253254?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 10:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f8c1f2d-5b85-48df-bb1e-400f8bb265fd</guid><dc:creator>nick_berg</dc:creator><description>&lt;p&gt;Hey Edvind,&lt;/p&gt;
&lt;p&gt;Sorry for the late response.&amp;nbsp;After modifying the project for the board PCA10059 the example works fine. I am receiving the string&amp;nbsp;&amp;quot;Timeout number: x&amp;quot; where x is the number of timeouts of the timer you set starting at 0. No anomalies in how I receive the text.&lt;br /&gt;&lt;br /&gt;I tested sending&amp;nbsp;UART data on a different dev-kit, the CC3220S Launch XL&amp;nbsp; from Texas Instruments. I experienced the same problem where if is send data as soon as the port is opened, every character is interpreted as if it had &amp;quot;\n\r&amp;quot; behind it. This problem stops however after the initial message (on startup) is sent, so i guess it has something to do with either micro-controller startup, drivers or puTTY. It is not a real problem and since waiting 0.1 sec before sending the initial message solves my problems I wont spend anymore time on it.&lt;/p&gt;
&lt;p&gt;Thanks for the help and the quick replies!&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB CDC ACM sending one byte at a time SDK V16</title><link>https://devzone.nordicsemi.com/thread/252234?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 14:07:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9b46e0f-9750-4207-9d91-4e43eb07ae75</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am sorry. I forgot to attach it. My mistake.&lt;/p&gt;
&lt;p&gt;Attached now:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-589fe8b29cb44d53a538549e6cf8ba93/usbd_5F00_cdc_5F00_acm_5F00_test.zip"&gt;devzone.nordicsemi.com/.../usbd_5F00_cdc_5F00_acm_5F00_test.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BR,&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 CDC ACM sending one byte at a time SDK V16</title><link>https://devzone.nordicsemi.com/thread/252152?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 11:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6b09c55-2403-441f-9030-704677a0f4ab</guid><dc:creator>nick_berg</dc:creator><description>&lt;p&gt;Hey Edvin, thank you for your answer. I was unable to find any attached project in your message, if you meant the download on this page:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fusbd_cdc_acm_example.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fusbd_cdc_acm_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is a dead link. I do use putty and modified the keyboard settings to match the ones here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_cli.html#lib_cli_terminal_settings"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_cli.html#lib_cli_terminal_settings&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The other settings were already correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB CDC ACM sending one byte at a time SDK V16</title><link>https://devzone.nordicsemi.com/thread/251985?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 13:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a949e4c6-1446-43d8-8c43-dd3ef73ff55d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please check the attached project (SDK16.0.0). Just unzip it in the same location as the unmodified usbd_cdc_acm example. It should send a USB message every second. Does it print that one character on each line in your USB terminal as well?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If yes, can you please try to use Putty, and follow the settings the link &amp;quot;Terminal settings&amp;quot; on this page:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/usbd_cdc_acm_example.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/usbd_cdc_acm_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&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 CDC ACM sending one byte at a time SDK V16</title><link>https://devzone.nordicsemi.com/thread/251803?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 01:09:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70069d1b-13c6-4ee6-8c2a-811a055956c9</guid><dc:creator>nick_berg</dc:creator><description>&lt;p&gt;I guess it just needs time to initialize. I am sending as soon as the com port is opened by the user. I added a delay of 100ms before the message is sent. This does not interfere with user experience in any way. Messages after this initial period are sent without a problem. Is there any way to check if this initialization is done? I usually rather not use delays.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>