Tool/software:
Dear Dirs.
I want to generate a 10kHz sinewave using the Hercules processor and get the ADC sampling a feedback signal.
The approach that I'm trying is using the DMA to reload the PWM module with a Look-Up-Table that contains the sinewave.
At the same time, when the DMA ends the transactions (one full waveform), I'd like to trigger an ADC conversion.
I'm failing at the first stage, not able to get the DMA work. Can somebody help?
Thank you.