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.

ADS131M03: ADC Commands

Part Number: ADS131M03


Hi Team,

Good day! I am posting this in behalf of the customer. Kindly check the full details below.

I'm using the ADS131M03 in a design where I use an STM32 microcontroller to communicate with it via SPI.

When I try to change any configuration writing to the proper register or even just reading the ID register, I don't get the register value as answer in the next communication frame. Instead I get the regular communication frame with [STATUS REG][ADCCh0][ADCCh1][ADCCh2][CRC]. I'm even making sure to clear the ADC buffer with two NULL command readings before sending the command.

In the example below I'm trying to clear the reset flag and change the DRDY signal format to low pulse.

First I send 2 NULL blocks to make sure to clear the ADC Tx buffer.

Then I wait until DRDY is triggered again to send the command 6100h.

Once the command is sent, I wait until DRDY is triggered again and sent a NULL command to get the answer with the ack from the ADC, but it doesn't send the expected response from a RREG command. Instead it sends the regular STATUS register and the DRDY beahvior doesn't change, which means that I'm not getting to communicate with the ADC properly.

 I have tried with different commands and the behavior is the same, not the expected answer.

I also tried first to disable all channels to enable short SPI frames, but no success either.

Thank you in advance for the support.

Best regards,

Jonathan

  • Hi Jonathan,

    I will look into the details and get it back to you soon.

    Best regards,

    Dale

  • Hi Jonathan,

    To respond 0x6100 WREG command, 0x4100 data should be received in the following frame. However, 0x0507 STATUS register data is always received as shown in the customer's timing, the data is correct for the STATUS register with default configurations but this is not the right response to the WREG command according to the description in the datasheet. I assume the rest data of 0xFFFDF0,0X003225 and 0xFFEDE4 are correct conversion data for analog signals on three input channels, can you please check with the customer?

    As the customer said, they did not get register value even reading ID register. Reading ID register is a easy way to check, can you please share the timing of reading ID register? two frames are needed to check the response from the ADC.

    Also, can you please confirm the customer's SPI configuration (CPOL and CPHA)?

    Best regards,

    Dale