This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365: Image data transfer over USB

Hello All,

My requirement is to transfer image data captured from the sensor using VPFE over USB to the host.

Data from the Sensor is Bayer RGB pattern. I customized vpfe, ccdc drivers and able to receive images from the sensor.

Currently I am storing them as youv files but I would like to transfer them to the host pc and try to stream continuous images.

I understand that there is usb_core in linux and an api is exported but don't know how to use it.

What are the drivers I need to use to fulfill my requirement?

Should I use uvcvideo driver? Is there any example code which does some data transfer between target and host using usb?

Any help/comments in this regard are greatly appreciated.

--

best regards

Arun

  • Hi Arun,

    I want to find out if you managed to transfer the data out?  I have an EVMDM365 board and am looking at ways to store the UYVY data directly to some medium without having to use the composite analog output and record it with a DVD recorder.  My board has ethernet, USB, SD/MMC, and EMIF-header interfaces that could probably be used.

    Thanks, Jinh T.

  • Arun, Jinh,

    Pl. refer to the EUCDK product.  It comes with UVC support tested on DM365.  You can use this as the basis for your need.

    regards

    swami

  • Hi swami,

    can you give me some pointers where to find demo/sample code for this if possible?

    I'm on my way to field trials so my dev system is packed up to go and my connection to the net is also goin down soon. Thanks, Jinh T.

  • Jinh,

    Pl. refer to the UVC gadget driver in the letest linux kernel for reference.

    regards

    swami