This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LMP91000: Reading the output of the sensor

Part Number: LMP91000

Hi 

I have asked questions in regards to the LMP91000, but i have recently changed my design and am working with LMP91000 with the sensor

http://www.ddscientific.com/uploads/5/7/1/3/57136893/gs_4no2_datasheet___.pdf

I am setting the LM91000 using the code shown below, am i correct in saying the VOUT would now simple output a voltage as N02 level changes or do i need to keep setting a register every time i need to read a new sample?

The following code, is executed at startup and then i am reading a VOLTAGE using my micro controller, but would like to know if i need to make any changes to this start up setup and do anything in particular when read a new sample?

 case STATE_SET_LMP:
			 {
				 i2c_start_wait(LMP9100_ADDR+ 0);
				 i2c_write(0x00);
				 i2c_start_wait(LMP9100_ADDR+ 1);//set read
				 status_lmp=i2c_readAck();
				 i2c_stop();				 
				 
				 	if (status_lmp==0x01)//Ready
				 	{
					 	//LOCK
					 	i2c_start_wait(LMP9100_ADDR+ 0);
					 	i2c_write(0x01);
					 	i2c_write(0x00);
					 	i2c_stop();						  												 
					 	
					 	//TIACN
					 	i2c_start_wait(LMP9100_ADDR+ 0);
					 	i2c_write(0x10);
					 	i2c_write(0x18);						 
					 	i2c_stop();					 				
					 	
					 	//MODECN		
					 	i2c_start_wait(LMP9100_ADDR+ 0);
					 	i2c_write(0x12);
					 	i2c_write(0x03);
					 	i2c_stop();
						 
		 				//REFCN
		 				i2c_start_wait(LMP9100_ADDR+ 0);
		 				i2c_write(0x11);
		 				i2c_write(0x80);
		 				i2c_stop();						 
						 
						timer_counter =0;							 							 
						State_app = STATE_WAIT_FOR_MASTER;							 
					 }			 				 				  
			 }break;

Thank YOu