cancel
Showing results for 
Search instead for 
Did you mean: 

A3G4250D starting problems

karsten
Associate
Posted on November 22, 2013 at 14:19

Hi everybody,

I am trying my first steps with the A3G4250D MEMS Gyroscope. Unfortunately, I did not manage to get useful measurement information yet. 

What I want to do is the following:

  • sample the angular rate with a ODR of 100 Hz 
  • read out the data from the FIFO every 250 ms 
  • read out the temperature register to implement temperature correction later

This is how I set the configuration registers:

  • CTRL_REG1: 0x0F
  • CTRL_REG2: 0x00
  • CTRL_REG3: 0x00
  • CTRL_REG4: 0x00
  • CTRL_REG5: 0x40
  • FIFO_CTRL_REG: 0x39

I have the following questions:

  1. Is there any conversion formula provided for the data in the OUT_TEMP register? 
  2. Is my configuration correct to read out the measurements (ODR of 100 Hz) from the FIFO every 250 ms? I would expect the FIFO_SRC_REG to set the watermark bit after 250 ms, but the register remains at 0x20 which means the FIFO is empty.

Any hints or comments are very appreciated!

Regards, 

Karsten

#gyroscopes #a3g4250d
2 REPLIES 2
Thiago REIS
Associate II
Posted on February 05, 2014 at 14:07

Hello,

I have checked your setup and it seems to be correct for the application that you are developing.

But in order to understand in more details what is going on with the FIFO, I would like to know what is the setup of the following registers:

2Eh and 2Fh.

Thank you very much,

Thiago Reis

kantharaj
Associate
Posted on February 10, 2014 at 07:04

Hi,

Did you get to know the formula to convert the LSB counts from register OUT_TEMP into degC?

Regards,

Kantha