LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C problem between the NXT and a Maxim DAC

Hi everyone.

 

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

 

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

 

Here the doc :

 

MAX 127 documentation

 

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

 

Remi Cambuzat

0 Kudos
Message 1 of 3
(6,079 Views)

Hey Remi,

 

According to the Max127 DAC, to make sure the device is I²C compatible, you have to wire the SDA and SCL inputs to pull-up resistors. Did you do that ?

You should find some useful examples shipped with the NXT module (in LV : Help -> Find Examples -> Toolkits & Modules -> NXT).

 

As a last resort, you may need to upgrade to LV2010 because we have been experiencing some issue with I²C between LV 2009 and NXT 1.28.

 

Regards

 

 

Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.

0 Kudos
Message 2 of 3
(6,059 Views)

Thanks for the answer.

I got some pull-up resistor on SDA & SCL.

 

Here is the scheme :

 

 

I've instaled the NXT modules on Labview 2009 and it seems possible to use the I2C protocoles.

 

Do you think the easiest way is to upgrade to LV 2010 ?

 

Sincerly

0 Kudos
Message 3 of 3
(6,054 Views)