ADS131B04-Q1: Data Flow

Part Number: ADS131B04-Q1


Hello E2E Experts,

I've been reading through the datasheet for this part as well as looking at the example code  here and I'm a little confused about how it handles the transmission of the ADC conversion data after the host has sent a command.

For instance, Figure 8-21 shows that channel data is sent back and then the RREG response afterwards. 

image (6).png

However in the example code, the functions to execute commands don't seem to do anything to account for conversion data coming back before the command's response.

Will the sampled data come back before the command's response? 

  • Hi TI-CSC,

    can you ask Westin to watch this thread and comment on it? That might be the easiest.

    The ADS131B04-Q1 does actually output conversion data of all four channels in EVERY frame, no matter what command was sent previously. The only exception is the multi-register read command. In that case register data are output in the following frame instead of conversion data.

    That means if you always send a full SPI frame with 6 words, then you will receive the Response word, 4 Channel Data words, and the Output-CRC word on DOUT in every frame.
    The example code might not make full use of this functionality and might potentially also "short-cycle" the frame. I haven't studied the example code in all detail.

    Regards,
    Joachim Wuerker