Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Is USB 8451 DIO static when switching between I2C and SPI modes?

I haven't used this device yet, but maybe someone that has can tell me if the DIO settings remain static when performing an I2C operation and also when switching between the I2C and SPI modes.

0 Kudos
Message 1 of 3
(3,183 Views)

Hi there,

 

The USB-8451 DIO can be programmed to be software timed (static) individually for every line. This means that the DIO will be software timed regardless of wether you are using I2C or SPI since these two have their own dedicated physical lines as indicated in the USB-8451 User Guide and Specifications.

Regards,
Efrain G.
National Instruments
Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.
0 Kudos
Message 2 of 3
(3,171 Views)

It sounds like you're saying the DIO is independent of I2C and SPI, which is what I would expect.  I had also thought about using the SPI CS lines as GPIO outputs, but I couldn't be sure that they would remain static as I transitioned to I2C. 

0 Kudos
Message 3 of 3
(3,166 Views)