cancel
Showing results for 
Search instead for 
Did you mean: 

I am interfacing this lsm9ds1 MEMS sensor with the STM32F429zit6 nucleo board. LSM9DS1 IS NOT Responding I am using ST lsm9ds1 drivers on github using data polling code sensor is not responding, anyone tell me where the problem occures?

PRAMU.11
Associate II
 
12 REPLIES 12
Eleon BORLINI
ST Employee

Hi @PRAMU.1​ ,

are you using SPI or I2C interface for the communication?

And are you able to read the chip ID (0Fh register)?

It would be helpful if you could share also the scope of the digital pattern working on your application.

-Eleon

PRAMU.11
Associate II

im using i2c interface

PRAMU.11
Associate II

0693W00000BcYtPQAV.jpg

PRAMU.11
Associate II

continuesly looping never get out of the loop.

Eleon BORLINI
ST Employee

Hi @PRAMU.1​ ,

but are you able to receive a correct acknowledge signal from the I2C communication?

Can you share the scope digital pattern of the communication?

-Eleon

PRAMU.11
Associate II

how can i configure platform write and read in application code whre we are included that functions.

PRAMU.11
Associate II

im not mention platform write and read in main.c is this mention or not?

PRAMU.11
Associate II

/** Please note that is MANDATORY: return 0 -> no Error.**/

int32_t platform_write(void *handle, uint8_t Reg, uint8_t *Bufp, uint16_t len)

int32_t platform_read(void *handle, uint8_t Reg, uint8_t *Bufp, uint16_t len)

where can i write these functions

it returns always 0x00 only