2018-12-13 06:33 AM
Hi
I am a newbie to ST microcontrollers.
I want to connect a simple I2C slave device to my NUCLEO-L152RE board. I also used CUBEMX to configure the I2C and generated the code.
Does anyone know a simple step by step tutorial for the communication itself (video or note)?
2018-12-14 02:10 AM
Hi @YOEL BEN NAIM ,
Why don't you start with examples provided in STM32CubeL1 package? There are already ones that are dedicated to be used with STM32L152RE-Nucleo with one or 2 boards.
Please refer to projects under following folders:
-Amel
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.
2018-12-18 07:58 AM
Thank you Amel!
I will look into it.
Can you tell me what is the difference between the examples and the examples_LL?
2018-12-18 08:22 AM
The Low Level (LL) is a more simplistic abstraction closer to bare-metal/register level.
Don't have the L1 repository installed, but there are usually I2C drivers for assorted board, sensors and EEPROM type devices.