Skip to main content
kshin.1
Visitor II
March 16, 2020
Solved

ADC120 Channel Selection

  • March 16, 2020
  • 2 replies
  • 1644 views

I am using ADC chip ADC120.

Data is output, but the channel is not changed, so only IN0 data is output.

The SCLK goes low and data is entered in DIN.

SCLK goes low and DOUT is read.

I am not sure how to change the channel.

Please help.

Thanks.​

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    The ADC120 uses SPI for communication.

    Please have a look at the datasheet, where you will find the control register on pg. 2, which selects the input channel.0693W000001puUwQAI.png

    The corresponding timing diagram can be found on page 7:

    0693W000001puVGQAY.png

    Good luck!

    /Peter

    2 replies

    Peter BENSCH
    Peter BENSCHBest answer
    Technical Moderator
    June 3, 2020

    The ADC120 uses SPI for communication.

    Please have a look at the datasheet, where you will find the control register on pg. 2, which selects the input channel.0693W000001puUwQAI.png

    The corresponding timing diagram can be found on page 7:

    0693W000001puVGQAY.png

    Good luck!

    /Peter

    aksoy_otomasyon
    Associate II
    November 28, 2023

    Hello kshin.1,

     I use ADC120 same with you, but same problem. Did you solve the problem. I change channel but its gives only first ch. May be share basic example code.
    Thank you.