Hello,
I have tried to trigger a DMA channel from the ePWM and the eCAP unit, but without success.
The observed behaviour is always the same:
- If I do a request_irq() instead of enabling a DMA channel, I get a continuous series of interrupts.
- If I enable a DMA channel, there is only ONE DMA trigger event. If I enable the DMA interrupt, I can see the DMA interrupt firing once.
The DMA controler is programmed to clear the interrupt bits in the interrupt clear registers, but obviously, this is not sufficient.
Has anybody succeeded in triggering a DMA channel from ePWM/eCAP?
PS: I have successfully used DMA triggered from a DMTIMER. It was neccessary to write both IRQSTATUS and IRQ_EOI registers in order to clear the DMA event.
But eCAP and ePWM hardware has no IRQ_EOI register... Is the statement in the manual that DMA ist possible with eCAP and ePWM true and verified?
regards
Wolfgang