AnsweredAssumed Answered

Using DMA how to Transfer ADC value to PWM channel?

Question asked by Amit Kumar on May 3, 2014
Latest reply on May 7, 2014 by Hui_Ma

Hi

I am using FRDM-K20D50M board with codewarrior10.5. I am using PE to generate code. I have written the following code but it is not working. According to me I think there is some minor error which I am not able to find out. I have gone through the app note AN4631. In FRDM board I have connected a potentiometer at ADC0_DM0 and by default the Green LED is connected to  PTD4 FTM0 CH4 . On rotating the potentiometer, the voltage changes from 0 to 3.3v. In the code works fine when not using DMA. Please look into the matter

 

Kind Regards

Amit Kumar

Original Attachment has been moved to: FRDM-K20-DMA-RGB.zip

Outcomes