- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I added the GPIF Designer example - "ImageSensorInterface.cydsn"'s header file in UVC example - "cyfxuvcinmem". I also loaded CyFxGpifConfig and start the state machine.
But, I don't know how to get the image data from DMA buffer and transfer to Endpoint0. Is there any sample code or document I could refer ?
1. Should I create thread0 and therad1 ?
2. Should I count tick by myself for line valid?
3. How to get the image data from DMA buffer ?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
EP0 is control endpoint. Why do you want to transfer the image data through EP0?
Please add more information on what you're trying to achieve so that we can understand the requirement better.
Regads,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry.
My question is how to get image data. Is any sample code or document to describe it ?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"USBVideoClassBulk" and "USBVideoClass" example projects should give you an idea on UVC class.
"SlaveFifoAsync" example project should give you an idea on transfering the data on GPIF side to USB side.
Regards,
sai krishna.