I am now using CTimer to output a specific digital wave signal on LPC54618, and DMA is used.
A timing parameter table TimeParmTab[]={A,B,C,D} is defined to be copy to Match Register.
The transfer type is configured as MemoryToMemory, it works ok when CTimer interrupt is enabled,
and CTimer interrupt register flags be cleared in the ISR routine.
But when I disable the CTimer interrupt and don't clear interrupt register flags, the DMA could only be triggered once,
and can not continue.
The DMA also can not work when configured as PeripheralToMemory.
So, I have two question:
1. Whether the CTimer DMA can work continously without software process(clear CTimer interrupt flags)?
if yes, then how is the correct method?
2. Whether the CTimer DMA can work when configured as PeripheralToMemory?
if yes, then how is the correct method?
Thank you!