Connect CAP001 to DMA003 or DMA002 Feature request

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

cross mob
Not applicable
Currently CAP001 cannot be connected to a DMA app, i.e. signal connect an interrupt from CAP001 to a DMA app.
I understand the workaround for this is to execute an interrupt function, and then do a software call to the DMA through the application interface, but this defeats the purpose of a DMA.

Use case
Store duty cycle capture values in a DMA buffer.
0 Likes
3 Replies
Not applicable
Hi Doug,

By adding a NVIC002 App and selecting HW trigger type for DMA002/003 App, you are able to use the hardware interrupt control to trigger DMA data storage (refer to attachments). The hardware trigger on DMA will be generated even you don't enable the period match interrupt for example. This is to reduce the CPU load.

79.attach
80.attach

Best regards,
Sophia
0 Likes
Not applicable
What do you mean by not having to enable the period match interrupt?
Is attached a required signal connection to link the capture event to trigger a DMA transfer?
0 Likes
Not applicable
Hi Doug,

Sorry to make you confusion. What I mean is you no need to check "Enable interrupt at initialization" in NVIC002 App. But you still need to check "Enable Capture Interrupt" in CAP001 App (see attachments).

83.attach
84.attach

Best regards,
Sophia
0 Likes