I have a question about device descriptor settings

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
YaIs_283501
Level 3
Level 3
First like given

I am trying to create a combined device of dual CDC and mass storage class in USBUART component of Psoc5lp.

I am using the USBUART_SerialNumString function to set the USB serial number but I can not set it.

Is there anything wrong with the device descriptor settings?

The device descriptor registers the following three things for reference, and it is possible to set the USB serial number for 1 and 2 using the USB UART_SerialNumString function.

1. Dual CDC 2. Single CDC 3. Dual CDC and MSC

0 Likes
1 Solution

Hi,

You can try using USB UART_SerialNumString function with the composite project available at this link:

https://www.hackster.io/hima/designing-psoc4200l-usb-composite-device-364a37

If you are unable to change USB serial number, then it may not be possible to do so with multiple classes having Composite device with the API.

View solution in original post

4 Replies
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Hello,

You need not to give IAD for MSC since it has only one interface.

Thanks,

Ankita

0 Likes

thank you for advice.

Is there nothing to do with the fact that the USB descriptor settings and the USB serial number can not be rewritten?

0 Likes

Hi,

You can try using USB UART_SerialNumString function with the composite project available at this link:

https://www.hackster.io/hima/designing-psoc4200l-usb-composite-device-364a37

If you are unable to change USB serial number, then it may not be possible to do so with multiple classes having Composite device with the API.

thank you for your advice!

I'll continue investigation.

0 Likes