-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels