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.

ADS 1118, shift the Config register

Other Parts Discussed in Thread: ADS1118

Hello!

I am using ADS1118 with Config register:  h"44EB", on the DOUT pin I see the repetition of this Config register: 

After accumulating some cycles of conversion, I want ADS1118  to enter a lower power standby state. So I send the config register h"45EB" (with bit MODE set to '1') and also see it on the DOUT pin.

When I want again to begin the continuous conversion mode and accumulate conversion data, I programmed Config reg with h"44EB", but on the DOUT pin I see the shift of Config register, and also Data register is incorrect.

What do I do wrong?

Thank you.

  • Tatyana,

    Welcome to the forum!  The command appears to be correct and straightforward.  My concern is you seem to be sending continuous series of clocks.  It is possible that the transmission became corrupt at some point.  I would pause and reassert CS to make sure that the communication channel is not in a strange state.  Toggling CS will reset the SPI bus internal to the ADS1118.  At this point your command should work as expected.

    Best regards,
    Bob B