AnsweredAssumed Answered

Gyroscopes data SCALE for ADIS16445

Question asked by Edward1980 on Feb 28, 2017
Latest reply on Feb 28, 2017 by Edward1980

Hello Guys,

 

I'm using ADIS16445 , gyroscopes in this IMU should sense and measure rotations up to ±250°/sec . this is my understanding of MEMS gyroscopes . ADIS16445 datasheet says : Triaxial digital gyroscope with digital range scaling
±62°/sec, ±125°/sec, ±250°/sec settings . if my understanding is wrong please explain it to me .

 

but , when I read XGYRO_OUT , YGYRO_OUT and ZGYRO_OUT data from this IMU and scale these to DPS format , I can see values more than ±250°/sec , for example ±300°/sec and ±330°/sec , but I expected to see values between -250 to +250 DPS .

 

this is my code to read and scale received 8bit values to 16bit and convert to DPS format :

 

        GPIO_ResetBits(GPIOA, GPIO_Pin_1); // CS low
        transfer(XGYRO_OUT);
        transfer(0x00);
        GPIO_SetBits(GPIOA, GPIO_Pin_1); // CS high
        Delay_us(_stall); // 9us Delay
        GPIO_ResetBits(GPIOA, GPIO_Pin_1); // CS low
        uint8_t _msbData = transfer(0x00);
        uint8_t _lsbData = transfer(0x00);
        GPIO_SetBits(GPIOA, GPIO_Pin_1); // CS high
        Delay_us(_stall);
        int16_t _dataOut = (_msbData << 8) | (_lsbData & 0xFF);
        float gx = _dataOut * 0.01; // 100 LSB/°/sec

 

Best Regards,

Edward .

Outcomes