Using the slow DAC from FPGA
Posted: Fri Dec 16, 2022 3:47 pm
Hello,
I'm currently working in a project where I'm writing my own FPGA program for the Red Pitaya STEMlab 125-14 .
So far using the fast ADC and DAC is working out fine, but I also need to use 2 channels of the slow DAC outputs. I can't find any information in the documentation how to control the output voltage. The FPGA constrains contain 4 "dac_pwm_o" pins, but I can't find out how to design the PWM signal.
By playing around with different PWM signals I was able to generate a saw-tooth-like voltage, but I would like to be able to adjust a stable output voltage between the 0 to 1.8 V. Is there any information available on how to achieve that?
Thanks,
Finn
I'm currently working in a project where I'm writing my own FPGA program for the Red Pitaya STEMlab 125-14 .
So far using the fast ADC and DAC is working out fine, but I also need to use 2 channels of the slow DAC outputs. I can't find any information in the documentation how to control the output voltage. The FPGA constrains contain 4 "dac_pwm_o" pins, but I can't find out how to design the PWM signal.
By playing around with different PWM signals I was able to generate a saw-tooth-like voltage, but I would like to be able to adjust a stable output voltage between the 0 to 1.8 V. Is there any information available on how to achieve that?
Thanks,
Finn