iliasam / STM32_HOST_UVC_Camera

Example of connecting USB Web camera to STM32F4 USB HOST

Home Page:http://we.easyelectronics.ru/STM32/zahvat-izobrazheniya-s-usb-kamery-pri-pomoschi-stm32.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The descriptor read by STM32 not same as read by PC, YUY2 not detected

jinfeng-zhuang opened this issue · comments

Hi
Thanks for your code, but while class started, always receive USB_OTG_GINTSTS_PXFR_INCOMPISOOUT interrupt and SOF interrupt. No frame received.
Another issue is descibe in title.

"descriptor read by STM32 not same as read by PC"
Looks like PC is using usb 2.0 (high speed), while STM32 supports only USB1.1 (full speed). Descriptors could be different for FS and HS mode. Some cameras do not work n FS mode correctly.
You can try to switch USB of your PC to USB1.1 in BIOS and check if camera could work in YUY2 in FS mode.