You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've only just received an ADS1263 and was using this library to test it.
I'm posting this now for anyone who comes across this problem. I don't have time to do more with it at the moment.
readADC2() gives back incorrect data. It appears to be written differently to readADC1() even though the chip sends 32 bits for ADC2, including padding.
I copied the ADC_BYTES structure and the "ADC_BYTES.bit.DATA1 = buff[j];" etc. code from readADC1() to readADC2() and it now works, giving 32 bits with padding. I then shift the padding out to get 24 bits.
Anyway, this gives the correct ADC2 value.
The text was updated successfully, but these errors were encountered:
I've only just received an ADS1263 and was using this library to test it.
I'm posting this now for anyone who comes across this problem. I don't have time to do more with it at the moment.
readADC2() gives back incorrect data. It appears to be written differently to readADC1() even though the chip sends 32 bits for ADC2, including padding.
I copied the ADC_BYTES structure and the "ADC_BYTES.bit.DATA1 = buff[j];" etc. code from readADC1() to readADC2() and it now works, giving 32 bits with padding. I then shift the padding out to get 24 bits.
Anyway, this gives the correct ADC2 value.
The text was updated successfully, but these errors were encountered: