LIS2DE12 Accelerometer data bytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-09 1:50 PM - edited ‎2023-11-20 9: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.
- Labels:
-
Accelerometers
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-10 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-10 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-10 9:31 AM
Thanks, Miroslav.
