Regarding slavefifo

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
veRN_2322216
Level 3
Level 3
5 likes given First like received First like given

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.

0 Likes
1 Solution
Anonymous
Not applicable

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.

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

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.

0 Likes