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.

ADS131M02: I could not read correctly a/d data.

Part Number: ADS131M02

Tool/software:

Hello ,

I use to ADS131M02. When WLENGTH default 24bit ,I can read correctly data ad0,ad1. 

But I want to change Gain, WLENGTH 24bit -> 16bit,Write 16bit WLENGTH, It's a correctly change.

But I could not read ad data correctly.

then ,I change a WLENGTH data, but It is not change. then,

 1.It seems that the ad data cannot be read if WLENGTH is 16 bits, but is it possible to read the 24-bit ad value while leaving WLENGTH at 16 bits?

2.What should I do if I want to change the 16-bit register and read the 24-bit AD?

Sincerely,

hiro

  • Hi ,

    The data word length (WENGTH[1:0] in the MODE register) is used for ADC conversion data and also register operation. You can keep your configuration of 24-bit data word length when you read or write internal registers, the command or register data is 16-bit, but you can fill the rest of 8-bit with 0 so you will be able to send total 24-bit data to the ADC. Please see the following timing examples.

    RREG command to read the GAIN register (0x4 address):

    WREG command to write CLOCK register(0x03) + register data:

    Let me know if you still have a trouble.

    BR,

    Dale

  • Hi,Dale

    I will try it, thank you advice,

    Sincerely,

    hiro

  • Hi,Dale

    I try your advice things. then, I can read & write 16bit register  with 24bit bass band .

    Thank you your correctly advice every time.

    Sincerely,

    hiro