2020-03-15 11:46 PM
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.
Solved! Go to Solution.
2020-06-03 12:01 AM
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.
The corresponding timing diagram can be found on page 7:
Good luck!
/Peter
2020-06-03 12:01 AM
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.
The corresponding timing diagram can be found on page 7:
Good luck!
/Peter
2023-11-27 11:40 PM - edited 2023-11-27 11:43 PM
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.