Post Go back to editing

求助!!!!ADIS16465 单独问询ID没有问题,连续问询加速度等寄存器,数值波动很大

Thread Summary

The user is experiencing inconsistent ID responses and significant offsets in acceleration data when communicating with an IMU sensor via SPI. The final answer suggests a timing issue in the software, recommending continuous ID register reads to ensure interface stability. Additional advice includes checking for bit-level errors in the acceleration data, verifying other sensor data, and inspecting communication waveforms with an oscilloscope.
AI Generated Content
Category: Software
Product Number: ADIS16465
Software Version: ADIS16465 通讯SPI数据问题

前提:

访问ID可以正常回复

发送0x7200

回复0x4051

检测逻辑:
采用外部中断方式判断 dr 决定是否可以发送,每次发送完都会清空 dr 标志位
发送逻辑:
每次访问加速度等数据之前会先确认 id 是否正确,再问询其他数据
目前的现象:
spi 的通讯访问固定地址,如 0x7200 访问 id ,imu 可以正常回复且数值正确,但如果添加访问加速度等信息,会出现 id 一次正确一次不正确的现象,id 正确时传感器加速度等数值回复会产生很大的偏移,且数据有时会出现正负的跳变。

我将打印结果通过串口打印出来就是这样的现象

注意:此数据为原始数据

劳烦大家帮忙分析一下原因,感谢感谢。