Hi all,
I'm using an ADS1247 with an MSP432. I'm very close to finishing up this section of my code, however I cannot get any output code from the device; output is always 0.
These are the settings I'm using for my registers. I am able to write all of these registers, and read them back. IDAC0 picks up the ID bit, so I know these are good values.
Second, I'm able to observe from the hardware, that the two 1mA current sources are working, since I have 1.64V across my REF0, and around 110mV across the RTD.
The RTD I'm using is 100 Ohms, ~110 at room temperature. I'm also getting 2.048V across Vref.
My process for config is:
- Set START Pin High
- Send SDATAC
- Wait for DRDY
- Write first 15 registers
- Wait 500us
- Send SDATAC
- Wait for DRDY
- Read back first 15 registers
However I'm having issues when I try to read the data.
- Verify that RST and START are still high (via printout)
- Send SDATAC
- Wait for DRDY
- Assert CS Low
- Send RDATA
- Send xFF, receive first byte
- Send xFF, receive second byte
- Send xFF, receive third byte
- Asset CS high
However all bytes that I receive are zeros. The all zero values are the same regardless of whether or not the RTD is plugged into the board or not.
I've also attempted to get data by pulsing the START pin and then using the SDATAC/RDATA method to read the bits in. The results are the same. I've also tried waiting a full second after SDATAC rather than waiting for DRDY.
Any advice? I'm pretty confident that it's a firmware issue, since the voltages on the pins are exactly what I'd expect them to be for this set-up. However, due to space constraints I don't have easy probing points for the data signals.