Hi everyone,
I need to produce a 50 Hz sine wave modulated with a PWM at 400 KHz. What I have right now it's FTM0 PWM overflow interruption that loads the next sine value from an array with 8000 samples. The problem with this approach is that is taking up to much time from the micro's CPU.
My idea is to implement a different solution using DMA, so it loads the sine values without the CPU having to do any actual work.
My problem is that I can't find any way of doing this from the processor expert (sdk 3.0.0).
Could you please help me finding the best way to get this? Should I use the DMA? Or is there a way of sticking to the PWM modulation without consuming too much memory?
Thank you in advance
Hi Daniel,
I appreciate again your response, but in the email that you sent me there is not a file attached.
Could you re-send it to me with the file in the thing you said please?
Regards,
Rogelio
Hi Daniel,
I've already answered your email.
Thank you so much!
Rogelio V