Hi Daniel, Just a few general comments. First after powering the AVDD supply, and bringing the PDWN pin high, I would suggest that you pulse the PDWN pin again after the initial wait period to make sure the ADS1231 has properly reset and started. Second I would suggest that you wait longer than 15us between reads. You should monitor DOUT/DRDY for a transition from high to low on this pin. This signals that the ADS1231 has finished converting and new conversion results are ready to be read from the device. Depending on the SPEED pin setting, the ADS1231 will be converting at 100ms (10sps) or 12.5ms (80sps). So I doubt that new data are available when you start you initial read. So after you pulse the PDWN pin, wait in time for at least 4 conversions cycles to complete before attempting to read from the ADS1231 the first time. Also make sure the CLKIN pin is tied low, that there is a valid voltage reference supplied to the ADS1231 , and that the input is within the input range of the PGA. 0x800000 is negative full-scale. Best regards, Bob B
↧