- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.