2023-04-29 10:37 AM
Trying to interface with the LSM303AH eCOM.
Solved! Go to Solution.
2023-05-03 02:04 AM
Hello @JBonn ,
For I2C communication with LSM303AH ,you need to configure your I2C using STM32CubeMX then you can generate the code and manage your communication using HAL library .
I recommend you follow this wiki for more details about the MX configuration : Getting started with I2C - stm32mcu
Hope my answer helped you!
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-03 02:04 AM
Hello @JBonn ,
For I2C communication with LSM303AH ,you need to configure your I2C using STM32CubeMX then you can generate the code and manage your communication using HAL library .
I recommend you follow this wiki for more details about the MX configuration : Getting started with I2C - stm32mcu
Hope my answer helped you!
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-03 08:48 AM
2023-05-04 01:59 AM
If this solves your problem, please mark my answer as "Best Answer" by clicking on the "Select as Best" button, this can be helpful for Community users to find this solution faster.
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.