iliasam / STM32_HOST_UVC_Camera

Example of connecting USB Web camera to STM32F4 USB HOST
http://we.easyelectronics.ru/STM32/zahvat-izobrazheniya-s-usb-kamery-pri-pomoschi-stm32.html
GNU Lesser General Public License v3.0
145 stars 66 forks source link

Need to compile for STM32 Cube IDE #2

Closed Ritesh236 closed 2 months ago

Ritesh236 commented 3 years ago

Hello,

I have tried to include and compile for STM32 Cube IDE successfully with some chances into reference example code.

But facing issue like not getting any USB Event even after connecting any USB Camera.

So, Does anyone has tried with STM32 Cube IDE to compile and test it successfully with any USB camera? If yes then let me know

Regards, Ritesh Prajapati

pauleffect90 commented 3 years ago

You need to:

  1. Make sure the camera works in FS mode.
  2. Open up usb ll driver and set the fifo size according to the linked article in description (translate from russian using google). Basically you need to make sure the usb fifo is big enough to accommodate your packets.