2025-03-13 1:23 AM
I am trying to interface LSM6DSOWTR with stm32 using I2c interface. This is the schematic i have made for this module
While connecting SD0/SA0 is connected to GND, I have tried to run the I2C scanner and found that it its address is 0x6A but in the main code i am unable to get the accelerometer and gyroscope value from its address.
In the attachment, i have attached main.c, and the library created for it.
2025-03-13 2:50 AM
Hi @Shubham08 ,
Can you try to implement our official PID examples and let me know if you solve the issue?
Thanks!
2025-03-13 4:32 AM
I got the libraries and function but how to use the function in main.c as in the main.c i am reading the address of device but unable to read accelerometer and gyroscope value and i have read the function but confused of calling and using the function in main.c
Can you provide me some sample code for main.c