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: Video data through USB

Hello All,

I am interfacing a color CMOS sensor with DM365 EVM. I would like to transmit the video to the PC using USB after processing IPIPE and have the following questions:

1. what is the maximum possible bandwidth I can achieve if operated in ISO mode?

2. Is it possible to share full 4KB of FIFO to a single IN endpoint? The datasheet says triple buffering is not supported, what are the possible configurations to share FIFO among endpoints?

3. Can you please provide me a link to detailed user guide for using USB on DM365?

4. Is there any example code available on the device side and on the host side (API layer) on how to transmit and receive data over USB?

Thanks in advance for your help.

--

Best Regards

Arun

 

 

 

  • 1.  There is much good information with regards to driver features/limitations/performance in the driver data manual accompanying the build.  You can either find it in the DVSDK installation under PSP_XX_XX_XXX directory or for DM365 DVSDK 2.10.00.18, at this link http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/mv_lsp_2_10/02_10_00_14/index_FDS.html

    2. I do not believe this is possible, nor do I think you will want to do this as you do not want to limit yourself to using a single endpoint.  Our drivers likely do not implement giving 4K FIFO to single end-point; if you are really interested in this approach, I can certainly investigate more on this for you, but just keep in mind this will likely involve you re-writing a portion of the driver.  I have tried looking at the code and it seems quite complex.

    3. I am not sure if this is what you are looking for: http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=sprued2c

    4. Unfortunately, I am not aware of any examples provided by TI.  We do adhere to Linux industry standards hence you are likely to find lots of examples on the internet.  When it comes to USB interface and our driver data manual referred to in 1 describes some of the family of devices we support (HID, mass storage...).

  • Hello Juan,

    Thank you for providing the sprued2c document link it seems very useful.

    I will take some time to go through the documents and try to reuse the existing functionality (double buffering). rewriting a portion of driver will be considered if we do not get the required throughput.

    I think I can find some examples on the internet on developing usb drivers on linux.

    Thank you for your help.

    --

    Best Regards

    Arun