<?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 COM Port Writer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105105/nrf52840-dongle-com-port-writer</link><description>Hello! I would like to know what are the steps to enable the nRF52840 dongle to act as a USB CDC ACM device which periodically transmits 3 integer values to a COM port on the system it is powered up by. 
 I would be really glad if you could provide the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Oct 2023 16:27:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105105/nrf52840-dongle-com-port-writer" /><item><title>RE: nRF52840 dongle COM Port Writer</title><link>https://devzone.nordicsemi.com/thread/452842?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2023 16:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce29b28-fe3a-4a63-9356-2fe1ff5bb4c3</guid><dc:creator>Theodorul</dc:creator><description>&lt;p&gt;Hello, thank you for your answer, but I went with a more rudimentary solution: I included the libraries which you also included and I then simply filled the uart fifo with the data which I needed to transmit.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle COM Port Writer</title><link>https://devzone.nordicsemi.com/thread/452767?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2023 11:31:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17df109e-4a6d-43c2-99f1-c1dc9c047c59</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Theodor,&amp;nbsp;&lt;br /&gt;Have you tested with the \zephyr\samples\subsys\usb\cdc_acm sample&amp;nbsp; ?&amp;nbsp;&lt;br /&gt;The sample use CDC ACM in UART interrupt driven mode. So if you want to send something you need to call the&amp;nbsp;uart_fifo_fill() in an interrupt handler.&amp;nbsp;&lt;br /&gt;The attached modification will print &amp;quot;test&amp;quot; every 2 seconds after the USB CDC port is opened.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4127430.main.c"&gt;devzone.nordicsemi.com/.../4127430.main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Check&amp;nbsp; how the timer is added and&amp;nbsp;uart_fifo_fill is called inside&amp;nbsp;my_expiry_function()&lt;br /&gt;It&amp;#39;s strongly suggested that you start your development with a nRF52840 Dev Kit, not the Dongle as the dongle is not for development.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>