The LIS3DH accelerometer has two status registers - STATUS_REG and STATUS_REG_AUX.
Based on my reading of the app note and datasheet on the LIS3DH, the only difference between the two registers is that one refers to axes 123 and the other refers to axes xyz, which surely is nothing other than a difference in nomenclature.
Can anyone explain to me what is the difference between STATUS_REG and STATUS_REG_AUX in LIS3DH?
I couldn’t see any difference off the datasheet but there’s some comments on the code i found:
STATUS_REG_AUX covered in the appnote:
STATUS_REG_AUX relates to the auxiliary ADC. For some strange reason, ST sometimes refers to ADC1, ADC2, ADC3 as 1-axis, 2-axis, and 3-axis. Probably because ST expects these ADCs to be connected to an analog accelerometer or gyro with those axes.
I originally suspected these might be different names for the same thing, but found both
CTRL_REG3, so they must be unique.
The app note has some more info about this register, but you won’t find it by searching for
STATUS_REG_AUX because it’s annoyingly referred to as
STATUS_AUX in the app note.
The conversion status is reported in the STATUS_AUX (07h) register; when auxiliary ADC data are ready, the 321DA bit of the STATUS_AUX register is set to 1.
Also, in case anyone from ST finds this post, here are some other suggested improvements for the datasheet (DocID17530 Rev 2)
- 8.24 INT1_DURATION (33h): “… duration of the Interrupt 2 event …”. Should be “Interrupt 1”.
ODR acronym is used all over the datasheet, but it is never defined as “Output Data Rate”. Maybe this is obvious for most users, but it took me some additional digging.