cypress usb communication

Jun 12, 2009 3 Replies

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


packet

only

but

Do I need to use Slave fifo or GPIF??

Regards Sanika

using

firmware

Please help me...I am totally confused.

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.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required