Page 1 of 1

I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 10:55
by kosenhitatchi
Hi everyone.



I'm using LabView 2009 service pack 1 an a NXT firmware 1.28 .



My goal is to command an ADC "MAX 127" from Maxim through a NXT. The DAC is connected to the NXT by the sensor plug port.



Here the doc :

http://datasheets.maxim-ic.com/en/ds/MAX127-MAX128B.pdf



I got some problems. I can not discuss with the DAC, with the NXT module "i2c communication".

I don't see any digital signal on the oscilloscope.



Could you help me to fix it.



Sincerly

Re: I2C problem between the NXT and a Maxim DAC

Posted: 22 Mar 2011, 11:03
by mightor
Did you add 82k Pull-up resistors to your circuit?

- Xander

Re: I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 11:21
by kosenhitatchi
Yes, I add two 82K Pull-up resistors to my circuit. One between SDA=>Vcc, the Other SCL => Vcc.

Re: I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 11:36
by mightor
You tested your circuit with NXC or something to that effect?

- Xander

Re: I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 11:57
by kosenhitatchi
I test my system with a NI-Elvis from National Instrument. A the begining I tried to visualise the Data transfer on the I2C Bus.

Re: I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 12:01
by mightor
I'm sorry but I am not familiar with LV, perhaps someone else can help you.

- Xander

Re: I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 12:18
by kosenhitatchi
I don't think that the problem come from the electric assembly.

Here it is :
Image

Re: I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 12:24
by mightor
Your circuit (the MAX127 part of it anyway) should look like in these posts:
If it doesn't then you need to go back to the drawing board.

- Xander

Re: I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 12:46
by philoo
According to your schematics, your problem is that ground connection between NXT and converter is missing!

Re: I2C problem between the NXT and a Maxim ADC

Posted: 22 Mar 2011, 15:17
by kosenhitatchi
Corrected