This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:quick-start:ad5689r [07 Feb 2013 17:07] – [Simple Write: Example 3] Padraic O Reilly | resources:quick-start:ad5689r [23 May 2013 18:40] (current) – add +/- signs, consolidate NC pin descriptions Yuet Ng | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== AD5689R/ | ====== AD5689R/ | ||
** Dual, 16-/12-Bit, Voltage Output DACs with a 2 ppm/ºC Reference, SPI Interface ** | ** Dual, 16-/12-Bit, Voltage Output DACs with a 2 ppm/ºC Reference, SPI Interface ** | ||
- | {{ : | ||
- | |||
- | |||
===== Features ===== | ===== Features ===== | ||
- | * High relative accuracy (INL): ±2 LSB maximum (16-bit) | + | * High relative accuracy (INL): ±2 LSB maximum (16-bit |
* Low drift 2.5 V on-chip reference: 2 ppm/°C typical temperature coefficient | * Low drift 2.5 V on-chip reference: 2 ppm/°C typical temperature coefficient | ||
* Tiny 3 mm × 3 mm 16-lead LFCSP or 16-lead TSSOP package | * Tiny 3 mm × 3 mm 16-lead LFCSP or 16-lead TSSOP package | ||
- | * Total unadjusted error (TUE): | + | * Total unadjusted error (TUE): |
- | * Offset error: | + | * Offset error: |
- | * Gain error: | + | * Gain error: |
* High drive capability: 20 mA, 0.5 V from supply rails | * High drive capability: 20 mA, 0.5 V from supply rails | ||
* User selectable gain of 1 or 2 (GAIN pin) | * User selectable gain of 1 or 2 (GAIN pin) | ||
* Reset to zero scale or midscale (RSTSEL pin) | * Reset to zero scale or midscale (RSTSEL pin) | ||
* 1.8 V logic compatibility | * 1.8 V logic compatibility | ||
- | * 50 MHz SPI interface | + | * 50 MHz serial peripheral |
- | * 2.7 V to 5.5 V power supply | + | * 2.7 V to 5.5 V power supply |
* −40°C to +105°C temperature range | * −40°C to +105°C temperature range | ||
+ | |||
+ | =====Functional Block Diagram===== | ||
+ | {{ : | ||
+ | <WRAP centeralign>// | ||
+ | |||
===== Pin Configurations ===== | ===== Pin Configurations ===== | ||
\\ | \\ | ||
Line 33: | Line 35: | ||
|V< | |V< | ||
|V< | |V< | ||
- | |NC | Not Connected | | + | |NC | No connect. Do not connect to these pins. | |
- | |NC | Not Connected | + | |
|< | |< | ||
|SCLK | Connect to serial interface. | |SCLK | Connect to serial interface. | ||
Line 44: | Line 45: | ||
|< | |< | ||
|RSTSEL | Tie to GND to power up to zero scale.| | |RSTSEL | Tie to GND to power up to zero scale.| | ||
- | |GAIN | Tie to GND. DAC outputs have a span from 0 V to V< | + | |GAIN | Tie to GND. DAC outputs have a span from 0 V to V< |
|< | |< | ||
|V< | |V< | ||
\\ | \\ | ||
\\ | \\ | ||
- | ===== Shift Register Contents ===== | + | ===== Input Shift Register Contents ===== |
\\ | \\ | ||
{{ : | {{ : | ||
- | <WRAP CENTERALIGN>// | + | <WRAP CENTERALIGN>// |
**Table 2. Command Definitions** | **Table 2. Command Definitions** | ||
Line 58: | Line 59: | ||
^C3 ^C2 ^C1 ^C0 ^Description ^ | ^C3 ^C2 ^C1 ^C0 ^Description ^ | ||
|0 |0 |0 |0 |No operation| | |0 |0 |0 |0 |No operation| | ||
- | |0 |0 |0 |1 |Write to Input Register n (Dependent | + | |0 |0 |0 |1 |Write to Input Register n (dependent |
|0 |0 |1 |0 |Update DAC Register n with contents of Input Register n| | |0 |0 |1 |0 |Update DAC Register n with contents of Input Register n| | ||
|0 |0 |1 |1 |Write to and update DAC Channel n| | |0 |0 |1 |1 |Write to and update DAC Channel n| | ||
Line 75: | Line 76: | ||
< | < | ||
where: | where: | ||
- | //D// is the decimal equivalent. \\ | + | //D// is the decimal equivalent |
//N// is the number of bits. \\ | //N// is the number of bits. \\ | ||
\\ | \\ | ||
\\ | \\ | ||
==== Simple Write: Example 1 ==== | ==== Simple Write: Example 1 ==== | ||
- | <WRAP tip>To update Channel A, write the following over the serial interface: 0001 XXX1 1000000000000000 | + | <WRAP tip>To update Channel A, write the following over the serial interface: 0001 0001 1000000000000000 |
(four command bits, four address bits, 16 data bits for the [[adi> | (four command bits, four address bits, 16 data bits for the [[adi> | ||
This updates Channel A to midscale. | This updates Channel A to midscale. | ||
Line 92: | Line 93: | ||
==== Simple Write: Example 2 ==== | ==== Simple Write: Example 2 ==== | ||
<WRAP tip>To update both Channel A and Channel B, write the following over the serial interface: | <WRAP tip>To update both Channel A and Channel B, write the following over the serial interface: | ||
- | 0001 1001 1111111111111111. This updates both channels to full scale. GAIN = 1, V< | + | 0001 1001 1000000000000000. This updates both channels to full scale. GAIN = 1, V< |
{{ : | {{ : | ||
<WRAP CENTERALIGN>// | <WRAP CENTERALIGN>// | ||
+ | // | ||
+ | // |