From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-8452 SPI communication with texas instruments ADS1278

I'm looking for some help with setting up a Labview VI to use SPI communication between an NI-8452 and a texas instruments ADS1278 A/D converter evaluation board. From all of the sample VI's I have seen the LabVIEW routines vary widely for different models of Texas Instruments ADC's. My issue is how to deal with the DRDY pin on the ADC; it is an active low output from the ADC and signals when valid data is ready for retreival. 

 

There is a DRDY pin listed under the SPI stream configuration property node, but I am not sure how to set this up as it is a seperate pin from the standard SPI 4-wire communication (SCLK, MOSI, MISO, and CS). Also, this ADC does not use the chip select (CS) line. I would like to set the program up so that an interrupt is triggered when the DRDY pin pullls low and enters a standard SPI stream routine.

 

Any information on how to deal with this DRDY signal would be greatly appreciated.

 

http://www.ti.com/lit/ug/sbau197/sbau197.pdf

http://www.ti.com/lit/ds/sbas367f/sbas367f.pdf

 

Thanks,

 

Grant

0 Kudos
Message 1 of 2
(3,431 Views)

I highly recommend saving the NI-845x Hardware and Software Manual if you are looking in using SPI communication with the 8452, as it is extremely helpful. We can see on page 387 (Chapter 14, section 4), there are descriptions for the extra SPI pins. The DRDY pin is configured as an input using GPIO1, so P0.1 for the 8451 and DIO1 for the 8452.

 

Also, I would recommend posting any future SPI communication or NI-845x questions to the Automotive and Embedded Networks forum. This way you'll get exposure to other users that are more familar with what your looking into.

 

Hope this helps!

dK
0 Kudos
Message 2 of 2
(3,397 Views)