Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
svofski
PostPosted: May 07, 2012 - 12:26 PM
Raving lunatic


Joined: Jun 27, 2005
Posts: 3453
Location: St.Petersburg, Russia

I'm puzzled by something weird. I'm using a TLV5625 DAC from TI. It's a single-supply 8-bit internal reference, voltage output blah blah DAC. Programmed via SPI. So when the programmer is plugged (it's a reprogrammed pickit2) everything works. When I unplug it, nothing works.

Scoping the signals revealed that pickit2 kind of trims down the signals to 3.3V. But the DAC datasheet says that it's good for 2.7-5.5V operation, and it's powered by 5V. What gives? My SPI lines are connected directly, without pullups or inline resistors. I tried adding pullups, they do nothing. Inline.. I guess they could help but I would like to hear some educated opinions first since they would require doing some controlled damage to the board. Any ideas?

_________________
The Dark Boxes are coming.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
MBedder
PostPosted: May 07, 2012 - 12:45 PM
Raving lunatic


Joined: Nov 02, 2009
Posts: 3239
Location: Zelenograd, Russia

The PICkit2 has pulldowns, not pullups.

_________________
Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
 
 View user's profile Send private message  
Reply with quote Back to top
ossi
PostPosted: May 07, 2012 - 09:38 PM
Raving lunatic


Joined: Apr 25, 2006
Posts: 2304
Location: Germany

I am confused: Does the TLV5625 really have an internal
Vref ? The headlines in the datasheet say so, but I
only find a description for a VREF input in the
following sections. Shocked
 
 View user's profile Send private message  
Reply with quote Back to top
svofski
PostPosted: May 07, 2012 - 11:35 PM
Raving lunatic


Joined: Jun 27, 2005
Posts: 3453
Location: St.Petersburg, Russia

Yes, it has internal VREF.

I "solved" the issue by adding 220Ω/50pF network on SCK line. I can't believe I added a RC filter to a clock line, but with TI all bets are off.

I also solved my double-supply problem. Adding 0.5Ω in line with the heater worked a charm: it takes maybe a little bit longer to warm up than with a separate supply, but that's unimportant. There's still Z-modulation to do, but I'm so lazy about this now — looking at a dekatron tube and some egg-shaped cores I happen to have around ;)

_________________
The Dark Boxes are coming.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Plons
PostPosted: May 07, 2012 - 11:58 PM
Raving lunatic


Joined: Nov 01, 2005
Posts: 6354
Location: Hilversum - the Netherlands

Quote:
I "solved" the issue by adding 220Ω/50pF network on SCK line. I can't believe I added a RC filter to a clock line, but with TI all bets are off.
Transmission line theory. My first contribution to AVRfreaks: the PPPPD. Same issue. It still resides in my signature.

Even digital is kind of analog Wink

Nard

_________________
Dragon broken ? Or problems with the Parallel Port Programmer ? Scroll down on my projects-page http://www.aplomb.nl/TechStuff/TechStuff.html for tips
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
svofski
PostPosted: May 08, 2012 - 12:15 AM
Raving lunatic


Joined: Jun 27, 2005
Posts: 3453
Location: St.Petersburg, Russia

Yeah well.. But in PPPPPPPGJXJJ the lines are long. Here they are like 2cm long and have a groundplane. And it's the first SPI device in my practice that's so sensitive to transients.

_________________
The Dark Boxes are coming.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
ossi
PostPosted: May 08, 2012 - 07:08 AM
Raving lunatic


Joined: Apr 25, 2006
Posts: 2304
Location: Germany

I have a Anita Sumlock (dismanteled) here, contains
also a Dekatron, many thyratrons, and a lot of nixies,
and in fact, there is one transistor in it !

http://www.vintagecalculators.com/html/anita_mk_8.html

Seems we share the love for high voltages and glowing
tubes...
 
 View user's profile Send private message  
Reply with quote Back to top
svofski
PostPosted: May 08, 2012 - 04:43 PM
Raving lunatic


Joined: Jun 27, 2005
Posts: 3453
Location: St.Petersburg, Russia

We definitely do. That Anita is sexy with that argon-filled Dekatron!

I liked that silkscreen marking of the transistor. "That expensive thingy in a top hat goes here".

_________________
The Dark Boxes are coming.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits