Post Go back to editing

adxl314读出来的加速度数据格式是什么

Thread Summary

The user inquired about which 3 bits are discarded when the OUTPUT RESOLUTION is 13 bits and each axis output is 2 bytes. The final answer clarifies that no bits are discarded; instead, 3 bits are unused. For left alignment (Justify Bit = 1), the unused bits are D2, D1, and D0 in DATAx0. For right alignment (Justify Bit = 0), the unused bits are D7, D6, and D5 in DATAx0.
AI Generated Content
Category: Hardware
Product Number: adxl314

数据表中 OUTPUT RESOLUTION 是13位的,每个轴输出是2个字节,这样会有3位抛弃,请问是哪三位。The OUTPUT RESOLUTION in the data table is 13 bits, and each axis output is 2 bytes. This will result in 3 bits being discarded. Which three bits are it

  • 没有任何位被抛弃,13位的有效数据用2字节(16位)来存储,只会多出3个无效位,而不是少了。参考手册20页,如果0x31寄存器的Justify Bit = 1,则为左对齐,数据为DATAx1[7:0]+DATAx0[7:3],DATAx0的D3为LSB,D2、D1、D0无意义;如果0x31寄存器的Justify Bit = 0,则为右对齐,数据为DATAx1[7:0]+DATAx0[4:0],DATAx0的D0为LSB,D7、D6、D5无意义。