Ways of configuration of Endpoints 2,4,6 and 8 in FX1/FX2LP

Question: What are the ways in which endpoints 2,4,6 and 8 be buffered?

 

Answer:

Large enpoints 2, 4, 6 and 8 can be configured in a variety of ways to match the requirement of the application.

  1.   All the end points, by default is doube buffered with a packet size of 512 bytes.
  2.   End point 2 can be double buffered or quad buffered for bulk end points( size 512 bytes). While assigned as a ISOC or an Interrupt end points ( size: 1024 bytes), it can be double buffered, triple buffered or quad buffered.
  3.   End point 6 can be double, triple and quad buffered for BULK end points. For ISOC or an interrupt endpoint ( size: 1024 bytes) , it can be upto be double buffered.
  4.   End point 4 and 8 can upto be double buffered for 512 byte bulk end points.

Buffering of the endpoints is controlled by bit 0 and 1 of EPxCFG register where x can be 2, 4, 6 or 8.