cypress usb communication

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

Reply to
sanika
Loading thread data ...

packet

only

but

Do I need to use Slave fifo or GPIF??

Regards Sanika

Reply to
sanika

using

firmware

Please help me...I am totally confused.

Reply to
sanika

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.

Reply to
cs_posting

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.