cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

Hi,

   

I have a simple question:

   

How should we select data count in GPIF designer for switching sockets?  How is it related to DMA buffer size?

   

 

   

Thanks in advance,

   

David

0 Likes
1 Reply
Anonymous
Not applicable

It depends on your applicaition. We have provided an example AN75779. In this example we have used 2 sockets on the P port. We have used 2 counters to count the amount of data sampled-in. The count limit is decided based on how much data you want to write into one socket. For this example, the counet limit is set as [{(Buffer size in bytes - 16)/1 (as the GPIF interface is 8 bit)} - 1]. Please go through AN75779 and let us know if you have any question.

0 Likes