Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > What bandwidth in bulkloop example?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



What bandwidth in bulkloop example?
Moderator:
RSKV

Post Reply
Follow this topic



What bandwidth in bulkloop example?

dv2 posted on 29 Nov 2012 1:27 AM PST
Top Contributor
113 Forum Posts

 Hi

I have 3 question about fx3. 

If i use bulkloop example for HD 720p, is bandwidth or speed enough ?

Why bulkloop example have not GPIFdesigner project file?

What case need GPIF desiner?

 




Re: What bandwidth in bulkloop example?

Lumpi6 posted on 29 Nov 2012 02:13 AM PST
Top Contributor
213 Forum Posts

Hi

>> If i use bulkloop example for HD 720p, is bandwidth or speed enough ?

I am not sure how you like to use it, but I think the bandwidth depend on DMA buffer size and count.

>> Why bulkloop example have not GPIFdesigner project file?

because bulk loop just receive data from U-port (an USB OUT endpoint) and forward the data directly to U-port (an USB IN endpoint). It is a loop!!!

>> What case need GPIF desiner?

If you are using the GPIF interface. The data and control lines of the interface e. g. see UVC example or slave fifo examples.

regards,

lumpi



Re: What bandwidth in bulkloop example?

dv2 posted on 29 Nov 2012 04:39 AM PST
Top Contributor
113 Forum Posts

 Thanks advice,

You said like following

 >> Why bulkloop example have not GPIFdesigner project file?

because bulk loop just receive data from U-port (an USB OUT endpoint) and forward the data directly to U-port (an USB IN endpoint). It is a loop!!!

 

What if i use bulkloop(but make not loop) for video data receving,

I thnk that it can make more effectivly data transfertation that UVC.

Because UVC have redandancy overhead, so i think that this is more effectable way for bulkloop in endpoint with video port and out endpoint with host. 

 

What is your opinion?

 

 



Re: What bandwidth in bulkloop example?

Lumpi6 posted on 29 Nov 2012 06:12 AM PST
Top Contributor
213 Forum Posts

Hi,

sorry but I can not follow your description.

Bulkloop is a loop in DMA auto or manual mode. So the producer socket of the dma is connected to an OUT endpoint and the consumer socket is connected to an IN endpoint. So all what you send from host via the OUT endpoint will be mirrored back to the IN endpoint. In case of fx3 dma manual mode you have to commit in dma callback and in case of auto it works automatically in your application on fx3.

So how you connect the video port? What is your meaning of a video port?

Is it right, that it is any hardware which you like to connect to the GPIF interface?

thanks,

lumpi



Re: What bandwidth in bulkloop example?

dv2 posted on 29 Nov 2012 06:57 AM PST
Top Contributor
113 Forum Posts

 Bulkloop is a loop in DMA auto or manual mode. So the producer socket of the dma is connected to an OUT endpoint and the consumer socket is connected to an IN endpoint. So all what you send from host via the OUT endpoint will be mirrored back to the IN endpoint. In case of fx3 dma manual mode you have to commit in dma callback and in case of auto it works automatically in your application on fx3.

So how you connect the video port? What is your meaning of a video port?

Is it right, that it is any hardware which you like to connect to the GPIF interface?

thanks,

lumpi

 

---------------------------------------------------------------------------------------------------------------------------------

Thanks,  may be i have not totally understading bulkloop.

I mean that The Video ports are Hsync, Vsync, Data[7:0] of camera.

 

I think like that camera's output port pins (Hsync, Vsync, Data[7:0]) connect to FX3 GPIO pins.

Then, i read camera's output port pins (Hsync, Vsync, Data[7:0]) from FX3 GPIO pins by bulkloop mode.

 

But as your word, bulkloop is just switching receive data from U-port (an USB OUT endpoint) and forward the data directly to U-port (an USB IN endpoint). 

 

So, if i use video camera interface with fx3, i need GPIF DMA scheme(not bulk mode but slavefifo or etc..)

 

Is this correctly right my think?

 

 



Re: What bandwidth in bulkloop example?

Lumpi6 posted on 29 Nov 2012 08:21 AM PST
Top Contributor
213 Forum Posts

Yes, that's right.

You need slave fifo but for this you need additional a FPGA. Or you use the UVC GPIF II project and you make your own application around it. or you are using your own GPIF II project based on the UVC GPIF II,...

many possibilities but with a sensor you need the GPIF II interface.

regards,

lumpi



Re: What bandwidth in bulkloop example?

RSKV posted on 02 Dec 2012 09:58 PM PST
Cypress Employee
851 Forum Posts

Hi Dv2,

Please refer to the following application note:

AN75779 - Interfacing an Image Sensor to EZ-USB® FX3™ in a USB video class (UVC) Framework

http://www.cypress.com/?rID=62824

I hope this application note gives you a good start for implementing your application with FX3.

Thanks,

sai krishna.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20