dma memory left control for CX3

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

cross mob
leda_289486
Level 5
Level 5
10 sign-ins 5 sign-ins 100 replies posted

Hi,

Is there a way to check how many memory is left for dma buffers in CX3 codes ?

I'm experiencing a weird behavior with CyU3PMultiChannelDestroy, returning an error code 16 (memory).

I would rather expect this to happen at creation of dma channel, not at  deletion... However after I reach this error code, there is no way to get dma creation working after.

So second question is : do you have a snippet code for resetting completly the dma memory buffer ?

Thank you for your help,

best regards.

0 Likes
4 Replies