Some questions relating specifically to p31 and Fig 15/16 of the DS.
[1]
p31 gives an example setup for setting up continuous conversion mode.
After [1. Write to Config register] and ADS1015's ACK, the Master keeps SCL high, transitioning SDA high to generate a "STOP" command.
The time needed to keep SCL high before the MASTER sends a START command again to begin [2. Write to Address Pointer register] is how long?
Is this tBUF from the DS? This is >600ns in "Fast Mode", or >160ns in "High-Speed Mode".
[2]
From [1] above, we have the config register set to our desired settings.
But now we need to change the Address Pointer register to the Conversion register.
This step is detailed in [2. Write to Address Pointer register]
This is just two bytes - the Slave Address, and Address Pointer - then the Master sends the STOP bit.
Now, we wait for ALERT/RDY pulse to tell us a conversion has completed.
[3]
Once we know a conversion is completed, we can go ahead with [3. Read Conversion register]
This is just the Slave Address, followed by R/W bit set to "Read", then ACK from ADS1015,
then the ADS1015 sends the data in the Conversion register via two bytes.
The Master sends "ACK" after each byte received, ending the transaction with "STOP"
Question1:
Let's say for continuous-conversion mode, ALERT/RDY was not used - and DR = 3300 SPS.
In this case, the Conversion time takes 1/DR = 303.1us.
We set the Master to initiate a Read every 305us. In such a case, there could be a time where the ADS1015 is outputting the data on SDA at the same time it finishes a conversion and tries to update the Conversion register? If so, what happens?
Question2:
In continuous conversion mode, the input is sampled, and the result sent to the Conversion register.
Even if the Master doesn't read a result, the Conversion register is constantly being updated - yes?
Question3:
Same setup as Question 2, is it possible for the Master to change the Address Pointer and Read or Write data to another register without affecting the conversion results? That seems the case, but just want confirmation.
Thanks!
Darren