DMA debugging

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

cross mob
Anonymous
Not applicable

I have an analog front end working, feeding a DMA transfer into a filter block.  I never see a DMA request coming out of the filter block.

   

I have pins attached to the SAR EOC which is also died to the DMA DRQ, and to the filter DMA_REQ_A.

   

I have activity on the SAR EOC, but nothing on the DMA_REQ_A pin.

   

The peripherals are started, and I used the DMA wizard to generate the code for the DMA.

   

How can I figure out if it's the DMA that's not happening, or the filter?

0 Likes
1 Solution
Anonymous
Not applicable

The DMA was broken.  For now I'm polling and leaving the DMA for another day.

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can you please post your complete project or a shortened version that shows the error so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

The DMA was broken.  For now I'm polling and leaving the DMA for another day.

0 Likes