From: kasterborus on
Can anyone give me some pointers on what I would need to do to get a
TLV5618 12bit serial DAC running with an Arduino?

I want to be able to output 0-5v under program control.

http://focus.ti.com/lit/ds/symlink/tlv5618a.pdf

Particularly how I connect CS, SCLK, and REF to get the chip working.

Thanks,

From: Tom2000 on
On Sat, 27 Oct 2007 21:14:21 -0000, kasterborus(a)yahoo.com wrote:

>Can anyone give me some pointers on what I would need to do to get a
>TLV5618 12bit serial DAC running with an Arduino?
>
>I want to be able to output 0-5v under program control.
>
>http://focus.ti.com/lit/ds/symlink/tlv5618a.pdf
>
>Particularly how I connect CS, SCLK, and REF to get the chip working.
>
>Thanks,

After a quick peek at the data sheet, it looks like the shiftout
command will do the job.

You'll have to handle the CS lead yourself. Just assign it to any
convenient output pin, drop it, shift your data to the DAC, then raise
CS again.

The Arduino help pages explain the use of the shiftout routine.

Good luck!

Tom


From: kasterborus on
Tom,

Thanks so much, that helps a lot - can I tie Vin and REF to +5v? Or
does REF need to be different?

Dave

From: Tom2000 on
On Sat, 27 Oct 2007 22:54:00 -0000, kasterborus(a)yahoo.com wrote:

>Tom,
>
>Thanks so much, that helps a lot - can I tie Vin and REF to +5v? Or
>does REF need to be different?
>
>Dave

You sure can, Dave.

And, like the AVdd input to your Arduino, make sure that the REF pin
is well bypassed. Any noise on this pin will appear on your analog
output.

Have fun!

Tom


From: kasterborus on
On Oct 28, 1:50 am, Tom2000 <ab...(a)earthlink.net> wrote:
> On Sat, 27 Oct 2007 22:54:00 -0000, kasterbo...(a)yahoo.com wrote:
> >Tom,
>
> >Thanks so much, that helps a lot - can I tie Vin and REF to +5v? Or
Bypass?
Hmmm...

<newb>

This is a capacitor between the pin and ground, right?
What's a typical value for this cap?

</newb>

Dave

> >does REF need to be different?
>
> >Dave
>
> You sure can, Dave.
>
> And, like the AVdd input to your Arduino, make sure that the REF pin
> is well bypassed. Any noise on this pin will appear on your analog
> output.
>
> Have fun!
>
> Tom


 |  Next  |  Last
Pages: 1 2
Prev: OVP With the MC3423
Next: advise on ESR meter project ?