Hi!
In my project I need to generate a signal, measure it and then analyse it.
Of course, I want the generation and the measurement not to load the CPU.
I've already been able to make the tuple PDB/ADC/DMA work, for the acquisition part. And it's just great.
Now, to generate the signal, I though that something like FTM/DMA/FTM(PWM) would work, but I can't manage to trigger the DMA with the first FTM.
I'm working with the PEx and I'm only using init_xxx components.
As for the FTM, I enabled the clock, the counter, the modulus, the external trigger with CNTIN, but nothing happened. When I say that nothing happened I mean that I never seem to be interrupted by the end of the major loop of the DMA.
As for the DMA, the source muxing is set to FTMx_CHx, and the rest is almost a copy of the other DMA component.
I'm lost... And I'm sure it's a really stupid problem.
Has anyone had any problem related to DMA triggering via the FTM?
Hardware: FRDM K20D50M
Hi All,
Could you please post the PDB/ADC/DMA(processor Expert) working code with K20 Device.
I have to measure the 10 channels continuously using the DMA. Request you to please suggest.
Regds,
Dhruv