Post Go back to editing

ADIS16480 Data Inconsistencies

Hi,

We’re using SPI to communicate with an ADIS16480. I'm noticing inconsistencies in some of the values reported by the device:

(1) When reading the yaw Euler angle register (0x6e), the angle changes from the max positive value (180*(2^15-1)/2^15) to 0. At this point, the angle increases at twice the expected rate so that it reaches its max value after 90 degrees of rotation. Next, the reported angle flips to -180 and again increases to 0 after another 90 degrees of rotation.

To summarize, the reported angle appears to be correct from 0 to 180 degrees; however, it does not flip to -180 at the correct point, and it increases at 2x the rate that it should in the negative angle region.

To eliminate magnetic interference as a possible cause, I disabled the magnetometer in the EKF config register.


(2) More generally, it seems that negative values read from all other registers are twice as large as they should be. For example, I enabled body frame measurements (EKF config) and measured the gravity vector along the +Z axis to be 1.0 g. I then flipped the unit over, and observed a value of -2.0 g. I repeated this procedure along the X and Y axes and received the same result.

The problem also occurs when measuring the pitch angle. If I pitch the unit up +90 degrees, the reported value is correct. If I pitch -90 degrees, the reported angle is -180 degrees, which is impossible.

I've also observed the problem when writing negative values to the hard/soft iron calibration registers. When I perform a confirmation read of these registers, I observe that the negative values are all doubled. The positive values are correct.

I've confirmed that these data inconsistencies appear in the raw data read via SPI (it's not due to a conversion factor). I would greatly appreciate assistance troubleshooting these issues.

Many thanks,

-Zach

Parents
  • Many thanks to for allowing us to share this information.

     

    A secondary review enabled to determine that the SPI communications were being corrupted by another device, which was sharing the SPI bus with the ADIS16480. After removing this secondary device from the SPI, normal operation (correct data in both positive and negative directions) was restored. In addition, ZachK found that placing a 1.8kohm pull-up resistor on DOUT and 1.8kohm pull-down resistor on the SCLK line enabled them to place the secondary SPI device back in the circuit. ZachK noted that the ADIS16480 DOUT stage seemed to be "sensitive" to other loads, while we noted that these resistors could have damping ringing or helped reduce other noise as well.

     

    Just a reminder for all who review, SPI is a single-ended serial communications standard that relies on correct coding, bit length, bit order, timing and decent signal integrity.  When adding lines to the SPI of the ADIS16480, or other products like it, make sure to give consideration to the impact that the trace routing might have on signal integrity.

     

    Thanks again, !  We appreciate your business and for sharing your insights with us!

     

    Very best regards,

    NevadaMark

Reply
  • Many thanks to for allowing us to share this information.

     

    A secondary review enabled to determine that the SPI communications were being corrupted by another device, which was sharing the SPI bus with the ADIS16480. After removing this secondary device from the SPI, normal operation (correct data in both positive and negative directions) was restored. In addition, ZachK found that placing a 1.8kohm pull-up resistor on DOUT and 1.8kohm pull-down resistor on the SCLK line enabled them to place the secondary SPI device back in the circuit. ZachK noted that the ADIS16480 DOUT stage seemed to be "sensitive" to other loads, while we noted that these resistors could have damping ringing or helped reduce other noise as well.

     

    Just a reminder for all who review, SPI is a single-ended serial communications standard that relies on correct coding, bit length, bit order, timing and decent signal integrity.  When adding lines to the SPI of the ADIS16480, or other products like it, make sure to give consideration to the impact that the trace routing might have on signal integrity.

     

    Thanks again, !  We appreciate your business and for sharing your insights with us!

     

    Very best regards,

    NevadaMark

Children
No Data