1 Reply Latest reply on Feb 20, 2017 2:19 AM by nishanta_46

    Data Count in GPIF Design & DMA Buffer Size




      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,



        • 1. Re: Data Count in GPIF Design & DMA Buffer Size

          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.