1
\$\begingroup\$

I'm using the AD7192 ADC for a measurement unit. On startup I do all the configuration and then set the ADC into continuous read mode by writing b'01011100 to the command register. Now I need to set one of the ADC's GPO during operation what doesn't work. It seems to me like already the write operation to the command register fails - I'm sending b'00101000. According to the datasheet(page 31) I've to send this command while the nRDY/DOUT is low, but what I don't understand is, when the nRDY/DOUT is low and I start to clock, the ADC will send the current conversion so the nRDY/DOUT starts alternating. Did I miss something?

asked Jun 8, 2018 at 12:19
\$\endgroup\$

1 Answer 1

4
\$\begingroup\$

Seems like the transition cannot be done in one step. One has to explicitely deactivate the continuous read mode first by writing b01011000 to the command register and then in a second run perform the write operation to the GPO register.

answered Jun 8, 2018 at 13:04
\$\endgroup\$
3
  • \$\begingroup\$ That sounds annoying to have to do that. \$\endgroup\$ Commented Jun 8, 2018 at 13:24
  • \$\begingroup\$ Think the issue is that if the R/W bit of the first write action to the command register is not '1' (so read) it simply ignores the command. \$\endgroup\$ Commented Jun 8, 2018 at 13:27
  • \$\begingroup\$ I guess so but nice find +1 \$\endgroup\$ Commented Jun 8, 2018 at 13:29

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.