joe rocci - 2017-11-04

It's beenquite a while since I used a AD9850, but my recollection is that it's not an I2C part. It uses a 40 bit serial word that's clocked by a seperate data pin, sort of lIke SPI bus.  You'll have to read the data sheet and pound this one out yourself, as I don't think there's a GCB library for it.
Joe

-------- Original message --------
From: Harley Burton haburton@users.sf.net
Date: 11/03/2017 5:59 PM (GMT-05:00)
To: "[gcbasic:discussion]" 579125@discussion.gcbasic.p.re.sf.net
Subject: [gcbasic:discussion] I2C controlling AD9850 DDS

I am trying to use a PIC16F690 to control an Analog Devices AD9850. I have read all the documentation many times concerning the I2C to control the AD9850. I have the control words worked out with no translation, etc. So my question is this; does the I2C routines send the data out MSB first, or LSB first? Additionally, is there any translation of the data or is it just sent out straight? In I2C, the address is shifted left one bit and typically a 0 or 1 added at the end of the address to indicate whether the operation is a read or write. While I don't see that in the AD9850 datasheet, so I'm wondering if the I2C routines in Great Cow Basic do any address or other data translation.
Please help!
Thanks,

Harley Burton

N5BFB

I2C controlling AD9850 DDS

Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gcbasic/discussion/579125/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/