Shop OBEX P1 Docs P2 Docs Learn Events
Maxim DS1085 I2C routine — Parallax Forums

Maxim DS1085 I2C routine

Dave MatthewsDave Matthews Posts: 93
edited 2014-02-22 11:27 in Propeller 1
Before I get into modifying some of the I2C examples (plenty in the OBEX!), I thought I would check to see if someone had already written a routine to support this frequency synthesizer chip. I will use the DS1621 Object by James Burrows for a start if no one has an example for this chip. This oscillator is needed to replace a legacy product that needs a 50kHz clock...I thought about dedicating a propeller mini to do it<g>!

Dave

Comments

  • Dave MatthewsDave Matthews Posts: 93
    edited 2014-02-22 11:27
    Well this is still a struggle! While I'm now pretty sure that the I2C interface is working based upon signals back from the chip, I have yet to get any meaningful communications established. The way to read data from this chip is new and strange to me...but then I am very new to the I2C protocol/format. Fortunately I found a Kindle(!) book on how to program the Maxim DS1077, that appears to be very similar to the DS1085, with examples in StampBasic. Before I look into that I will take a break and go straighten up the garage<g>.

    No I didn't succumb to the mindless task of garage work. Insted I went to the local Radio Shack and bought the Basic Stamp2 Experimenters kit so I can duplicate the code in the books. I -will- make this work....

    The garage is now as straightened as it will be for a few weeks.

    A couple of days later: All is working from Stamp Basic using the example code for the DS1077, supplied by Jeremy Clark on his Kindle book. If anyone wants me to I will make an attempt to port this over to spin, should be a great training exercise!
Sign In or Register to comment.