AnsweredAssumed Answered

STM32f105 UVC host

Question asked by cable gu on May 17, 2018

Hi guys, I have used stm32f105RC as host to connect to the UVC camera, now I have got some USB data on the PC, then I want to add this sequence to stm32f105RC project. But now, I can not GET_CUR and SET_CUR.

And the code is modified from the MSC class, my test sequence like below:

1.HOST_ENUMERATION(GET DESCRIPTOR)

2.HOST_SET_CONFIGURATION

3.HOST_SET_INTERFACE

4.HOST_GET_INFO

5.HOST_GET_MIN

6.HOST_GET_MAX

7.HOST_GET_RES

8.HOST_GET_DEF

9.HOST_GET_CUR(a1 81 00 02  00 02 02 00)

And run to step 9, error occurred at HCD_RXQLVL_IRQHandler(STM32Cube_FW_F1_V1.6.0), 

PKTSTS is 15.

 

By the way, the log on PC like below:

I hope if there is any one has some idea about this.

Thanks!

Outcomes