ADIS16365 interface with dsPIC

Hi everyone , it's the first time to me here.. i have a strange problem ..

i am working on ADIS16365 interface with dsPIC , I wrote a code to extract all these data :

1- Power supply measurement

2- x,y,z gyroscope output

3-  x,y,z accelerometer output

4 - x,y,z gyroscope temperature output

i read all these data correctly except accelerometer y output , it gave a strange output

i used the same methods and calculations with accelerometer x and z and there wasn't any problem , i didn't use burst mode to extract these data ,  i send a command every time

for example , i used  this part of code to read accelerometer x :

         SPI2_Write(0x0A00);                        // Send data via SPI

          delay_us(25);

          XGValue = SPI2_Read(buffer);              // Read the MSByte

          info[4] = (XGValue & 0b0011111111111111); //Strip off the ND and EA flags

so, any help ?

Parents
  • 0
    •  Analog Employees 
    on Aug 15, 2016 4:46 PM

    We will be glad to help.  What is strange about the data you are observing in the y-axis accelerometer data?  What are they other sensors reading?  What orientation is the device in while you are measuring this?  In other words, what should we expect if it were operating normally?  Thanks! We appreciate your post and look forward to your response. 

Reply
  • 0
    •  Analog Employees 
    on Aug 15, 2016 4:46 PM

    We will be glad to help.  What is strange about the data you are observing in the y-axis accelerometer data?  What are they other sensors reading?  What orientation is the device in while you are measuring this?  In other words, what should we expect if it were operating normally?  Thanks! We appreciate your post and look forward to your response. 

Children
No Data