1 Reply Latest reply on Sep 10, 2017 10:06 PM by raghuramh_86

    Regarding slavefifo


      I have created a buffer i.e. char buffer="MINDFLOW"; and i want send this buffer content to P to U(processor to USB) buffer i.e. input-> buffer_p.count. im not able to copy using memcpy since buffer is defined in structure.

        • 1. Re: Regarding slavefifo



          In CyFxSlFifoPtoUDmaCallback(), a buffer filled by GPIF Producer socket will be committed to the USB Consumer socket.

          You need to use CyU3PDmaBuffer_t structure for creating user defined DMA buffers.

          You can refer to cyfxbulklpmaninout example project for creating a buffer and sending it from CPU Producer to USB consumer socket.