Not applicable
Apr 09, 2013
06:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 09, 2013
06:43 AM
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.
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.
- Tags:
- IFX
3 Replies
Not applicable
Apr 11, 2013
01:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 11, 2013
01:22 AM
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.
Best regards,
Sophia
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.
Best regards,
Sophia
Not applicable
Apr 11, 2013
06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 11, 2013
06:07 AM
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?
Is attached a required signal connection to link the capture event to trigger a DMA transfer?
Not applicable
Apr 12, 2013
01:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 12, 2013
01:10 AM
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).
Best regards,
Sophia
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).
Best regards,
Sophia