Hello,
I've research countless forums and the technical reference without any luck. I have a solution but I'm trying to research a more elegant approach. I'm using SYSBIOS, the omapl137 and I'm working on the DSP side.
I would like to trigger a DMA event only when TIMIN12 = one of the CMP (compare registers).
I'm reading: "SPRUH92D" Section: 30.1.9 and the description is a little ambiguous. Please excuse me if I missed something obvious.
30.1.9 DMA Event Support
Each of the timers can send either one of two separate timer events (TEVTn) to the DMA engine, depending on the operating mode of the timer. The timer events are generated when the count value in the counters register reaches the value specified in the period register. When the PLUSEN bit in the timer global control register TGCR) is set, matches between TIM12 and CMPn in dual 32-bit unchained mode will also generate DMA events. Setting the PLUSEN bit also enables additional features for control, status, and generation of dma events are enabled. See Section 30.1.11 for more information.
It states:"will also" does this means that it will trigger a DMA with both conditions: TIM12 = PRD12 and TIM12=CMPx or it will just do one of the two?
I'm trying to generate a pulse at 600 KHz but trigger the DMA 900 ns after the pulse is sent. I already have TMP64_OUT generating such pulse.
Jaime