mutiple channel sine wave generator based on DAC_SineWaveGenerator | Cypress Semiconductor
mutiple channel sine wave generator based on DAC_SineWaveGenerator
Dear community, I want to make a multiple channel sinewave generator which can have configurable amplitude and phase. Frequency only has to be 50 / 60 hertz. Ideally I would like 8 channels but can settle for 4.
From the example called :DAC_SineWaveGenerator, I understand for 1 channel, I need 1 timer, 1 DMA and 1 VDAC.
For 4 channels I would need 4 DMAs, 4 VDACs but what do I do with the timing, do i use 4 timers, or 1 timer plus 3 shift registers? What is the best way to go?
For the time being I am happy to have a register or simple way to store the phase and amplitude data.