single line DAC control

Saxo/-L & Xylo/-EM/-L/-LM boards

single line DAC control

Postby RyanF » Thu Dec 18, 2008 7:56 pm

I'm having trouble with the DAC control to the Flashy board. From what I can tell, the output from the fpga's DAC control pin goes directly to the DAC's clk input. This same signal is low pass filtered and connected to the DAC's data input, then LPF'd again and connected to the DAC's load input.

The problem I'm having is that whenever the data consists of a string of zeros, the 'load' line goes low before I'm done clocking the data into the DAC. This confuses the DAC and it's outputs jump around. Even the demo code that I have appears to do the same thing. Is there a way to keep the DAC's load line high until after I'm done clocking data in? I must be missing something.

Thanks.
RyanF
 
Posts: 4
Joined: Thu Dec 18, 2008 7:47 pm

Postby fpga4fun » Fri Dec 19, 2008 5:24 am

Are you driving the DAC control line from an FPGA or CPU?
fpga4fun
Site Admin
 
Posts: 837
Joined: Thu Sep 18, 2003 6:47 am

Postby RyanF » Mon Dec 22, 2008 3:56 pm

I'm driving it from the FPGA. I've got the Xylo-LM. I started with the FlashyMini example Verilog code and it looks to me like the problem exsists even there.

Thanks again.
RyanF
 
Posts: 4
Joined: Thu Dec 18, 2008 7:47 pm

Postby fpga4fun » Mon Dec 22, 2008 5:43 pm

Does FlashyDemo work?
fpga4fun
Site Admin
 
Posts: 837
Joined: Thu Sep 18, 2003 6:47 am

Postby RyanF » Mon Dec 22, 2008 8:26 pm

I loaded in FlashyDemo. When I look at the DAC control lines with a scope I can still see the load line going low before all the bits are shifted out.

By sliding the V-position and V-range bars all the way to the right, I can see the DAC outputs jump around. However, only DACC and DACD are jumping around, which may also have been the case before (I've been playing with the pots and I don't remember). I have the single Flashy, not the double, so maybe the jumping has to do with that?

When I slide the V-position and V-range bars all the way to the left, all of the DAC outputs are stable.
RyanF
 
Posts: 4
Joined: Thu Dec 18, 2008 7:47 pm

Postby fpga4fun » Mon Dec 22, 2008 8:41 pm

Could be that your Flashy is defective.
Do the trace on the scope display work fine? Do they move when you move the sliders?
fpga4fun
Site Admin
 
Posts: 837
Joined: Thu Sep 18, 2003 6:47 am

Postby RyanF » Tue Dec 23, 2008 1:50 pm

The trace on the scope display does work. It also does move a little with adjustment of the slider controls, not sure how much it's supposed to move. I'm trying to get some quantitative measurements on what my input numbers will translate to in my application.

Is the LOAD line (pin 8 on DAC) supposed to stay high the whole time data is being shifted out? The TLV5620 data sheet indicates that it should. But I don't see any way that you can keep it high if the the last few data bits are all zeros. Does yours stay high?
RyanF
 
Posts: 4
Joined: Thu Dec 18, 2008 7:47 pm

Postby fpga4fun » Tue Dec 23, 2008 4:14 pm

The sliders are limited for V-pos, but we are working to extend the range in the new Flashy revision (N).
I don't have details on the LOAD pin, sorry.
fpga4fun
Site Admin
 
Posts: 837
Joined: Thu Sep 18, 2003 6:47 am


Return to FX2 FPGA boards