Post Go back to editing

How to communication with IMU sensor on EVAL-ADISIMU1-RPIZ using python3+raspberry pi4

hello.

The goal is to get the acceleration value from the IMU sensor.

ADIS16362 is connected to the Raspberry Pi4, attached  EVAL-ADISIMU1-RPIZ.

and the python code I ran is as follows.

import spidev,time

spi = spidev.SpiDev(0,1)
spi.open(0,0)
spi.mode = 3  
spi.max_speed_hz = 10000
spi.no_cs = True  
spi.bits_per_word = 8

while True:
    try:
        print("-----")

        XACCL_data = spi.xfer2([0,10,0,0]) #0x0A
        print(XACCL_data)
        YACCL_data = spi.xfer2([0,12,0,0]) #0x0C
        print(YACCL_data)
        ZACCL_data = spi.xfer2([0,14,0,0]) #0x0E
        print(ZACCL_data)
        time.sleep(1)  
    except:
        break
        spi.close()

The results repeat the responce.

-----
[254, 0, 33, 191]
[254, 0, 33, 191]
[254, 0, 33, 191]
-----
[254, 0, 33, 191]
[254, 0, 33, 191]
[254, 0, 33, 191]

Since there is no change in the value, we believe that we are not communicating well.

Are the last two elements in the list the sensor values?

Am I using the wrong SPI communication method?

any help is appreciated!