LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use USB8451, LMP91000 and ADS1100 to write/read data through I2C interface

I am using USB8451 to connect with a gas sensor interface chip LMP91000((http://www.ti.com/lit/ds/symlink/lmp91000.pdf)).and I have searched in this forum a lot to see if any thread can help me with my issues, but I still feel complexed, I am again posting a new thread here to find help, thanks!

 

I made a EVA board by connecting LMP91000 to ADS1100 to convert the analog VOUT signal to digital, the datasheet of ADS1100 can be found in (http://www.ti.com/lit/ds/symlink/ads1100.pdf) . The SDA and SCL have pulled up to supply voltage 3.3V through 10K resistors. LMP91000(slave address is 1001000) and ADS1100 (slave address is 1001001) share the same SDA and SCL.

 

1. Now, for conveniece, I want to read the temperature sensor output voltage switched at VOUT pin. The related register to swich to this mode is MODECN register with its address is 0x12, and then write 0x6 to this register to turn TIA OFF(remaining Temperature sensor only), the next step is to read from ADS1100. This is where I have problems: The two device share the same SDA and SCL, so when I want to read the data from ADS1100, I have to swich to another slave address, right?

 

2. Another complicated question for me is the slave adress, can the software be able to know the direction to read or write? Any mistake I have made in the vi, please be kind to let me know.

 

Attached is my vi for reading from ADS1100, any help will be greatly appreciated, thanks!

 

BR. 

Ivy

 

0 Kudos
Message 1 of 1
(2,573 Views)