Shop OBEX P1 Docs P2 Docs Learn Events
fast dac for propeller? — Parallax Forums

fast dac for propeller?

henry99henry99 Posts: 67
edited 2009-07-23 00:15 in Propeller 1
Can someone suggest a fast dac for the propeller?· 8bits ok.

I'd like 100ns settling time and a DIP package.· Preferably i2c.

I saw the Maxim max518 and it's perfect for breadboarding since it's i2c and 2 dacs in an 8pin·dip but the settling time is 6us.· Too slow for my application.·

I·generate waveforms with 2us features.·

Comments

  • Nick MuellerNick Mueller Posts: 815
    edited 2009-07-22 20:42
    I2C and 100ns sounds tough! smile.gif
    I suggest looking at www.analog.com or www.ti.com.
    Maxim are famous for announcing at least 10 times more than they can actually deliver or produce. .-/


    Nick

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never use force, just go for a bigger hammer!

    The DIY Digital-Readout for mills, lathes etc.:
    YADRO
  • Bill HenningBill Henning Posts: 6,445
    edited 2009-07-22 21:05
    You must use a parallel dac - 2us features are impossible with i2c and almost impossible with SPI (possible with the 20Mbps output trick)

    See http://www.national.com/mpf/DA/DAC0808.html 150ns settling time, 8 bit parallel dac

    See www.analog.com/static/imported-files/data_sheets/DAC08.pdf for 85ns settling time 8 bit parallel dac
    henry99 said...
    Can someone suggest a fast dac for the propeller? 8bits ok.


    I'd like 100ns settling time and a DIP package. Preferably i2c.



    I saw the Maxim max518 and it's perfect for breadboarding since it's i2c and 2 dacs in an 8pin dip but the settling time is 6us. Too slow for my application.



    I generate waveforms with 2us features.
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com - my site 6.250MHz custom Crystals for running Propellers at 100MHz
    Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
    Morpheus & Mem+ Advanced dual Propeller SBC with XMM and 256 Color VGA
    Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full

    Post Edited (Bill Henning) : 7/22/2009 9:32:49 PM GMT
  • LeonLeon Posts: 7,620
    edited 2009-07-22 21:22
    I doubt if you will find a fast 8-bit DAC. Linear Technology makes very fast 12-bit DACs, you could simply use the lower 8-bits.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-07-22 21:30
    I have to question the combination of 100ns settling time with an I2C interface. It will take at least 40us just to transmit a new data word to the DAC with I2C. So nothing that uses I2C is going to be any where near "fast".

    -Phil
  • TimmooreTimmoore Posts: 1,031
    edited 2009-07-22 22:32
    Take a look at the mcp4725 its SMT but sparkfun have a breakout http://www.sparkfun.com/commerce/product_info.php?products_id=8736.
    It supports a 3.4Mhz I2C mode but you would have to write your own driver for that. I dont know of an existing object that will run I2C that fast, it still will not meet your settling time of 100ns - its settling time is 6us.
  • henry99henry99 Posts: 67
    edited 2009-07-23 00:15
    Ok I think I2C probably won't work very well with the 100ns DAC.

    What kind of performance do you think I could get using a resistor and cap as a low pass filter and using the propeller as 1 bit DAC?

    My analog circuits is rusty but I remember the transfer function of·C/R·+ response to·take the inverse laplace transform to calculate the resulting circuit.

    Questions:

    1) Is there a simple simulation somewhere where I just put in values·for R/C and the freq of the PWM + duty cycle and see the output?

    2) I'd like to get 4us at say 1V then ramp up to 2V over 10us then hold it for 4us then ramp back down to 1V over 10us (trap waveform).· Do you think the RC circuit + PWM freq of 125MHz with variable duty cycle as shown in the examples will give me the performance I want?

    3) How sensitive is the circuit to the values of R and C?· Do I need super high tolerance parts to get good performance that follow the simulation details?

    4) Do you think the 1 bit dac would work (maybe I need a higher order low pass?) or should I just stick with an 8 bit parallel dac with 100ns settling time?

    Thanks for all the help!
Sign In or Register to comment.