Converting data from FIFO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 12:18 AM
Hello,
section "4.5.1 Example of output data" of the LIS2DUX12 device application note (AN5909) provides an example of calculating the acceleration value from the FIFO.
In the example 14 useful bytes from the FIFO are multiplied by the sensitivity in "mg/LSB":
I think "LSB" in the sensitivity refers to the sixteenth bit of the FIFO word.
Why aren't the raw values from the FIFO shifted right by two bytes (or divided by 4) before multiplication?
- Labels:
-
Accelerometers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 3:52 AM
@zmogas wrote:shifted right by two bytes (or divided by 4)
You mean 2 bits - not 2 bytes ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 8:37 AM
@Andrew Neil wrote:
@zmogas wrote:shifted right by two bytes (or divided by 4)
You mean 2 bits - not 2 bytes ?
Yes, two bits.
