cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f105 UVC host

cable gu
Associate II
Posted on May 17, 2018 at 09:07

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), 

0690X0000060KoSQAU.png

PKTSTS is 15.

By the way, the log on PC like below:

0690X0000060KoNQAU.png0690X0000060KohQAE.png0690X0000060KocQAE.png0690X0000060KomQAE.png0690X0000060KdMQAU.png0690X0000060KorQAE.png

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

Thanks!

0 REPLIES 0