FX3 DMA transfer from RAM

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

cross mob
Anonymous
Not applicable

Is there a way to set up a DMA transaction from an arbitrary RAM address using the FX3?  In all of the example code I have seen, a buffer is first retrieved via CyU3PDmaChannelGetBuffer, the data is copied into the returned buffer, and then the data is committed via CyU3PDmaChannelCommitBuffer.  I have a couple of large static buffers that I'd like to switch between periodically and am hoping to eliminate the copy operation.

Thanks.

0 Likes
1 Solution
Anonymous
Not applicable

Hi Brian,

Please ignore my previous post. There is a mistake with that. It will be deleted. Apologies for the confusion.

You can use the CyU3PDmaChannelSetupSendBuffer  for this purpose. Please refer the APi guide for more details.

Regards,

- Madhu Sudhan

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Hi Brian,

Please ignore my previous post. There is a mistake with that. It will be deleted. Apologies for the confusion.

You can use the CyU3PDmaChannelSetupSendBuffer  for this purpose. Please refer the APi guide for more details.

Regards,

- Madhu Sudhan

0 Likes