How to pass (USB3CV test )UVC descriptor test with multiple format descriptor with same sub type ?

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

cross mob
kir_4703346
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

When multiple format descriptors are configured continuously having  same sub type, CV test fails

Sample:

Using Y8 and Y16 format as format 1 and format 2 respectively.. No other formats used. In this configuration CV test fails with error in Input header descriptor as 

INFO Input Header found an invalid Format or Frame Descriptor
FAIL (UVC: 6.3.31) Input Header Descriptor found an invalid Format/Frame descriptor.
INFO Input Header found a duplicate Still Image Descriptor
FAIL (UVC: 6.3.33) Input Header Descriptor found an invalid Still Image Descriptor.

 

Uncompressed Format Descriptor Test Errors:

INFO Uncompressed Video Format found an invalid Video Frame Descriptor : type=0x24, subtype=0x04
FAIL (UVC: 6.10.8) Uncompressed Video Format Descriptor found invalid Uncompressed Video Frame Descriptor. 
INFO Uncompressed Video Format Descriptor found duplicate Frame Indexes.
FAIL(UVC: 6.10.9) Uncompressed Video Format Descriptor found duplicate Frame indexes.
INFO Uncompressed Video Format Descriptor found duplicate Frame Indexes.
INFO Uncompressed Video Format Descriptor bNumFrameDescriptors does not match the number of Frame Descriptors found.
FAIL (UVC: 6.10.10) Uncompressed Video Format Descriptor bNumFrameDescriptors does not match the number of Descriptors.
 
Uncompressed Video Frame Descriptor error:
INFO Uncompressed Video Format found an invalid Video Frame Descriptor
FAIL (UVC: 6.10.8) Uncompressed Video Format Descriptor found invalid Uncompressed Video Frame Descriptor.
0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

The problem here is not about multiple formats but about Y16/Y8 format. Please see

https://community.cypress.com/t5/USB-Superspeed-Peripherals/USB-compliance-Test-fails-with-error-in-...

Regards

Hemanth

View solution in original post

0 Likes
4 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

Can you please try YUY2 GUID just for compliance test. It is given below:

0x59,0x55,0x59,0x32, /* GUID used to identify streaming-encoding format: YUY2 */
0x00,0x00,0x10,0x00,
0x80,0x00,0x00,0xAA,
0x00,0x38,0x9B,0x71,

Regards

Hemanth
0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

The problem here is not about multiple formats but about Y16/Y8 format. Please see

https://community.cypress.com/t5/USB-Superspeed-Peripherals/USB-compliance-Test-fails-with-error-in-...

Regards

Hemanth
0 Likes

Checked it... CV test fails even with multiple format descriptor with MJPEG too 

Format descriptor 1 - MJPEG (subtype -0x06) 

Format descriptor 2 - MJPEG (subtype -0x06)

Uncompressed format descriptor 3 - YUY2 (subtype 0x04)

Whereas,

Format descriptor 1 - MJPEG (subtype -0x06) 

Uncompressed format descriptor 2 - YUY2 (subtype 0x04)

Format descriptor 3- MJPEG (subtype -0x06)

CV test passed

Thanks,

Kiruthikka

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Kiruthikka,

In your above post difference between failure and successful descriptor configuration is just the order in which formats are defined. So you say that if the order is changed from MJPEG, MJPEG, YUY2 to MJPEG, YUY2, MJPEG CV test passes. Can you please attach both versions of descriptor files(having MJPEG and YUY2) - the one which fails and the one which passes?

Regards,

Hemanth
0 Likes