How do I create a DMA Buffer?

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

cross mob
Anonymous
Not applicable

If I have already created a DMA channel, but I want to allocate an extra buffer to use with CyU3PDmaChannelSetupSendBuffer, how do I go about allocating that buffer correctly?

0 Likes
1 Reply
Anonymous
Not applicable

I am assuming I should use CyU3PDmaBufferAlloc to allocate the buffer, but the return type is void * so I am unsure if this really is a CyU3PDmaBuffer_t *.

0 Likes