02-11-2005 12:39 PM
02-15-2005 03:13 PM
02-15-2005 04:38 PM
02-16-2005 07:23 AM
02-16-2005 08:05 AM
06-30-2010 05:14 PM
Hi,
I see this is an old topic, but I have a 34907A that I'm looking to use in a serial data application. I need to use 4 outputs configured as clock, strobe, serial data in, and a data latch. As far as I can tell, how fast the data is transmitted is not an issue. Here's an exerpt from the datasheet:
Serial Data
Following initialization, the 12-bit digital word representing the desired output
current is applied to the SDI pin. The serial data should appear starting with
the most significant bit (MSB, bit 1, D11) and ending with the least signifi cant
bit (LSB, bit 12, D0). With each data bit present and stable on the SDI line,
the CLK must be toggled through a low-to-high transition to register that bit.
Twelve rising clock edges, at rates up to 500kHz, are required to clock all 12
digital bits into the DTL2A-LC’s input register.
Latching Data and Presenting It to the D/A
After loading the LSB, the serial data word is latched by bringing the Control
Strobe (pin 7) high and then toggling the Latch Data pin (pin 4) through a
high-low-high sequence. Approximately 100μsec later, the output current will
settle to its fi nal desired value.
The following steps describe a typical timing sequence when using the
4 digital inputs and a programming language such as C. Using 4 bits of
a typical 8-bit port, assign BIT_0 to the Control Strobe (CS, pin 7), BIT_1 to
Latch Data (LD, pin 4), BIT_2 to Serial Data In (SDI, pin 5), and BIT_3 to
the Clock (CLK, pin 6).
1. Initialize with Control Strobe, Latch Data, and Clock high:
BIT_0 = 1, BIT_1 = 1, BIT_2 = X (don’t care), BIT_3 = 1
2. Bring the Control Strobe low.
BIT_0 = 0
3. Apply the MSB (D11) of the serial data word to Serial Data In.
BIT_2 = 0 or 1
4. Toggle the Clock high-low-high.
BIT_3 = 1 to 0 to 1
5. Apply D10 of the serial data word to Serial Data In.
BIT_2 = 0 or 1
6. Toggle the Clock high-low-high.
BIT_3 = 1 to 0 to 1
7. Repeat the process for remaining data bits D9 through D0.
8. Drive the Control Strobe high.
BIT_0 = 1
9. Toggle the Latch Data input high-low-high.
BIT_1 = 1 to 0 to 1.
Is something like this doable, or should I be looking elsewhere?
Thanks,
Bryan