<?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 different PIDs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116669/usb-cdc-acm-different-pids</link><description>Hello, 
 I&amp;#39;m trying to use several USB CDC ACM instances with USB_DEVICE_STACK_NEXT. (nRF Connect SDK 2.8.0) 
 Is there a way to set the VID? 
 And is there a way to set different PIDs for every instance? 
 Many thanks for your answers in advance. 
 Kind</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Dec 2024 11:59:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116669/usb-cdc-acm-different-pids" /><item><title>RE: USB CDC ACM different PIDs</title><link>https://devzone.nordicsemi.com/thread/513187?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 11:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74e90c6c-ca82-4a40-9fdd-63105ba8e49e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Not sure I understand the question, but there are a few USB examples that have usbd_next_prj.conf that you can apply when building the project to use usb next. In general if you find inconsistencies it&amp;#39;s not always that the project was made at the same time, and sometimes things have evolved without the example being updated.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB CDC ACM different PIDs</title><link>https://devzone.nordicsemi.com/thread/513177?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2024 11:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61fb47e9-87c4-45b9-a027-1108711bb738</guid><dc:creator>Rantanplan</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;OK, I think I got it.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/usb/common/sample_usbd_init.c"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/usb/common/sample_usbd_init.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;is more like a template code, which I should copy to my application. There I can change the&amp;nbsp;&lt;span&gt;CONFIG_ZEPHYR_PROJECT_USB_VID definition.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But I&amp;#39;m a bit wondering, why the USB_STACK_NEXT sample is not using:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/usb/device_next/usbd_device.cs"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/usb/device_next/usbd_device.c&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Christian&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB CDC ACM different PIDs</title><link>https://devzone.nordicsemi.com/thread/513049?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 16:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66f54ae6-eaf9-4c38-aa43-57a8c4a45746</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Find where you have the&amp;nbsp;USBD_DEVICE_DEFINE() macro, it&amp;#39;s the third parameter.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB CDC ACM different PIDs</title><link>https://devzone.nordicsemi.com/thread/512862?ContentTypeID=1</link><pubDate>Sun, 01 Dec 2024 16:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3c64573-2ebe-4494-9053-88107a0d6145</guid><dc:creator>Rantanplan</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;many thanks for the answer.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m able to set the PID using CONFIG_SAMPLE_USBD_PID.&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;But I did not find an option to define the VID.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;In&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/usb/common/sample_usbd_init.c"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/usb/common/sample_usbd_init.c&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;CONFIG_ZEPHYR_PROJECT_USB_VID is defined, but cannot be overwritten using&amp;nbsp;prj.conf.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Many thanks for your answers in advance.&lt;/div&gt;
&lt;div&gt;Kind regards,&lt;/div&gt;
&lt;div&gt;Christian&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB CDC ACM different PIDs</title><link>https://devzone.nordicsemi.com/thread/511776?ContentTypeID=1</link><pubDate>Sun, 24 Nov 2024 09:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90a19a88-ffe3-44ce-8908-85b888d21888</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Vid and Pid can be set as a config option. Check build/zephyr/.config file (where all of those are collected together) but you should put these in prj.conf for the build.&lt;/p&gt;
&lt;p&gt;An USB device can have one VID:PID.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>