Dear all, How are you? I’m Luca, from Italy, I’m new in this list. I’m a visiting student at Yale University now, and I’ve to work with ROACH 2 board. I have to generate frequency variable sin and cos using MUSIC MKID ADC/DAC board. I wrote the simulink code, I can see the two signals, on a scope, they are frequency variable, and they seems correct. But when I look at the DAC outputs with the oscilloscope, I can just see thw square waves with freq=clk_in/2 and random phase. This is my setup:
-I use Xilinx System Generator ISE 14.7 -System clock is 64 MHz -DAC clock in frequency is 128 MHz About DAC Yellow block: -I set reset to 0 (it would be low active but there a not gate inside the Yellow block) -I set SDENB to 1 (so, should be generated a low active pulse with duration of about 2000 simulation steps, in order to configure CONFIG10 register) - I set CONFIG10DATA word to 0xCD (because of 128MHz) I generate sin and cos with DDS 4.0 block, and after about 2000 clock cycles, that’s the time to configure CONFIG10 register, I start to send those signals (type is Fix 16_15) to DAC Yellow block. I use i0 and q0 inputs, while i1 and q1 are connected with a 0 costant (Fix 16_15). I’ve read a lot of times DAC5681 datasheet, and looked inside Yellow block, read the VHDL file of that block, but it doesn’t work. I’m really hoping you can help me with this. Thank you so much. Sincerely, Luca Finazzi. Visiting Student, Yale University, New Haven, CT.

