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.

CCS/LDC1614EVM: LDC1614EVM

Part Number: LDC1614EVM
Other Parts Discussed in Thread: LDC1614

Tool/software: Code Composer Studio

Hello TI 

I am new in this field. As i have been working for a lot of days to read data from LDC1614EVM using MSP430 MCU by I2C protocol communication.

Actually now i am able to configure my LDC1614 EVM according to the example found in the datasheet. but my problem is while reading back some registers as the Status Register i always found that DRDY bit is always cleared and due to this condition i am not able to get data from my EVM. I have attached my initialization steps so that you can help me if there is a problem through this.

So please can you help me to find an answer for my question.

Thanks in advance.

Best Regards,
Sherif Ismail

  • Hello Sherif,

    Can you clarify your issue? Does the DRDY bit in the STATUS register never set? Or does it clear when you read the STATUS register (which is expected behavior) and then you can't read data from the DATAx registers? 

    Best Regards,

  • Hello 

    Kristin Jones

     Yes i the DRDY bit in Status registered is never set while i read the Status register also i am able to read data from DATAx Register so is it fine or DRDY should be setted before reading the Datax Register 

    Thanks in advance 

    Regards 

    Sherif Ismai;

  • Hello 

    Kristin Jones


    Hope this message finds you will i am wondering why would the Status register values is not changing i can only find that 
    UNREADCONV0 bit and UNREADCONV1 are only the setted bits while DRDY is not even changing it is always cleared so how can i solve this problem as well as which bit should be setted before the other is it THE UNREADCONV0 bit or the DRDY 

    i also wonder why UNREADCONV1 is setted while i am operating on a single channel configuration.

    Thanks in advance 

    Regards

    Sherif Ismail 

  • Hello Sherif,

    In order for the DRDY bit to update in the STATUS register, you need to have the DRDY_2INT bit set to 1 in the ERROR_CONFIG register. Is this set?

    Can you read back your register setting for MUX_CONFIG? You should have the AUTOSCAN_EN bit set to 0 and then select the active channel in the ACTIVE_CHAN field in the CONFIG register. It sounds like you have continuous conversion mode disabled, which defaults to measuring both channel 0 and channel 1.

    Best Regards,

  • Hello,

    I haven't heard from you in a while, so I'm assuming you were able to resolve your issue. If this is not the case please feel free to reply to this thread or post a new question.

    Best Regards,