Data Format; Table 6-2. Dac Data Format - Keithley DAC-02 User Manual

Table of Contents

Advertisement

Data Format

The 12-bit data is written to each DAC in two consecutive bytes. The first
byte contains the four LSBs (least significant bits) of data. The second
byte contains the eight MSBs (most significant bits) of data. The format
of this data is shown in Table 6-2.
Address
D7
Low byte (Base
B9
Address
(LSB)
+Even)
High byte
B1
(Base Address
(MSB)
+Odd)
Notes
1
x = value irrelevant
The least significant byte is usually written first and is stored in an
intermediate DAC register, having no effect on the output. When the most
significant byte is written, its data is added to the stored data from the
least significant byte and presented broadside to the DAC, thus assuring a
single-step update. This process is known as double-buffering.
For 8-bit operation, first write zero to the low byte, then perform all
further operations with the high byte only.
Assembly language programmers should note that if data is left-justified,
16-bit output operations can be used (for example, OUT, DX, AX), as the
data sequence is conventional Intel low/high byte.
6-2
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table 6-2. DAC Data Format

D6
D5
D4
B10
B11
B12
(LSB)
(LSB)
(LSB)
B2
B3
B4
(MSB)
(MSB)
(MSB)
D3
D2
D1
1
x
x
x
B5
B6
B7
(MSB)
(MSB)
(MSB)
Programming
D0
x
B8
(MSB)

Advertisement

Table of Contents
loading

Table of Contents