Other Parts Discussed in Thread: ADS7961
Tool/software:
Hello, everyone.
I am trying to convert analog voltages to digital values using a circuit combining an ADS7961 Q1 and a Renesas RH850 microcomputer.
First, I am trying to check whether each channel is functioning in manual mode, but I noticed that the upper 4 bits (channel number) returned from the AD converter side are strange. As shown in the image below, when I send CH0, 0000 is returned, but when I send CH1, 0010 is returned, and when I send CH2, 0100 is returned.
After this,
CH3 0110
CH4 0000
CH5 0010
CH6 0100
CH7 0110
CH8 1000
CH9 1010
CH10 1100
CH11 1110
CH12 1000
CH13 1010
CH14 1100
CH15 1110
in the DOUT. The correct command is sent to DIN but wrong response DOUT.
I would appreciate it if any expert could explain why this behavior occurs.
regards.
PS: Oscilloscope capture from CH0 to CH2 is shown below.
yellow:SCLK, Light blue:CS, Deep blue:DIN Purple:DOUT