ADS131M08: WREG command

Part Number: ADS131M08

Tool/software:

Hi Team,

I am facing some difficulties trying to write to the CLOCK register of the ADS131M08 ADC. My goal is to change the XTAL_DIS bit (I am using an external crystal).

The image below shows the frame that I am sending to the ADC: 0x618000 (WREG), immediately followed by the register data (0x24E) and 0x00 to meet the word size requirement. However, when reading the register back, its value remains at the default.

Could you please help me resolve this issue?

  • Hi Lucas,

    Can you upload a timing like the following timing including /CS,SCLK,SDI and SDO? It would be good to include the /DRDY signal as well if it is possible. This timing is used to write Gain register (04h address) with 0x0E0E register data. 

    To be clear, are you planning to set the XTAL_DIS bit in the CLOCK register to '1'? the default value on this bit is '0'. The CLOCK register is defined as Crystal Oscillator Enable, active low. So 0=Oscillator Enabled, 1=Oscillator Disabled.

    BR,

    Dale

  • Hi Dale,

    Thank you for your reply!

    Unfortunately, my oscilloscope has only 2 channels, and I can only measure SDI, SDO, and SCK.

    The reason I am setting the XTAL_DIS bit is that I am using an external crystal. The datasheet is a bit confusing because the description for this bit is "Crystal oscillator disable", and by default, it is set to '0' (Enable).

    The problem I am facing is that I am not getting any measurements from the channels. I hope this is related to the oscillator, which I believe operates with a clock signal provided by the MCU by default.

  • Hi Lucas,

    If you use an external clock signal provided by the MCU, you are not using an external crystal, so the XTAL_DIS bit in the CLOCK register should be set to '1' to disable the crystal oscillator.

    Which channel did you use and you did not get any measurements? When you write 0x24E to the CLOCK register on this ADC, you only enable channel 1 but disable the rest of all channels.

    BR,

    Dale

  • Hi Dave,

    I tried performing measurements with the default value of the clock register, but I only received the first word (status). All the channels returned null. I issued a total of 9 words (24 bits each) on the SCK line, but I only got the status.

  • Hi Lucas,

    Can you answer my question first?

    Dale

  • Hi Dave,

    I am using a Crystal oscillator.