You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may be misleading, but read_register() is an SPI communication. It send an address to read, but we can get actual value in the next read. So the first read_register() return meaningless value, and actual gyro_low[0] is received the next read_register(0x06, gyro_low[0]); call. That's also why the last read_register(0x00, temp_out); returns TEMP_OUT value (0x00 is a kind of NOP command).
adi_driver/src/adis16470.cpp
Lines 340 to 341 in d420899
Why is gyro_low referenced twice?
Looking in the User register memory map in 16470 datasheet
It looks like this:
The text was updated successfully, but these errors were encountered: