<?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>Running Multiple USB CDC ACM ports simultaneously</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118482/running-multiple-usb-cdc-acm-ports-simultaneously</link><description>Is it possible to emulate COM 4 ports over nRF USB using CDC ACM device class? I was able to get 3 working but when I added 4th one it didn&amp;#39;t worked out. Is there any 
 limitation in the hardware or software side for the same? 
 
 My dts overlay looks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Feb 2025 10:16:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118482/running-multiple-usb-cdc-acm-ports-simultaneously" /><item><title>RE: Running Multiple USB CDC ACM ports simultaneously</title><link>https://devzone.nordicsemi.com/thread/521269?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 10:16:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fede7a6-11ed-4bf9-9717-e6ed48c79fd6</guid><dc:creator>narangmayank</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure about other USB class but CDM ACM require 2 IN endpoints per instance. So max we can have is 3 only. I&amp;#39;m closing this ticket since I got the answer, Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Multiple USB CDC ACM ports simultaneously</title><link>https://devzone.nordicsemi.com/thread/520738?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 14:03:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfb80993-7922-4373-bb19-22fd697133f5</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The hardware only have a limited number of endpoints available, but I would expect it could support more than 3, is there any other USB class than CDC?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Multiple USB CDC ACM ports simultaneously</title><link>https://devzone.nordicsemi.com/thread/520709?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 12:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e38871-898a-4126-8106-637ec93a7ac2</guid><dc:creator>narangmayank</dc:creator><description>&lt;p&gt;I changed back the console to uart, got this error output which says failed to enable usb, I think thats why I&amp;#39;m not able to see any COM port.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;*** Booting nRF Connect SDK v2.8.0-a2386bfc8401 ***&lt;br /&gt;*** Using Zephyr OS v3.7.99-0bc3393fb112 ***&lt;br /&gt;[00:00:00.363,525] &amp;lt;inf&amp;gt; cdc_acm_echo: Starting App...&lt;br /&gt;[00:00:00.363,586] &amp;lt;err&amp;gt; usb_nrfx: invalid endpoint index/address&lt;br /&gt;[00:00:00.363,586] &amp;lt;err&amp;gt; usb_nrfx: invalid endpoint index/address&lt;br /&gt;[00:00:00.363,586] &amp;lt;err&amp;gt; usb_nrfx: invalid endpoint index/address&lt;br /&gt;[00:00:00.363,616] &amp;lt;err&amp;gt; usb_nrfx: invalid endpoint index/address&lt;br /&gt;[00:00:00.363,616] &amp;lt;err&amp;gt; usb_nrfx: invalid endpoint index/address&lt;br /&gt;[00:00:00.363,616] &amp;lt;err&amp;gt; usb_nrfx: invalid endpoint index/address&lt;br /&gt;[00:00:00.363,647] &amp;lt;err&amp;gt; usb_nrfx: invalid endpoint index/address&lt;br /&gt;[00:00:00.363,647] &amp;lt;err&amp;gt; usb_descriptor: Failed to validate endpoints&lt;br /&gt;[00:00:00.363,647] &amp;lt;err&amp;gt; usb_descriptor: Failed to fixup USB descriptor&lt;br /&gt;[00:00:00.363,647] &amp;lt;err&amp;gt; usb_device: Failed to configure USB device stack&lt;br /&gt;[00:00:00.363,677] &amp;lt;err&amp;gt; cdc_acm_echo: Failed to enable USB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Multiple USB CDC ACM ports simultaneously</title><link>https://devzone.nordicsemi.com/thread/520703?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 12:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2465dc7c-2982-4df6-bb8b-8cb41b0ed140</guid><dc:creator>narangmayank</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This doesn&amp;#39;t help. Are you aware of any such limitations of emulating multiple COM ports?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using following usb conf,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_STDOUT_CONSOLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USB_DEVICE_STACK&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USB_DEVICE_PRODUCT&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;Zephyr CDC ACM sample&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USB_DEVICE_PID&lt;/span&gt;&lt;span&gt;=0x0001&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SERIAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CONSOLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USB_CDC_ACM&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_INTERRUPT_DRIVEN&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_LINE_CTRL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mayank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Running Multiple USB CDC ACM ports simultaneously</title><link>https://devzone.nordicsemi.com/thread/520690?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 11:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f6a6d8-3019-474a-901c-aca520adca74</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I havent tried it, but if you enable:&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_LOG_MODE_IMMEDIATE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_RESET_ON_FATAL_ERROR=n&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There is no error or fault?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>