Initialization - National Instruments SCXI-1163 User Manual

32-channel isolated digital output module
Hide thumbs Also See for SCXI-1163:
Table of Contents

Advertisement

Chapter 5
5. If you are writing to a Data Register, you must first write address 0001 (hexadecimal) or
address 0006 (hexadecimal) to the Address Handler. See Chapter 4,
for a discussion on the uses of the two addresses. Then follow these steps:
a. Establish the desired SERDATIN level corresponding to this bit.
b. Clear SERCLK to 0.
c. Set SERCLK to 1 (clock the data). If you are using an MIO-16 board, writing to the
EXTSTROBE* register pulses EXTSTROBE* low and then high, accomplishing
steps 5b and 5c.
d. After you have written all the address bits, clear DAQD*/A to 0. This selects the Data
Register, and the data on the MOSI line is written to the Data Register.
6. For each bit to be written to the Data Register:
a. Establish the desired SERDATIN level corresponding to this bit.
b. Clear SERCLK to 0.
c. Set SERCLK to 1 (clock the data). If you are using an MIO-16 board, writing to the
EXTSTROBE* register pulses EXTSTROBE* low and then high, accomplishing
steps 6b and 6c.
d. After clocking the last data bit, if you do not want to write to or read another register,
write hexadecimal address FFFF to the Address Handler to increase the noise immunity
of the module when it is in the quiescent state. This also latches the data into the Data
Register. Selecting another register also latches the data in the Data Register.
7. Pull SLOT0SEL* low to deassert the SS* line and establish conditions for writing a new slot-
select number to the Slot 0 Slot-Select Register.
8. If you are not selecting another slot, write zero to the Slot 0 Slot-Select Register. If you are
selecting another slot, repeat the procedure starting at step 3.
For a timing illustration of a Data Register write, see Figure 2-8,
Diagram.

Initialization

The SCXI-1163 powers up with its Data Register set to logic ones and with the output mode of
operation the same as the jumper-set primary mode of operation. If you reset the chassis, the
Data Register resets to logic ones, and the output mode reverts to the primary mode of operation.
© National Instruments Corporation
Data Register Write Timing
5-3
Programming
Register
Descriptions,
SCXI-1163 User Manual

Advertisement

Table of Contents
loading

Table of Contents