Hello to everyone,
I am programming AD5941 and have successfully set up the high speed ADC together with low power DAC, now I want to activate the waveform generator.
The goal is to produce a sinus wave with adjustable frequency, phase, DC offset and amplitude.
After reading the datasheet I know that first I have to set up the wave parameters in WGFCW, WGPHASE, WGOFFSET and WGAMPLITUDE registers, then change the wave type to sinusoid in WGCON register, finally enable the generator in AFECON register.
Now I have 2 problems:
1. Is there any other configuration I missed?
2. Which switches I have to close, in order to route the wave output to the desired pin (for example, AIN1 and AIN0) ?
Sincerely,
Yongkun