cancel
Showing results for 
Search instead for 
Did you mean: 

I need a CubeMX example for an L4 chip I2C interface to an LSM303AH

JBonn
Associate III

Are there any CubeMX examples? There are good Repositories for the CubeIDE but can find nothing for the CubeMX

2 REPLIES 2
Imen.D
ST Employee

Hello @JBonn​ ,

There is no ready for use CubeMx examples or .ioc files for STM32L4 series.

I advise you to develop your own project using the tool and based on similar ready example with different toolchains (EWARM, MDK-ARM, SW4STM32) :

\Repository\STM32Cube_FW_L4_V1.17.0\Projects\STM32L476G-EVAL\Examples\I2C\

You can also use STM32CubeIDE, for that you should import SW4STM32 projects to STM32CubeIDE following this guide UM2579.

When your question is answered, please close this topic by choosing Select as Best.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
MarieMaurer
Associate III

Perhaps this repo is helpful:

https://github.com/STMicroelectronics/STMems_Standard_C_drivers

It has a subdir with driver and example code for LSM303AH.