Hi, Thanks & regards P. Bharath Kumar |
Hi, Thanks & regards P. Bharath Kumar |
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¤tviews=3768
And be patient, usb is not trivial
You need updated PC driver to have matching endpoints. Did you do?
I have the PC drivers, that's how the PC detected my board as an UVC device(Imaging device).
Yes your right.
I need an ULPI to do high speed transmission.
Thank you so much.
Hi,
You need a software in the PC reading the same endpoints.
Which one are you using?
You can try VLC media player to connect to the imagging device detected, and see what happens.
But I think it is not just sending video from the board to the PC, I think that first there is a a deal between PC and the imaging device to stablish, resolution, video format, frame per second... And the functions that deal these issues are should be defined in the usb class (in this case your custom class). I have never used before uvc class, so sory for no further details
Regards,
Miguel
Not sure of software you use, but I bet you need to push data not pull data
My board is in device mode, and PC is in host mode. So PC should initiate the communication and ofcourse my board need to push data whenever it get a call from PC
Hi,
How is it going your project?
About the last issues, which is your video source?
If your problem is the video source, maybe you can try send get the code (rgb, yuv...) for a picture of the supposed video size, put into your code and keep on sending it as it is a video streaming.
By other way, are you sure you are sending the YUV, RGB or whatever data to the same endpoint that the software in the PC is reading?
Regards,
Miguel
Hi,
I am sending a static image to my PC now. If that transmitted then i will send the image data continuously.
But i am not able to send anything to my PC through end points.
Hi.I am having the same exact problem. Did you find a work around or solution&
Hi.I am having the same exact problem. Did you find a work around or solution&