LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 8451-Sensor connection

Hi

 

In one of our application I have to read the internal register values of the sensors. I am using NI 8451 card.

 

Pin Details of the sensors are-

  1. SDIO – Serial Port Data Input & Output
  2. XY_LED – Led Control
  3. NRESET – Reset Pin (active low input)
  4. NCS – Chip select (active low input)
  5. VDD5 – Supply voltage
  6. GND – Ground
  7. REG0- Regulator Output
  8. SCLK – Serial Clock Input

 

 

 

My question is NI 8451 is having separate pins for SDO & SDI But sensor is having one pin for SDIO. How to connect them  ,I have to read the register values & some registers are read/writable.??

Please reply as soon as possible, it is very urgent

 

Regards

R

0 Kudos
Message 1 of 5
(3,405 Views)

Maybe the SDIO name has confused the issue. On the 5020 SDIO just means Serial Data Input/Output. The communication protocol used on the 5020 is I2C. So you should be using pin 29 and 30 on the 8451 as the proper connections for I2C to read/write the 5020 registers.

Regards,

New LV User

 

0 Kudos
Message 2 of 5
(3,388 Views)

R,

I am wrong. The 5020 is indeed SPI. I am sorry.

New LV User

0 Kudos
Message 3 of 5
(3,386 Views)

Hi

Thanks for reply.

I am using SPI communication not I2C.And i have to interface 6 sensors (slave devices) with the NI USB 8451 device.

Regards

R

0 Kudos
Message 4 of 5
(3,373 Views)
SDIO stands for serial data input output.
0 Kudos
Message 5 of 5
(3,366 Views)