Measurement Computing CIO-DAC08-I User Manual page 12

Table of Contents

Advertisement

In summary form, the registers and their function are listed in the following table.
ADDRESS
BASE + 0
D/A Least Significant Byte
BASE + 1
D/A Most Significant Nibble and
Channel address
These two registers control all of the DACs on the CIO-DAC##-I. The first register,
BASE + 0, contains the least significant eight bits of D/A code and is written first.
BASE + 0
7
6
D5
D6
The second register contains the most significant four bits of D/A code and the four
bits that determine which channel the data will be sent to. This register is written to
second. A write to this register updates the output of the selected D/A with all 12
bits of the D/A code contained in the two registers.
BASE + 1
7
6
CH3
CH2
D12: 1 Data bits
CH3:0 Channel value (0000 = channel 0, 0101 = channel 5, etc.)
Updating the output of a particular DAC channel is a matter of calculating the code
for the output value desired and combining it with the channel number.
To calculate the data code, you first select the output you desire, then apply a
transfer function to that value. The transfer function for code = output is:
FSI / 4095 * CODE = Current Out +4 mA or CODE = Current Out - 4 / 16 * 4095
Full scale current (FSI) is not 20 mA, it is 20 - 4 or 16 mA. Use this in the equation
above.
For Example:
If CODE = 0, current output = 4 mA
If CODE = 4095, current output = 20 mA
Table 4-2. Register Map
WRITE FUNCTION
5
4
D7
D8
5
4
CH1
CH0
8
READ FUNCTION
None
None
3
2
D9
D10
3
2
D1
D2
(MSB)
1
0
D11
D12
(LSB)
1
0
D3
D4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CIO-DAC08-I and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Cio-dac16-i

Table of Contents