dear Developers, programmers,
I have a question referring to the ADS8885, and I am trying to understand the interface Diagram for two devices in daisy chain Mode with a busy indicator.
I am trying to understand the ADS8885 from the datasheet.
II am currently using a teensy3.2 with a 24MHz SPI bus to talk to it.
so to get the idea right i should drive DIN(MISO) and CONVST LOW/DOUT(MOSI) for conversion and have to wait for the completion of conversion.
then it is decribed that both adc in the chain loads its own conversion result into the internal 18 bit shift register.
the question is more how to wright it in code? I have whole set on SPI commands. I would greatly appreciate some guidance in these nice IC's.
SPI.begin()
SPI.usingInterrupt(interrupt)
SPI.beginTransaction(SPISettings(clockspeed, MSBFIRST, SPI_MODE0)), what do I set here ? and what Binary do I get to set here and where does it go into the ADS8885=?
digitalWrite(SSpin, level)
SPI.transfer(data)
SPI.endTransaction()
Best regards
Bastiaan