Hi,
I am currently working on a STM32 library for the ADS7142. Communication and programming works fine, but polling conversion data doesn't work yet.
I can set the start conversion bit and verify it using the conversion status register, but the ADC only returns a constant (non-zero) value when polled (before verifying the status, afterwards it only returns zeroes).
I would expect the data to change when a voltage is applied or for the least significant bits to at least fluctuate, but neither is the case.
What could be the problem?
- Does a normal I2C read command with 4 cycles not suffice to read out one full conversion?
- Do I need to wait for a certain time before starting the read command?
- Do I need to provide continuous clock cycles and pick out the right data from there?
Please be aware that my organization has worked with STM32 for a long time, we are not looking to swap to a TI controller.
Thanks,
Lukas