element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
STM32F4DISCOVERY Expansion Boards
  • Products
  • Dev Tools
  • STM32F4DISCOVERY Expansion Boards
  • More
  • Cancel
STM32F4DISCOVERY Expansion Boards
Forum UVC for STM32F429I Discovery Board
  • Blog
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
STM32F4DISCOVERY Expansion Boards requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 19 replies
  • Answers 1 answer
  • Subscribers 6 subscribers
  • Views 958 views
  • Users 0 members are here
Related

UVC for STM32F429I Discovery Board

Former Member
Former Member over 6 years ago

Hi,
I am developing a webcam like application with STM32F429I. I am using the discovery board for my development.
I wish to configure the USB 2.0 as a UVC device. I have instantiated the UVC code available at github.
I am successfully able to connect my kit to the PC, however the USB driver on the PC shows my device as a unknown device.
Kindly suggest if any driver is available to interface the board with the PC as UVC device.


Thanks & regards

P. Bharath Kumar

  • Reply
  • Cancel
  • Cancel
  • clem57
    0 clem57 over 6 years ago

    Microsoft Windows Windows XP has a class driver for USB video class 1.0 devices since Service Pack 2, as does Windows Vista and Windows CE 6.0. A post-service pack 2 update that adds more capabilities is also available.[4]Windows 7 added UVC 1.1 support. Support for UVC 1.5 is currently only available in Windows 8.[5] Most device manufacturers do, however, provide their own drivers tailored to the capabilities of the product in question

    https://en.wikipedia.org/wiki/USB_video_device_class

    Looks like you need to provide your own if you do not follow one of the known standards above.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 6 years ago

    Hi,

     

    Maybe you have problems with the descriptor.

    I do not know if there is something similar in windows, but you can plug your board to an android device (ICS or higher) over the usb, or usb otg an take the information of your board with an app like this:

    https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator&hl=es

    or any other similar, and check if this information (taken from your usb descriptor) is like you expected, PID, VID, classes, interfaces, endpoints....

    If you find an app to do this in windows, even better.

    If the info is not correct try to change to an usb descriptor from an existing comercial product, this topic talks about it https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy%2est%2ecom%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fAny%20example%20on%20STM32F2xx%20with%20UVC&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=3768

     

    And be patient, usb is not trivial

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 6 years ago in reply to gihu
    Now the PC showing as a imaging device , but i didn't get anything. can you help me in isochronous transfer of data in high speed mode
    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 6 years ago in reply to Former Member

    I don't think that the 429 Discovery board supports High Speed USB - I've looked at the schematics and there is no High Speed PHY on the board.

     

    MK

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 6 years ago in reply to michaelkellett

    I'm sorry  -  I have no idea what your last question means but I'll guess:

     

    Read the datasheet for the processor page 39 of Rev 5 data sheet:

     

    The devices embed a USB OTG high-speed (up to 480 Mb/s) device/host/OTG peripheral.

    The USB OTG HS supports both full-speed and high-speed operations. It integrates the

    transceivers for full-speed operation (12 MB/s) and features a UTMI low-pin interface (ULPI)

    for high-speed operation (480 MB/s). When using the USB OTG HS in HS mode, an

    external PHY device connected to the ULPI is required.

     

    MK

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • gihu
    0 gihu over 6 years ago in reply to Former Member

    Hi,

     

    Which is your status?

    How did you get that the PC recognize the board as an imaging device?

    STM32F4Cube code changing the usb descriptor file?

     

    regards,

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 6 years ago in reply to gihu

    yes the PC showing my board as an imaging device.

    I have used STM32CUBE code only, but instead of existing class i have taken custom class and changed the descriptor according to UVC class.

    Now i am using isochronous data transmission to send my image data to PC.

    But i am not able to send the data.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 6 years ago in reply to Former Member

    http://www.beyondlogic.org/usbnutshell/usb4.shtml So you do not mind a few dropped frames and will only send data one way? Why not bulked transfers?

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 6 years ago in reply to clem57

    Either is okay for me. Ultimately my goal is to get video streaming.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 6 years ago in reply to Former Member

    You need updated PC driver to have matching endpoints. Did you do?

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
>
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube