Forums

cypress usb communication

Started by sanika June 12, 2009
Hi,
I am using cypress FX2 usb chip. I have configured it as RENUM = 1 i.e.
all commands coming on endpoint0 are handled by firmware. Now I am using
EP6 as In, Bulk, 512 byte, Double buffered. When host requests an IN packet
its request is fulfilled only twice when double buffering is used and only
4 times when quad buffering is use. I think the problem is that firmware
has to decrement and make buffer non full whenever any packet is read but
all those bits are read only..

Please help me out. 

Thanks


>Hi, >I am using cypress FX2 usb chip. I have configured it as RENUM = 1 i.e. >all commands coming on endpoint0 are handled by firmware. Now I am using >EP6 as In, Bulk, 512 byte, Double buffered. When host requests an IN
packet
>its request is fulfilled only twice when double buffering is used and
only
>4 times when quad buffering is use. I think the problem is that firmware >has to decrement and make buffer non full whenever any packet is read
but
>all those bits are read only.. > >Please help me out. > >Thanks > > >
Do I need to use Slave fifo or GPIF?? Regards Sanika
>>Hi, >>I am using cypress FX2 usb chip. I have configured it as RENUM = 1 i.e. >>all commands coming on endpoint0 are handled by firmware. Now I am
using
>>EP6 as In, Bulk, 512 byte, Double buffered. When host requests an IN >packet >>its request is fulfilled only twice when double buffering is used and >only >>4 times when quad buffering is use. I think the problem is that
firmware
>>has to decrement and make buffer non full whenever any packet is read >but >>all those bits are read only.. >> >>Please help me out. >> >>Thanks >> >> >> > >Do I need to use Slave fifo or GPIF?? > >Regards >Sanika >
Please help me...I am totally confused.
On Jun 13, 4:52=A0am, "sanika" <sanika.s...@gmail.com> wrote:

> Do I need to use Slave fifo or GPIF??
Both modes should be workable with proper programming. Choosing one generally depends on what you are trying to accomplish. If you need to move a lot of data fast, use one of the fifo modes. If you just need to do a little interaction now and then, the GPIF is probably easier to get working.