Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jinfeng-zhuang opened this issue Oct 29, 2021 · 1 comment

Comments

@jinfeng-zhuang
Copy link

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.

@iliasam
Copy link
Owner

iliasam commented Oct 29, 2021

"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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants