ADXL372 WITH SPI MODE

Hi all

     1. I am working on ADXL372 these days, I have successfully tested the adxl372 with I2C. However the values are very wired., such as when I read the reg 0x08 and 0x09 , then combined them in this way : x = buf[0] <<8 | buf[1] &0xF0. Then when I debug this MCU, I found the value sometimes would be over 4059,or lager than 4059 to 60000. This condition happened both on z-axis and y-axis. I don't know why pls help me . 

     2. Now I want to try adxl372 with spi  which communicate with Nvidia TX2. 

          2.1: First, I read the datasheet and only found 4-wire SPI Connection Diagram. In my project, there is only one spi dev connected to TX2 which is this adxl372, so can I use 3-wire connection instead of 4-wire? 

Best Wish

Lee

Parents
  • Thanks for the question. For your first question, I would suggest to check your I2C timing and signal integrity on a scope and please note that the output value is in 2's complement. For your second question, unfortunately 3-Wire SPI is not verified and characterized on this device. 

Reply
  • Thanks for the question. For your first question, I would suggest to check your I2C timing and signal integrity on a scope and please note that the output value is in 2's complement. For your second question, unfortunately 3-Wire SPI is not verified and characterized on this device. 

Children
No Data