2017-11-09 01:50 PM - edited 2023-11-20 09:38 AM
The LIS2DE12 contains a 10-bit, 32-level FIFO''. Why?
I am assuming it is 8bit, but then why do I need to read two bytes (for example, to get X-axis value from
OUT_X_H [29h]
) ? Isn't it supposed to be 1 byte for a single axis, 3 bytes for a single FIFO and 96 bytes for whole FIFO as opposed to 2bytes, 6bytes and 192 bytes?Solved! Go to Solution.
2017-11-10 01:52 AM
The LIS2DE12 reused a FIFO block from other device, that is why the FIFO store 10 bits, even if the accelerometer provides only 8bits.
When reading data from FIFO, it is possible to do three single byte read operations (OUT_X_H,
OUT_Y_H, OUT_Z_H) but it is faster to perform one 6 bytes read operation and discard the unused bytes.
2017-11-10 01:52 AM
The LIS2DE12 reused a FIFO block from other device, that is why the FIFO store 10 bits, even if the accelerometer provides only 8bits.
When reading data from FIFO, it is possible to do three single byte read operations (OUT_X_H,
OUT_Y_H, OUT_Z_H) but it is faster to perform one 6 bytes read operation and discard the unused bytes.
2017-11-10 09:31 AM
Thanks, Miroslav.