Skip navigation
Log in to follow, share, and participate in this community.

Recent Activity

Arpan Patel
Hi, I have configured accelerometer's registers as follows. So, from the activity threshold value how I know that at which raw value of X, Y, and Z axis it will be interrupted on a specific pin? /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// response… (Show more)
in MEMS and Sensors Forum
Rocne Scribner
Hi everyone,   I'm working with a LIS3DH accel and having trouble reading registers. I'm able to successfully read the value from any single register, but all subsequent reads return the same value. I.e. if I read WHO_AM_I register, and then read CTRL_REG1, both read commands return the value from the WHO_AM_I register.   Has anyone encountered… (Show more)
in MEMS and Sensors Forum
niccolò ruffini
hi everyone, i'm trying to debug my program on the iNEMO M1 but when i press the reset button to start the program the iNEMO is disconnected from the debugger and i can't talk to it anymore, so i can't see where the problem is.   hardware situation: i'm using the iNEMO M1 mounted on a home-made board, programmed by the STlink of a nucleo… (Show more)
in MEMS and Sensors Forum
vasilenko.sergey
In the datasheet say that this pin must be work(indicate moment of magnetometer new data avalaible ) automatically(without need of configuration), but it doesn't work. Why? In the http://www.st.com/resource/en/datasheet/iis2mdc.pdf said that M_XYZ_DA status bit must be connected with DRDY_M output pin(page 32, CFG_REG_C (62h) 0 bit). Does not… (Show more)
in MEMS and Sensors Forum
Arpan Patel
Hello Miroslav, I have done following configuration for IIS2DH acceleromenter. /////////////////////////// Sample Code //////////////////////////////////////////////////// response=LIS3DH_GetWHO_AM_I(&who_am_i); if(who_am_i==IC_READ_SUCCESS){ print("Who AM I %x\r\n",who_am_i); unsigned char response,status; AxesRaw_t data; response =… (Show more)
in MEMS and Sensors Forum
Jason Hendrix
I believe I've configured my system (LSM6DSMTR connected to Nordic nRF52382 via I2C) to interrupt on INT2 when the FIFO threshold is reached.  What is happening, is that I get an interrupt when data first appears in the FIFO (status shows 3 samples), then after a while, I get the FTH interrupt with the status showing the FTH number of samples.  I… (Show more)
in MEMS and Sensors Forum
stefan schoenbauer
I have configured the Wake-Up interrupt (with highpass filter) as described in the application note:   1. Write 60h to CTRL1_XL // Turn on the accelerometer // ODR_XL = 416 Hz, FS_XL = 2 g 2.Write 90h to TAP_CFG // Enable interrupts and apply high-pass digital filter; latched mode disabled 3.Write 00h to WAKE_UP_DUR  // No duration 4.Write 02h… (Show more)
in MEMS and Sensors Forum
stefan schoenbauer
I want to access the LSM6DSL via SPI. And I ´m always recieving 0x40, when I read the WHO AM I register. I expect 0x6A. I am sending 0x8F to read the WHO AM I register.. Any Idea why I am not recieving the right value?
in MEMS and Sensors Forum
minnelli.mike.001
   Here is their initialization code:       i2c_LIS2MDL_Read_8Bit(LIS2MDL_WHO_AM_I, &b);         i2c_LIS2MDL_Write_8Bit(LIS2MDL_OFFSET_X_REG_L,0x00);     i2c_LIS2MDL_Write_8Bit(LIS2MDL_OFFSET_X_REG_H,0x00);     i2c_LIS2MDL_Write_8Bit(LIS2MDL_OFFSET_Y_REG_L,0x00);     i2c_LIS2MDL_Write_8Bit(LIS2MDL_OFFSET_Y_REG_H,0x00);    … (Show more)
in MEMS and Sensors Forum
jerry pang
when i use lis3dsh , i test the power waste is 1.7mA, is more big than the discription in datasheet.  the way i use it: the circuit board use STM32F4discovery , i init the gpio ,and then measure the Electric current. when i measure the Electric current i haven't init the reg of lis3dsh .   question:1)How much is the lis3dsh current 2)How to… (Show more)
in MEMS and Sensors Forum
Load more items