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.

LDC1614EVM: LDC1614 I2C connection with myrio

Part Number: LDC1614EVM
Other Parts Discussed in Thread: LDC1614, LDC1612

Dear TI,

I am trying to check LDC1614 data for I2C using myrio.

The board connection is shown in the figure below. (I used myrio instead of arduino)

Here is my labview block diagram:

When I play the code, nothing happens.

I think the slave address is wrong.

So how can I check the slave address?

And how can I connect labview and LDC1614 for I2C if slave address is not a problem?

Best,

Yeonha.

  • Hello Yeonha, 

    By connecting the ADDR pin to GND, you are setting the LDC1612's address to 0x2A. Is your I2C block just reading all registers? Also, if you probe the I2C lines, can you see the proper activity on them? 

    Best Regards, 

    Justin Beigel

  • Thank you for your reply.

    Now I can check the value of LDC1614. The problem was poor contact.

    However, since the signal is digital, the value is 255 or 0.  

       

    I want to convert this digital value to an analog value.

    When I use the 'digital to analog waveform' function, the waveform repeats in the same pattern, which doesn't seem to be the LDC1614 value.

    What function should I use to convert a digital signal to analog?

    Best,

    Yeonha

  • Thank you for your reply.

    Now I can check the value of LDC1614. The problem was poor contact.

    However, since the signal is digital, the value is 255 or 0.  

       

    I want to convert this digital value to an analog value.

    When I use the 'digital to analog waveform' function, the waveform repeats in the same pattern, which doesn't seem to be the LDC1614 value.

    What function should I use to convert a digital signal to analog?

    Best,

    Yeonha

  • Hello Yeonha, 

    I am not familiar with the output of your I2C block in labview, but it seems like you would be able to output the Bytes Read to an array so that you could track the I2C data without having to convert your waveform. This depends on how the I2C block outputs the bytes read though. 

    For the slave address input, is this the address of the device you are trying to read from or the register address inside the device? 

    Best Regards, 
    Justin Beigel