Hi Chris,
I figured it out, the ADS is working now:) The problem was that I am using an evalution board that also includes a temp sensor as another slave on the spi bus and I forgot to set the CS for this slave to high... so my bad.
So Thanks your sample has been very helpful!!!
Anyway some things are not a 100% clear to me. So when I write the MUX register with the following commands 0x51, 0x00, 0x28, which analog input is selected and why do I need to select an AINp and AINn? Maybe thats a stupid question but I still dont get this even after reading the datasheet several times.
And another thing. When I read the data the DRDY went high (red circle), is this ok or not? Cause I expected the DRDY to be low while the CS is low.
Time during 0x01 and 0x00 is 20µs.
Thanks in advance!!!
Thomas