...
These values match the reset values for all the registers, except for bit 7 of CONFIG0, which is a 0, but should be a 1. This is a reserved, read-only bit, so I don’t know if it affects the operation of the ADC. After reading some online support forums on TI’s website, it seems that other people are also reading a value of 0x25 in CONFIG0. Since reading from registers seems to work, I wrote 0b10100000 to CONFIG0, which should turn off the internal reference and the SPI timeout. Here’s the result of reading from CONFIG0 after writing to it:
[0] projects/smoke_spi/src/main.c:53: Byte 0 of response: 20
...