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

cypress usb communication
Started by ●June 12, 2009
Reply by ●June 13, 20092009-06-13
>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 INpacket>its request is fulfilled only twice when double buffering is used andonly>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 readbut>all those bits are read only.. > >Please help me out. > >Thanks > > >Do I need to use Slave fifo or GPIF?? Regards Sanika
Reply by ●June 15, 20092009-06-15
>>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 amusing>>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 thatfirmware>>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.
Reply by ●June 15, 20092009-06-15
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.
